ozeigermann 2004/11/10 12:39:26
Modified: testsuite/testsuite/junit/xmltestcases/functional/osx
basicUpload.xml
Log:
Completed Mac OS X PUT test completed by Thomas Draier
Revision Changes Path
1.2 +93 -13
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/osx/basicUpload.xml
Index: basicUpload.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/osx/basicUpload.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- basicUpload.xml 9 Nov 2004 15:35:03 -0000 1.1
+++ basicUpload.xml 10 Nov 2004 20:39:26 -0000 1.2
@@ -8,7 +8,7 @@
</specification>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test.txt
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
<header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
<header>Accept: */*</header>
@@ -31,7 +31,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test.txt
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
<header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
<header>Accept: */*</header>
<body></body>
@@ -43,8 +43,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test.txt
HTTP/1.1</command>
-
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
<header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
<header>Accept: */*</header>
<header>Content-Type: text/xml</header>
@@ -65,7 +64,7 @@
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
-
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test.txt</D:href>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test19.txt</D:href>
<D:propstat>
<D:prop>
<D:getlastmodified>*</D:getlastmodified>
@@ -81,7 +80,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test.txt
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
<header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
<header>Accept: */*</header>
@@ -93,7 +92,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">LOCK
/%globalVariableServerName%/%globalVariableCollection%/test.txt
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">LOCK
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
<header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
<header>Accept: */*</header>
@@ -132,34 +131,115 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test.txt
HTTP/1.1</command>
-
+ <command
varUsage="globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
+ <header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
+ <header>Accept: */*</header>
+ </request>
+ <response>
+ <command>HTTP/1.1 200 Ok</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
+ <header varUsage="automaticVariable1"><![CDATA[If:
(<%automaticVariable1%>)]]></header>
<header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
<header>Accept: */*</header>
<header>Content-Type: text/xml; charset="utf-8"</header>
<body>Test</body>
</request>
<response>
- <command>HTTP/1.1 200 OK</command>
+ <command>HTTP/1.1 204 No Content</command>
</response>
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK
/%globalVariableServerName%/%globalVariableCollection%/test.txt
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
<header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
<header>Accept: */*</header>
+ <header>Content-Type: */*</header>
+ <header>Depth: 0</header>
+ <body><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+<D:prop>
+<D:getlastmodified/>
+</D:prop>
+</D:propfind>
+ ]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.1 207 Etat Multiple</command>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test19.txt</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:getlastmodified>*</D:getlastmodified>
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>
+]]></body>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
+ <header varUsage="automaticVariable1">Lock-Token:
%automaticVariable1%</header>
+ <header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
+ <header>Accept: */*</header>
<header>Content-Type: text/xml; charset="utf-8"</header>
<header>Depth: 0</header>
</request>
<response>
- <command>HTTP/1.1 200 OK</command>
+ <command>HTTP/1.1 204 No Content</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
+
+ <header>User-Agent: WebDAVFS/1.2.7 (01278000) Darwin/7.5.0 (Power
Macintosh)</header>
+ <header>Accept: */*</header>
+ <header>Content-Type: text/xml</header>
+ <header>Depth: 0</header>
+ <body><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+<D:prop>
+<D:getlastmodified/>
+<D:getcontentlength/>
+<D:resourcetype/>
+</D:prop>
+</D:propfind>
+
+ ]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.1 207 Etat Multiple</command>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test19.txt</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:getlastmodified>*</D:getlastmodified>
+ <D:getcontentlength>4</D:getcontentlength>
+ <D:resourcetype />
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>
+]]></body>
</response>
</step>
<cleanup>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test.txt
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test19.txt
HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]