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:02:16 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics LablSetPropf.xml LablSetPropfind409.xml

juergen     2003/09/09 09:02:16

  Modified:    testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics
                        LablSetPropf.xml LablSetPropfind409.xml
  Log:
  (fga) Added cleanup step for the created history folders.
  
  Revision  Changes    Path
  1.5       +40 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics/LablSetPropf.xml
  
  Index: LablSetPropf.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics/LablSetPropf.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LablSetPropf.xml	27 Aug 2003 10:49:06 -0000	1.4
  +++ LablSetPropf.xml	9 Sep 2003 16:02:16 -0000	1.5
  @@ -135,6 +135,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.5       +40 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics/LablSetPropfind409.xml
  
  Index: LablSetPropfind409.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics/LablSetPropfind409.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LablSetPropfind409.xml	27 Aug 2003 09:27:27 -0000	1.4
  +++ LablSetPropfind409.xml	9 Sep 2003 16:02:16 -0000	1.5
  @@ -99,6 +99,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>