juergen 2002/07/04 00:08:03
Modified:
testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_Control/Non-versionable_resource
VcVH.xml
Log:
corrected test case
Revision Changes Path
1.2 +41 -1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_Control/Non-versionable_resource/VcVH.xml
Index: VcVH.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_Control/Non-versionable_resource/VcVH.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- VcVH.xml 28 Jun 2002 14:16:49 -0000 1.1
+++ VcVH.xml 4 Jul 2002 07:08:03 -0000 1.2
@@ -32,9 +32,49 @@
</response>
</step>
+
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL
/%globalVariableServerName%/history/1 HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ </response>
+ </step>
+
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">REPORT
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <body><![CDATA[<D:version-tree
xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:version-tree>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet
2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
+ <body varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="VH"
varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+<multistatus xmlns="DAV:">
+ <response>
+ <href>*</href>
+ <propstat>
+ <prop>
+ <version-history>
+ <href>*</href>
+ </version-history>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+</multistatus>]]>
+ </body>
+ </response>
+ </step>
+
+
+<step>
+ <request>
+ <command varUsage="VH">VERSION-CONTROL %VH% HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>