juergen 2003/09/09 05:05:18
Modified:
testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Additional_Option_Semantics
Options.xml
Log:
(fga) Added cleanup step to delete created history
Revision Changes Path
1.6 +40 -0
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Additional_Option_Semantics/Options.xml
Index: Options.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Additional_Option_Semantics/Options.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Options.xml 15 Jul 2003 07:49:12 -0000 1.5
+++ Options.xml 9 Sep 2003 12:05:18 -0000 1.6
@@ -39,6 +39,46 @@
<cleanup>
<step>
<request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName,WS">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Content-Type: text/xml</header>
+ <header>Depth: 1</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,VHH">DELETE
%VHH% HTTP/1.1</command>
+ </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>
</request>
<response>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]