You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by lu...@apache.org on 2004/09/22 16:26:31 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/lock/null-resources lockNullFile_200.xml

luetzkendorf    2004/09/22 07:26:31

  Modified:    testsuite/testsuite/junit/xmltestcases/functional/lock/null-resources
                        lockNullFile_200.xml
  Log:
  repaced last DELETE (404) with PROPFIND (404) because delete on lock-null resource will always return 404
  
  Revision  Changes    Path
  1.3       +18 -12    jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/lock/null-resources/lockNullFile_200.xml
  
  Index: lockNullFile_200.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/lock/null-resources/lockNullFile_200.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- lockNullFile_200.xml	3 Nov 2003 19:22:19 -0000	1.2
  +++ lockNullFile_200.xml	22 Sep 2004 14:26:31 -0000	1.3
  @@ -8,9 +8,9 @@
   		- OPTIONS
   		- PROPFIND
   		- UNLOCK (since no PUT has been done, file should disappear).
  -		- Delete (404 Not Found).
  +      - PROPFIND (404 Not Found).
   		</description>
  -    <expectedResult>All commands send after the lock should return a 200 OK.</expectedResult>
  +    <expectedResult></expectedResult>
     </specification>
     <step>
       <request>
  @@ -139,7 +139,6 @@
   ]]></body>
       </response>
     </step>
  -  <cleanup>
       <step>
         <request>
           <command varUsage="globalVariableCollection,globalVariableServerName">UNLOCK /%globalVariableServerName%/%globalVariableCollection%/testLockNullFile.xml HTTP/1.1</command>
  @@ -149,14 +148,21 @@
           <command>HTTP/1.0 204 No Content</command>
         </response>
       </step>
  -    <step>
  -      <request>
  -        <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/testLockNullFile.xml HTTP/1.1</command>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 404 Not Found</command>
  -      </response>
  -    </step>
  -  </cleanup>
  +
  +  <step>
  +    <request>
  +      <command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/testLockNullFile.xml HTTP/1.1</command>
  +      <header>Content-Type: text/xml</header>
  +      <header>Depth: 1</header>
  +      <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +        <propfind xmlns="DAV:">
  +          <prop><displayname/></prop>
  +        </propfind>
  +      ]]></body>
  +    </request>
  +    <response>
  +      <command>HTTP/1.0 404 Not Found</command>
  +    </response>
  +  </step>
   </test>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org