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 ju...@apache.org on 2003/08/26 18:06:58 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/Additional_Version_Control_Semantics VcVcSameHistory.xml

juergen     2003/08/26 09:06:58

  Modified:    testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/Additional_Version_Control_Semantics
                        VcVcSameHistory.xml
  Log:
  (fga) Corrected PUT status code & added cleanup of test file.
  
  Revision  Changes    Path
  1.10      +16 -6     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/Additional_Version_Control_Semantics/VcVcSameHistory.xml
  
  Index: VcVcSameHistory.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/Additional_Version_Control_Semantics/VcVcSameHistory.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- VcVcSameHistory.xml	16 Dec 2002 14:24:30 -0000	1.9
  +++ VcVcSameHistory.xml	26 Aug 2003 16:06:58 -0000	1.10
  @@ -44,16 +44,16 @@
   	</step>
   	<step>
   		<request>
  -			<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  +			<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/testVcVcSameHistory.xml HTTP/1.1</command>
   			<body fileReference="../../../../contentDirectory/validXML.xm1"/>
   		</request>
   		<response>
  -			<command>HTTP/1.0 204 No Content</command>
  +			<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>
  +			<command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/testVcVcSameHistory.xml HTTP/1.1</command>
   			<header>Content-type: text/xml; charset="utf-8"</header>
   		</request>
   		<response>
  @@ -62,7 +62,7 @@
   	</step>
   	<step>
   		<request>
  -			<command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  +			<command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/testVcVcSameHistory.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:checked-in/></D:prop></D:propfind>]]></body>
  @@ -72,7 +72,7 @@
   			<body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" 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>
  +    <href>/%globalVariableServerName%/%globalVariableCollection%/testVcVcSameHistory.xml</href>
       <propstat>
         <prop>
           <checked-in>
  @@ -87,7 +87,7 @@
   	</step>
   	<step>
   		<request>
  -			<command varUsage="globalVariableCollection,globalVariableServerName,WS">VERSION-CONTROL %WS%/WS/test.xml HTTP/1.1</command>
  +			<command varUsage="globalVariableCollection,globalVariableServerName,WS">VERSION-CONTROL %WS%/WS/testVcVcSameHistory.xml HTTP/1.1</command>
   			<header>Content-type: text/xml; charset="utf-8"</header>
   			<body varUsage="VHR"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
           <D:version-control xmlns:D="DAV:">
  @@ -124,6 +124,16 @@
   		<step>
   			<request>
   				<command varUsage="globalVariableCollection,globalVariableServerName,WS">DELETE %WS%/WS HTTP/1.1</command>
  +				<header>Destroy: NoUndelete</header>
  +			</request>
  +			<response>
  +				<command>HTTP/1.0 204 No Content</command>
  +				<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
  +			</response>
  +		</step>
  +		<step>
  +			<request>
  +				<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/testVcVcSameHistory.xml HTTP/1.1</command>
   				<header>Destroy: NoUndelete</header>
   			</request>
   			<response>