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/09/09 14:22:46 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout-out_resource_property ChoutChout409.xml ChoutPropfchinfork.xml ChoutPropfchoutfork.xml

juergen     2003/09/09 05:22:46

  Modified:    testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout-out_resource_property
                        ChoutChout409.xml ChoutPropfchinfork.xml
                        ChoutPropfchoutfork.xml
  Log:
  (fga) Added cleanup step to delete created history
  
  Revision  Changes    Path
  1.5       +43 -4     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout-out_resource_property/ChoutChout409.xml
  
  Index: ChoutChout409.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout-out_resource_property/ChoutChout409.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ChoutChout409.xml	14 Aug 2002 10:54:28 -0000	1.4
  +++ ChoutChout409.xml	9 Sep 2003 12:22:46 -0000	1.5
  @@ -47,14 +47,53 @@
   		<response>
   			<command>HTTP/1.0 (403,409)</command>
   			<body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
  -                <D:error xmlns:D="DAV:">
  -                  <D:must-be-checked-in />
  -                </D:error>
  -               ]]>
  +				<D:error xmlns:D="DAV:">
  +					<D:must-be-checked-in />
  +				</D:error>
  +			 ]]>
   			</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" ?>
  +			<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>
  
  
  
  1.3       +39 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout-out_resource_property/ChoutPropfchinfork.xml
  
  Index: ChoutPropfchinfork.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout-out_resource_property/ChoutPropfchinfork.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ChoutPropfchinfork.xml	13 Aug 2002 12:45:00 -0000	1.2
  +++ ChoutPropfchinfork.xml	9 Sep 2003 12:22:46 -0000	1.3
  @@ -76,6 +76,45 @@
   		</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" ?>
  +			<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>
  
  
  
  1.3       +39 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout-out_resource_property/ChoutPropfchoutfork.xml
  
  Index: ChoutPropfchoutfork.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout-out_resource_property/ChoutPropfchoutfork.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ChoutPropfchoutfork.xml	13 Aug 2002 12:45:00 -0000	1.2
  +++ ChoutPropfchoutfork.xml	9 Sep 2003 12:22:46 -0000	1.3
  @@ -76,6 +76,45 @@
   		</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" ?>
  +			<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>