juergen 2003/09/02 07:24:37
Modified: testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR
MoveTarget.xml
Log:
(fga) Added cleanup of history folder created by the test.
Revision Changes Path
1.6 +30 -25
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/MoveTarget.xml
Index: MoveTarget.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/MoveTarget.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- MoveTarget.xml 2 Sep 2003 13:17:57 -0000 1.5
+++ MoveTarget.xml 2 Sep 2003 14:24:37 -0000 1.6
@@ -61,6 +61,34 @@
<command>HTTP/1.0 200 OK</command>
</response>
</step>
+
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName,WS">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.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%/LockedVCR.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="userNumber,globalVariableCollection,globalVariableServerName">MOVE
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR2.xml
HTTP/1.1</command>
@@ -80,6 +108,7 @@
</response>
</step>
<cleanup>
+ <!--
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
@@ -90,32 +119,8 @@
<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>
+ -->
<!-- Remove history created -->
- <step>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName,WS">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.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%/LockedVCR.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>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]