juergen 2002/08/09 02:23:45
Modified:
testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Checkout_semantics
LablChoutforkdisged403.xml
Log:
the testcase was changed, because it intends to PROPFIND the DAV:checkout-fork
property at a checked-in VCR. The VCR was checked out and then the PROPFIND was
applied (kaz).
(kaz)
Revision Changes Path
1.5 +71 -1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Checkout_semantics/LablChoutforkdisged403.xml
Index: LablChoutforkdisged403.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Checkout_semantics/LablChoutforkdisged403.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- LablChoutforkdisged403.xml 5 Aug 2002 08:22:08 -0000 1.4
+++ LablChoutforkdisged403.xml 9 Aug 2002 09:23:45 -0000 1.5
@@ -59,6 +59,15 @@
</D:multistatus>]]></body>
</response>
</step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT
/%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">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
@@ -85,6 +94,15 @@
</response>
</step>
<step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">UNCHECKOUT
/%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">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
<header>Depth: 1</header>
@@ -132,6 +150,7 @@
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
+
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
@@ -142,13 +161,64 @@
</response>
</step>
<cleanup>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: </header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet
Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind
xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body
varUsage="globalVariableCollection,globalVariableServerName,VHH" varDefinition="VHH"
varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+ <multistatus xmlns="DAV:">
+ <response>
+
<href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
+ <propstat>
+ <prop>
+ <version-history>
+ <href>%VHH%</href>
+ </version-history>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ </multistatus>]]></body>
+ </response>
+ </step>
+
<step>
<request>
- <command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VHH">DELETE
%VHH% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet
Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
+ <step>
+ <request>
+ <command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
+ </response>
+ </step>
</cleanup>
</test>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>