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 18:40:26 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_control_features/Additional_propfind_semantics PropfAll.xml VcPropfcheckin.xml

juergen     2003/09/09 09:40:26

  Modified:    testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_control_features/Additional_propfind_semantics
                        PropfAll.xml VcPropfcheckin.xml
  Log:
  (fga) Added cleanup step for the created history folders.
  
  Revision  Changes    Path
  1.8       +40 -0     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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PropfAll.xml	28 Aug 2003 09:28:46 -0000	1.7
  +++ PropfAll.xml	9 Sep 2003 16:40:26 -0000	1.8
  @@ -81,6 +81,46 @@
   		</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       +40 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_control_features/Additional_propfind_semantics/VcPropfcheckin.xml
  
  Index: VcPropfcheckin.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_control_features/Additional_propfind_semantics/VcPropfcheckin.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- VcPropfcheckin.xml	13 Aug 2002 12:45:35 -0000	1.2
  +++ VcPropfcheckin.xml	9 Sep 2003 16:40:26 -0000	1.3
  @@ -66,6 +66,46 @@
   		</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>