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:27:23 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method ChoutChout409.xml ChoutPropfChoutChin.xml WSChoutChout409.xml WsChoutChout409forkokDisged.xml WsChoutChout409forkokForbid.xml

juergen     2003/09/09 05:27:23

  Modified:    testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method
                        ChoutChout409.xml ChoutPropfChoutChin.xml
                        WSChoutChout409.xml WsChoutChout409forkokDisged.xml
                        WsChoutChout409forkokForbid.xml
  Log:
  (fga) Added cleanup step to delete created history
  
  Revision  Changes    Path
  1.5       +40 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/ChoutChout409.xml
  
  Index: ChoutChout409.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/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:27:23 -0000	1.5
  @@ -55,6 +55,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.4       +40 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/ChoutPropfChoutChin.xml
  
  Index: ChoutPropfChoutChin.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/ChoutPropfChoutChin.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ChoutPropfChoutChin.xml	13 Aug 2002 12:45:00 -0000	1.3
  +++ ChoutPropfChoutChin.xml	9 Sep 2003 12:27:23 -0000	1.4
  @@ -131,6 +131,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.7       +47 -8     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/WSChoutChout409.xml
  
  Index: WSChoutChout409.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/WSChoutChout409.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- WSChoutChout409.xml	16 Dec 2002 14:24:30 -0000	1.6
  +++ WSChoutChout409.xml	9 Sep 2003 12:27:23 -0000	1.7
  @@ -27,12 +27,12 @@
   		<response>
   			<command>HTTP/1.0 200 OK</command>
   			<body varUsage="globalVariableCollection,globalVariableServerName" varDefinition="WS" varPath="options-response/workspace-collection-set/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
  -                <D:options-response xmlns:D="DAV:">
  -                    <D:workspace-collection-set>
  -                        <D:href>*</D:href>
  -                    </D:workspace-collection-set>
  -                </D:options-response>
  -                ]]></body>
  +				<D:options-response xmlns:D="DAV:">
  +						<D:workspace-collection-set>
  +								<D:href>*</D:href>
  +						</D:workspace-collection-set>
  +				</D:options-response>
  +				]]></body>
   		</response>
   	</step>
   	<step>
  @@ -46,8 +46,7 @@
   	<step>
   		<request>
   			<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  -			<body fileReference="../../../../contentDirectory/validXML.xm1">
  -   </body>
  +			<body fileReference="../../../../contentDirectory/validXML.xm1"></body>
   		</request>
   		<response>
   			<command>HTTP/1.0 201 Created</command>
  @@ -127,6 +126,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.8       +41 -2     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/WsChoutChout409forkokDisged.xml
  
  Index: WsChoutChout409forkokDisged.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/WsChoutChout409forkokDisged.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- WsChoutChout409forkokDisged.xml	16 Dec 2002 14:24:30 -0000	1.7
  +++ WsChoutChout409forkokDisged.xml	9 Sep 2003 12:27:23 -0000	1.8
  @@ -46,8 +46,7 @@
   	<step>
   		<request>
   			<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  -			<body fileReference="../../../../contentDirectory/validXML.xm1">
  -   </body>
  +			<body fileReference="../../../../contentDirectory/validXML.xm1"></body>
   		</request>
   		<response>
   			<command>HTTP/1.0 201 Created</command>
  @@ -162,6 +161,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.8       +41 -2     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/WsChoutChout409forkokForbid.xml
  
  Index: WsChoutChout409forkokForbid.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Checkout-in-place_feature/Checkout_method/WsChoutChout409forkokForbid.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- WsChoutChout409forkokForbid.xml	16 Dec 2002 14:24:30 -0000	1.7
  +++ WsChoutChout409forkokForbid.xml	9 Sep 2003 12:27:23 -0000	1.8
  @@ -46,8 +46,7 @@
   	<step>
   		<request>
   			<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  -			<body fileReference="../../../../contentDirectory/validXML.xm1">
  -   </body>
  +			<body fileReference="../../../../contentDirectory/validXML.xm1"></body>
   		</request>
   		<response>
   			<command>HTTP/1.0 201 Created</command>
  @@ -131,6 +130,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>