juergen     2003/11/15 06:42:19

  Modified:    
testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Working_resource_feature/Working_resource_properties
                        ChoutVsnPropfall.xml
               
testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_control_features/Additional_propfind_semantics
                        PropfAll.xml
               testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedVCR
                        Unlock.xml
               testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR
                        Checkout.xml CopySource.xml Get.xml Head.xml
  Log:
  fixed some errors in the test cases.
  
  Revision  Changes    Path
  1.7       +104 -104  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Working_resource_feature/Working_resource_properties/ChoutVsnPropfall.xml
  
  Index: ChoutVsnPropfall.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Working_resource_feature/Working_resource_properties/ChoutVsnPropfall.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ChoutVsnPropfall.xml      4 Nov 2003 08:24:04 -0000       1.6
  +++ ChoutVsnPropfall.xml      15 Nov 2003 14:42:19 -0000      1.7
  @@ -1,39 +1,39 @@
   <?xml version="1.0" encoding="utf-8"?>
   <!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
   <test>
  -  <specification>
  -    <abstract> Test to check if auto-update property exists on a workingresource 
</abstract>
  -    <description>
  +     <specification>
  +             <abstract> Test to check if auto-update property exists on a 
workingresource </abstract>
  +             <description>
                1) PUT command creates a file
                2) VERSION-CONTROL command which puts the file under version control
                4) Checkout command which checks out the file
                5) Propfind command which checks the if auto-update property exists
                </description>
  -    <expectedResult> Propfind should point to the latest version </expectedResult>
  -  </specification>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  -      <body fileReference="../../../../contentDirectory/validXML.xm1" />
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  -    </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>Content-Type: text/xml</header>
  -      <header>Depth: 1</header>
  -      <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +             <expectedResult> Propfind should point to the latest version 
</expectedResult>
  +     </specification>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  +                     <body 
fileReference="../../../../contentDirectory/validXML.xm1"/>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  +             </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>Content-Type: text/xml</header>
  +                     <header>Depth: 1</header>
  +                     <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:prop>
       <D:checked-in />
  @@ -41,10 +41,10 @@
   </D:propfind>
   
   ]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 207 Multi Status</command>
  -      <body varUsage="globalVariableCollection,VHR1,globalVariableServerName" 
varDefinition="VHR1" 
varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml 
version="1.0" encoding="utf-8"?>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 207 Multi Status</command>
  +                     <body 
varUsage="globalVariableCollection,VHR1,globalVariableServerName" varDefinition="VHR1" 
varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml 
version="1.0" encoding="utf-8"?>
   <multistatus xmlns="DAV:">
     <response>
       <href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
  @@ -60,21 +60,21 @@
   </multistatus>
   
   ]]></body>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command varUsage="VHR1">CHECKOUT %VHR1% HTTP/1.1</command>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">REPORT 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  -      <header>Content-Type: text/xml</header>
  -      <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command varUsage="VHR1">CHECKOUT %VHR1% HTTP/1.1</command>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,userNumber,globalVariableServerName">REPORT 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  +                     <header>Content-Type: text/xml</header>
  +                     <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
   <D:version-tree xmlns:D="DAV:">
     <D:prop>
       <D:checkout-set />
  @@ -82,10 +82,10 @@
   </D:version-tree>
   
   ]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 207 Multi Status</command>
  -      <body varUsage="WRS,VHR1" varDefinition="WRS" 
varPath="multistatus/response/propstat/prop/checkout-set/href"><![CDATA[<?xml 
version="1.0" encoding="utf-8"?>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 207 Multi Status</command>
  +                     <body varUsage="WRS,VHR1" varDefinition="WRS" 
varPath="multistatus/response/propstat/prop/checkout-set/href"><![CDATA[<?xml 
version="1.0" encoding="utf-8"?>
   <D:multistatus xmlns:D="DAV:">
     <D:response>
       <D:href>%VHR1%</D:href>
  @@ -101,23 +101,23 @@
   </D:multistatus>
   
   ]]></body>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command varUsage="WRS">PROPFIND %WRS% HTTP/1.1</command>
  -      <header>Content-Type: text/xml</header>
  -      <header>Depth: 1</header>
  -      <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command varUsage="WRS">PROPFIND %WRS% HTTP/1.1</command>
  +                     <header>Content-Type: text/xml</header>
  +                     <header>Depth: 1</header>
  +                     <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:allprop />
   </D:propfind>
   
   ]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 207 Multi Status</command>
  -      <body 
varUsage="WRS,globalVariableCollection,VHR1,globalVariableServerName,globalVariableRootUserPath"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 207 Multi Status</command>
  +                     <body 
varUsage="WRS,globalVariableCollection,VHR1,globalVariableServerName,globalVariableRootUserPath"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
   <D:multistatus xmlns:D="DAV:">
     <D:response>
       <D:href>%WRS%</D:href>
  @@ -144,6 +144,7 @@
           <D:source />
           <xsv:isXml 
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav";>true</xsv:isXml>
           <D:creationdate>*</D:creationdate>
  +        <D:modificationdate>*</D:modificationdate>
           <D:lockdiscovery />
           <D:getcontentlength>*</D:getcontentlength>
           <D:displayname>*</D:displayname>
  @@ -160,15 +161,15 @@
   </D:multistatus>
   
   ]]></body>
  -    </response>
  -  </step>
  -  <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" encoding="utf-8"?>
  +             </response>
  +     </step>
  +     <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" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:prop>
       <D:version-history />
  @@ -176,10 +177,10 @@
   </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"?>
  +                     </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>
  @@ -195,32 +196,31 @@
   </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>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -    <step>
  -      <request>
  -        <command varUsage="WRS">DELETE %WRS% HTTP/1.1</command>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -  </cleanup>
  +                     </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>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +             <step>
  +                     <request>
  +                             <command varUsage="WRS">DELETE %WRS% HTTP/1.1</command>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +     </cleanup>
   </test>
  -
  
  
  
  1.10      +66 -66    
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_control_features/Additional_propfind_semantics/PropfAll.xml
  
  Index: PropfAll.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_control_features/Additional_propfind_semantics/PropfAll.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- PropfAll.xml      4 Nov 2003 08:24:01 -0000       1.9
  +++ PropfAll.xml      15 Nov 2003 14:42:19 -0000      1.10
  @@ -1,48 +1,48 @@
   <?xml version="1.0" encoding="utf-8"?>
   <!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
   <test>
  -  <specification>
  -    <abstract> Test to check properties returned by allprop </abstract>
  -    <description>
  +     <specification>
  +             <abstract> Test to check properties returned by allprop </abstract>
  +             <description>
                1) PUT command creates a file
                2) VERSION-CONTROL command which puts the file under version control
                3) propfind command carried out on file
                </description>
  -    <expectedResult> Propfind should not return any VC, VCR or V properties 
</expectedResult>
  -  </specification>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  -      <body fileReference="../../../../contentDirectory/validXML.xm1" />
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <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">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" encoding="utf-8"?>
  +             <expectedResult> Propfind should not return any VC, VCR or V 
properties </expectedResult>
  +     </specification>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  +                     <body 
fileReference="../../../../contentDirectory/validXML.xm1"/>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <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">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" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:allprop />
   </D:propfind>
   
   ]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 207 Multi Status</command>
  -      <body 
varUsage="globalVariableCollection,userNumber,globalVariableServerName,globalVariableUserPath,globalVariableRootUserPath,host,user"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 207 Multi Status</command>
  +                     <body 
varUsage="globalVariableCollection,userNumber,globalVariableServerName,globalVariableUserPath,globalVariableRootUserPath,host,user"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
   <D:multistatus xmlns:D="DAV:">
     <D:response>
       <D:href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href>
  @@ -69,6 +69,7 @@
           <D:source />
           <xsv:isXml 
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav";>true</xsv:isXml>
           <D:creationdate>2002-08-07T15:28:11Z</D:creationdate>
  +        <D:modificationdate>*</D:modificationdate>
           <D:lockdiscovery />
           <D:getcontentlength>*</D:getcontentlength>
           <D:displayname>*</D:displayname>
  @@ -85,15 +86,15 @@
   </D:multistatus>
   
   ]]></body>
  -    </response>
  -  </step>
  -  <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" encoding="utf-8"?>
  +             </response>
  +     </step>
  +     <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" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:prop>
       <D:version-history />
  @@ -101,10 +102,10 @@
   </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"?>
  +                     </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>
  @@ -120,24 +121,23 @@
   </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>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -  </cleanup>
  +                     </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>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +     </cleanup>
   </test>
  -
  
  
  
  1.5       +62 -64    
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedVCR/Unlock.xml
  
  Index: Unlock.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedVCR/Unlock.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Unlock.xml        4 Nov 2003 08:23:25 -0000       1.4
  +++ Unlock.xml        15 Nov 2003 14:42:19 -0000      1.5
  @@ -1,50 +1,49 @@
   <?xml version="1.0" encoding="utf-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  -<!-- edited with XML Spy v4.1 U (http://www.xmlspy.com) by Juergen Pill (Software 
AG) -->
   <test>
  -  <specification>
  -    <abstract> Test to check if possible to perform a Unlock command on a VCR 
</abstract>
  -    <description>
  +     <specification>
  +             <abstract> Test to check if possible to perform a Unlock command on a 
VCR </abstract>
  +             <description>
                1) Put command creates a file
                2) VERSION-CONTROL command which puts a resource under version control
                3) Unlock command carried out on a VCR
                </description>
  -    <expectedResult> Unlock command should return 204 No Content </expectedResult>
  -  </specification>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.xml 
HTTP/1.1</command>
  -      <body fileReference="../../../contentDirectory/validXML.xm1" />
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.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,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.xml 
HTTP/1.1</command>
  -      <header varUsage="automaticVariable1">Lock-Token: %varUsage%</header>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 204 No Content</command>
  -    </response>
  -  </step>
  -  <cleanup>
  -    <step>
  -      <request>
  -        <command 
varUsage="globalVariableCollection,globalVariableServerName,WS">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.xml 
HTTP/1.1</command>
  -        <header>Content-Type: text/xml</header>
  -        <header>Depth: 1</header>
  -        <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +             <expectedResult> Unlock command should return 204 No Content 
</expectedResult>
  +     </specification>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.xml 
HTTP/1.1</command>
  +                     <body fileReference="../../../contentDirectory/validXML.xm1"/>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.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,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.xml 
HTTP/1.1</command>
  +                     <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 412 Precondition Failed</command>
  +             </response>
  +     </step>
  +     <cleanup>
  +             <step>
  +                     <request>
  +                             <command 
varUsage="globalVariableCollection,globalVariableServerName,WS">PROPFIND 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.xml 
HTTP/1.1</command>
  +                             <header>Content-Type: text/xml</header>
  +                             <header>Depth: 1</header>
  +                             <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:prop>
       <D:version-history />
  @@ -52,10 +51,10 @@
   </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"?>
  +                     </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%/UnlockedVCR.xml</href>
  @@ -71,24 +70,23 @@
   </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.xml 
HTTP/1.1</command>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -  </cleanup>
  +                     </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.xml 
HTTP/1.1</command>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +     </cleanup>
   </test>
  -
  
  
  
  1.5       +73 -74    
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Checkout.xml
  
  Index: Checkout.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Checkout.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Checkout.xml      4 Nov 2003 08:23:23 -0000       1.4
  +++ Checkout.xml      15 Nov 2003 14:42:19 -0000      1.5
  @@ -1,60 +1,60 @@
   <?xml version="1.0" encoding="utf-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
   <test>
  -  <specification>
  -    <abstract> Test to check if possible to perform a Checkout command on a VCR 
</abstract>
  -    <description>
  +     <specification>
  +             <abstract> Test to check if possible to perform a Checkout command on 
a VCR </abstract>
  +             <description>
                1) Put command creates a file
                2) VERSION-CONTROL command which puts a resource under version control
                3) Checkout command carried out on a VCR
                </description>
  -    <expectedResult> Checkout command should return 207 Multi Status 
</expectedResult>
  -  </specification>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <body fileReference="../../../contentDirectory/validXML.xm1" />
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <header varUsage="automaticVariable1">If: (&lt;%varUsage%&gt;)</header>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 200 OK</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command 
varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <header varUsage="automaticVariable1">If: (&lt;%varUsage%&gt;)</header>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 200 OK</command>
  -    </response>
  -  </step>
  -  <cleanup>
  -    <step>
  -      <request>
  -        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -        <header varUsage="automaticVariable1">Lock-Token: %varUsage%</header>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</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" encoding="utf-8"?>
  +             <expectedResult> Checkout command should return 207 Multi Status 
</expectedResult>
  +     </specification>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <body fileReference="../../../contentDirectory/validXML.xm1"/>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <header varUsage="automaticVariable1">If: 
(&lt;%varUsage%&gt;)</header>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 200 OK</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <header varUsage="automaticVariable1">If: 
(&lt;%varUsage%&gt;)</header>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 200 OK</command>
  +             </response>
  +     </step>
  +     <cleanup>
  +             <step>
  +                     <request>
  +                             <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                             <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
  +                     </request>
  +                     <response>
  +                     <command>HTTP/1.0 412 Precondition Failed</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" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:prop>
       <D:version-history />
  @@ -62,10 +62,10 @@
   </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"?>
  +                     </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>
  @@ -81,24 +81,23 @@
   </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -  </cleanup>
  +                     </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +     </cleanup>
   </test>
  -
  
  
  
  1.6       +83 -84    
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/CopySource.xml
  
  Index: CopySource.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/CopySource.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CopySource.xml    4 Nov 2003 08:23:23 -0000       1.5
  +++ CopySource.xml    15 Nov 2003 14:42:19 -0000      1.6
  @@ -1,62 +1,62 @@
   <?xml version="1.0" encoding="utf-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
   <test>
  -  <specification>
  -    <abstract> Test to check if possible to perform a Copy command on a VCR 
</abstract>
  -    <description>
  +     <specification>
  +             <abstract> Test to check if possible to perform a Copy command on a 
VCR </abstract>
  +             <description>
                1) Put command creates a file
                2) VERSION-CONTROL command which puts a resource under version control
                3) Copy command carried out on a VCR
                </description>
  -    <expectedResult> Copy command should return 204 No Content </expectedResult>
  -  </specification>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <body fileReference="../../../contentDirectory/validXML.xm1" />
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <header varUsage="automaticVariable1">If: (&lt;%varUsage%&gt;)</header>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 200 OK</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">COPY 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <header 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">Destination: 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR2.xml</header>
  -      <header>Overwrite: T</header>
  -      <header varUsage="automaticVariable1">If: (&lt;%varUsage%&gt;)</header>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <cleanup>
  -    <step>
  -      <request>
  -        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -        <header varUsage="automaticVariable1">Lock-Token: %varUsage%</header>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </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" encoding="utf-8"?>
  +             <expectedResult> Copy command should return 204 No Content 
</expectedResult>
  +     </specification>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <body fileReference="../../../contentDirectory/validXML.xm1"/>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <header varUsage="automaticVariable1">If: 
(&lt;%varUsage%&gt;)</header>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 200 OK</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">COPY 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <header 
varUsage="userNumber,globalVariableCollection,globalVariableServerName">Destination: 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR2.xml</header>
  +                     <header>Overwrite: T</header>
  +                     <header varUsage="automaticVariable1">If: 
(&lt;%varUsage%&gt;)</header>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <cleanup>
  +             <step>
  +                     <request>
  +                             <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                             <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
  +                     </request>
  +                     <response>
  +                     <command>HTTP/1.0 412 Precondition Failed</command>
  +                     </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" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:prop>
       <D:version-history />
  @@ -64,10 +64,10 @@
   </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"?>
  +                     </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>
  @@ -83,32 +83,31 @@
   </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -    <step>
  -      <request>
  -        <command 
varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR2.xml 
HTTP/1.1</command>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -  </cleanup>
  +                     </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +             <step>
  +                     <request>
  +                             <command 
varUsage="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR2.xml 
HTTP/1.1</command>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +     </cleanup>
   </test>
  -
  
  
  
  1.5       +75 -76    
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Get.xml
  
  Index: Get.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Get.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Get.xml   4 Nov 2003 08:23:23 -0000       1.4
  +++ Get.xml   15 Nov 2003 14:42:19 -0000      1.5
  @@ -1,62 +1,62 @@
   <?xml version="1.0" encoding="utf-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
   <test>
  -  <specification>
  -    <abstract> Test to check if possible to perform a Get command on a VCR 
</abstract>
  -    <description>
  +     <specification>
  +             <abstract> Test to check if possible to perform a Get command on a VCR 
</abstract>
  +             <description>
                1) Put command creates a file
                2) VERSION-CONTROL command which puts a resource under version control
                3) Get command carried out on a VCR
                </description>
  -    <expectedResult> Get command should return 200 OK </expectedResult>
  -  </specification>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <body fileReference="../../../contentDirectory/validXML.xm1" />
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <header varUsage="automaticVariable1">If: (&lt;%varUsage%&gt;)</header>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 200 OK</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">GET 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <header varUsage="automaticVariable1">If: (&lt;%varUsage%&gt;)</header>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 200 OK</command>
  -      <header>Content-Type: text/xml</header>
  -      <body fileReference="../../../contentDirectory/validXML.xm1" />
  -    </response>
  -  </step>
  -  <cleanup>
  -    <step>
  -      <request>
  -        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -        <header varUsage="automaticVariable1">Lock-Token: %varUsage%</header>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </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" encoding="utf-8"?>
  +             <expectedResult> Get command should return 200 OK </expectedResult>
  +     </specification>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <body fileReference="../../../contentDirectory/validXML.xm1"/>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <header varUsage="automaticVariable1">If: 
(&lt;%varUsage%&gt;)</header>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 200 OK</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">GET 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <header varUsage="automaticVariable1">If: 
(&lt;%varUsage%&gt;)</header>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 200 OK</command>
  +                     <header>Content-Type: text/xml</header>
  +                     <body fileReference="../../../contentDirectory/validXML.xm1"/>
  +             </response>
  +     </step>
  +     <cleanup>
  +             <step>
  +                     <request>
  +                             <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                             <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
  +                     </request>
  +                     <response>
  +                     <command>HTTP/1.0 412 Precondition Failed</command>
  +                     </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" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:prop>
       <D:version-history />
  @@ -64,10 +64,10 @@
   </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"?>
  +                     </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>
  @@ -83,24 +83,23 @@
   </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -  </cleanup>
  +                     </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +     </cleanup>
   </test>
  -
  
  
  
  1.5       +73 -74    
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Head.xml
  
  Index: Head.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Head.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Head.xml  4 Nov 2003 08:23:23 -0000       1.4
  +++ Head.xml  15 Nov 2003 14:42:19 -0000      1.5
  @@ -1,60 +1,60 @@
   <?xml version="1.0" encoding="utf-8"?>
   <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
   <test>
  -  <specification>
  -    <abstract> Test to check if possible to perform a Head command on a VCR 
</abstract>
  -    <description>
  +     <specification>
  +             <abstract> Test to check if possible to perform a Head command on a 
VCR </abstract>
  +             <description>
                1) Put command creates a file
                2) VERSION-CONTROL command which puts a resource under version control
                3) Head command carried out on a VCR
                </description>
  -    <expectedResult> Head command should return 200 OK </expectedResult>
  -  </specification>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <body fileReference="../../../contentDirectory/validXML.xm1" />
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <header varUsage="automaticVariable1">If: (&lt;%varUsage%&gt;)</header>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 200 OK</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">HEAD  
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      <header varUsage="automaticVariable1">If: (&lt;%varUsage%&gt;)</header>
  -    </request>
  -    <response>
  -      <command>HTTP/1.1 200 OK</command>
  -    </response>
  -  </step>
  -  <cleanup>
  -    <step>
  -      <request>
  -        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -        <header varUsage="automaticVariable1">Lock-Token: %varUsage%</header>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </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" encoding="utf-8"?>
  +             <expectedResult> Head command should return 200 OK </expectedResult>
  +     </specification>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <body fileReference="../../../contentDirectory/validXML.xm1"/>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <header varUsage="automaticVariable1">If: 
(&lt;%varUsage%&gt;)</header>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 200 OK</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">HEAD  
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     <header varUsage="automaticVariable1">If: 
(&lt;%varUsage%&gt;)</header>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.1 200 OK</command>
  +             </response>
  +     </step>
  +     <cleanup>
  +             <step>
  +                     <request>
  +                             <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                             <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
  +                     </request>
  +                     <response>
  +                     <command>HTTP/1.0 412 Precondition Failed</command>
  +                     </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" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
     <D:prop>
       <D:version-history />
  @@ -62,10 +62,10 @@
   </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"?>
  +                     </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>
  @@ -81,24 +81,23 @@
   </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -  </cleanup>
  +                     </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="globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml HTTP/1.1</command>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +     </cleanup>
   </test>
  -
  
  
  

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

Reply via email to