juergen     2003/09/02 07:33:48

  Modified:    
testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Basic_Versioning_semantics
                        VcPropfchin.xml VcPropfchinRept.xml
  Log:
  (fga) Added cleanup of history folder created by the test.
  
  Revision  Changes    Path
  1.7       +33 -0     
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Basic_Versioning_semantics/VcPropfchin.xml
  
  Index: VcPropfchin.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Basic_Versioning_semantics/VcPropfchin.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- VcPropfchin.xml   13 Aug 2002 12:45:36 -0000      1.6
  +++ VcPropfchin.xml   2 Sep 2003 14:33:48 -0000       1.7
  @@ -140,6 +140,39 @@
        <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>
                                <header>Accept-Language: en-us</header>
                                <header>Destroy: NoUndelete</header>
  
  
  
  1.7       +33 -0     
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Basic_Versioning_semantics/VcPropfchinRept.xml
  
  Index: VcPropfchinRept.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Basic_Versioning_semantics/VcPropfchinRept.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- VcPropfchinRept.xml       13 Aug 2002 12:45:36 -0000      1.6
  +++ VcPropfchinRept.xml       2 Sep 2003 14:33:48 -0000       1.7
  @@ -94,6 +94,39 @@
        <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>
                                <header>Accept-Language: en-us</header>
                                <header>Destroy: NoUndelete</header>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to