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/10 11:27:45 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_history_feature/Additional_Version-Control_Semantics VcDelVc.xml

juergen     2003/09/10 02:27:45

  Modified:    testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_history_feature/Additional_Version-Control_Semantics
                        VcDelVc.xml
  Log:
  (fga) Added cleanup of created history folder
  
  Revision  Changes    Path
  1.3       +78 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_history_feature/Additional_Version-Control_Semantics/VcDelVc.xml
  
  Index: VcDelVc.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_history_feature/Additional_Version-Control_Semantics/VcDelVc.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- VcDelVc.xml	13 Aug 2002 12:45:35 -0000	1.2
  +++ VcDelVc.xml	10 Sep 2003 09:27:45 -0000	1.3
  @@ -40,6 +40,37 @@
   		</response>
   	</step>
   	<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="globalVariableCollection,userNumber,globalVariableServerName">REPORT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
   			<header>Accept-Language: en-us</header>
  @@ -133,6 +164,53 @@
   		</response>
   	</step>
   	<cleanup>
  +	<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="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>