jakarta-slide-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juer...@apache.org
Subject cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/propContains computedProps.xml
Date Fri, 05 Sep 2003 13:02:19 GMT
juergen     2003/09/05 06:02:19

  Modified:    testsuite/testsuite/junit/xmltestcases/DASL/functional/propContains
                        computedProps.xml
  Log:
  (fga)
  
  Revision  Changes    Path
  1.2       +76 -71    jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/propContains/computedProps.xml
  
  Index: computedProps.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/propContains/computedProps.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- computedProps.xml	14 Aug 2003 11:51:51 -0000	1.1
  +++ computedProps.xml	5 Sep 2003 13:02:19 -0000	1.2
  @@ -8,7 +8,7 @@
   		2) Create test1.xml under test1
   		3) VERSION-CONTROL command which puts the file test1.xml under version control
   		4) Report commmand which checks the version-history property
  -	        5) Propfind or search to get the version-history property
  +		5) Propfind or search to get the version-history property
   		8) Delete command which deletes the resources created by test
   		
   		</description>
  @@ -21,7 +21,7 @@
   		</request>
   		<response>
   			<command>HTTP/1.0 201 Created</command>
  -			</response>
  +		</response>
   	</step>
   	
   	<step>
  @@ -31,7 +31,7 @@
   		</request>
   		<response>
   			<command>HTTP/1.0 201 Created</command>
  -			</response>
  +		</response>
   	</step>
   	<step>
   		<request>
  @@ -44,7 +44,6 @@
   	</step>
   	
   	
  -	
   	<step>
   		<request>
   			<command varUsage="globalVariableCollection,userNumber,globalVariableServerName">REPORT
/%globalVariableServerName%/%globalVariableCollection%/test1/test1.xml HTTP/1.1</command>
  @@ -53,19 +52,19 @@
   		<response>
   			<command>HTTP/1.0 207 Multi Status</command>
   			<body varUsage="globalVariableCollection,globalVariableServerName" varDefinition="VH"
varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
  -<multistatus xmlns="DAV:">
  -  <response>
  -    <href>*</href>
  -    <propstat>
  -      <prop>
  -        <version-history>
  -          <href>*</href>
  -        </version-history>
  -      </prop>
  -      <status>HTTP/1.1 200 OK</status>
  -    </propstat>
  -  </response>
  -</multistatus>]]></body>
  +				<multistatus xmlns="DAV:">
  +					<response>
  +						<href>*</href>
  +						<propstat>
  +							<prop>
  +								<version-history>
  +									<href>*</href>
  +								</version-history>
  +							</prop>
  +							<status>HTTP/1.1 200 OK</status>
  +						</propstat>
  +					</response>
  +				</multistatus>]]></body>
   		</response>
   	</step>
   	<step>
  @@ -75,93 +74,99 @@
   		</request>
   		<response>
   			<command>HTTP/1.0 204 No Content</command>
  -			</response>
  +		</response>
   	</step>
   	
   	<step>
   		<request>
   			<command varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test1/test1.xml HTTP/1.1</command>
   			<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>
  +			<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,VH" varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
  -	               <multistatus xmlns="DAV:">
  -					  <response>
  -					    <href>*</href>
  -					    <propstat>
  -					      <prop>
  -					        <version-history>
  -					          <href>%VH%</href>
  -					        </version-history>
  -					      </prop>
  -					      <status>HTTP/1.1 200 OK</status>
  -					    </propstat>
  -					  </response>
  -					</multistatus>]]></body>
  +				<multistatus xmlns="DAV:">
  +					<response>
  +						<href>*</href>
  +						<propstat>
  +							<prop>
  +								<version-history>
  +									<href>%VH%</href>
  +								</version-history>
  +							</prop>
  +							<status>HTTP/1.1 200 OK</status>
  +						</propstat>
  +					</response>
  +				</multistatus>]]></body>
   		</response>
   	</step>
   	<step>
   		<request>
   			<command varUsage="globalVariableServerName">SEARCH /%globalVariableServerName%
HTTP/1.1</command>
   			<body varUsage="globalVariableCollection,globalVariableServerName,VH"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
  -						<searchrequest xmlns:D="DAV:">
  -							<D:basicsearch>
  -								<D:select>
  -  									<D:prop>
  -    										<D:version-history/>
  -  									</D:prop>
  -								</D:select>
  -								<D:from>
  -  									<D:scope>
  -    										<D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href>
  -  									</D:scope>
  -								</D:from>
  -								<D:where xmlns:S="http://jakarta.apache.org/slide/">
  -  									<S:propcontains>
  -  									<D:prop><D:version-history/></D:prop>
  -  										<D:literal>%VH%</D:literal>
  -  									</S:propcontains>
  -								</D:where>
  -
  -							</D:basicsearch>
  -						</searchrequest>
  +				<searchrequest xmlns:D="DAV:">
  +					<D:basicsearch>
  +						<D:select>
  +							<D:prop>
  +								<D:version-history/>
  +							</D:prop>
  +						</D:select>
  +						<D:from>
  +							<D:scope>
  +								<D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href>
  +							</D:scope>
  +						</D:from>
  +						<D:where xmlns:S="http://jakarta.apache.org/slide/">
  +							<S:propcontains>
  +								<D:prop>
  +									<D:version-history/>
  +								</D:prop>
  +								<D:literal>%VH%</D:literal>
  +							</S:propcontains>
  +						</D:where>
  +					</D:basicsearch>
  +				</searchrequest>
   					]]></body>
   		</request>
   		<response>
   			<command>HTTP/1.0 207 Multi-Status</command>
   			<body varUsage="globalVariableServerName,globalVariableCollection,VH"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
  -						<D:multistatus xmlns:D="DAV:">
  -							<D:response>
  -							<D:href>/%globalVariableServerName%/%globalVariableCollection%/test1/test1.xml</D:href>
  -								<D:propstat>
  -									<D:prop>
  -										<D:version-history>%VH%/1.1</D:version-history>
  -									</D:prop>
  -									<D:status>HTTP/1.1 200 OK</D:status>
  -								</D:propstat>
  -							</D:response>
  -						</D:multistatus>
  -   				]]></body>
  +				<D:multistatus xmlns:D="DAV:">
  +					<D:response>
  +						<D:href>/%globalVariableServerName%/%globalVariableCollection%/test1/test1.xml</D:href>
  +						<D:propstat>
  +							<D:prop>
  +								<D:version-history>%VH%</D:version-history>
  +							</D:prop>
  +							<D:status>HTTP/1.1 200 OK</D:status>
  +						</D:propstat>
  +					</D:response>
  +				</D:multistatus>
  +				]]></body>
   		</response>
   	</step>
  -
  +	
   	<step>
   		<request>
   			<command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VH">DELETE
%VH% HTTP/1.1</command>
  -			</request>
  +		</request>
   		<response>
   			<command>HTTP/1.0 204 No Content</command>
  -			</response>
  +		</response>
   	</step>
   	<step>
   		<request>
   			<command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test1 HTTP/1.1</command>
  -			</request>
  +		</request>
   		<response>
   			<command>HTTP/1.0 204 No Content</command>
  -			</response>
  +		</response>
   	</step>
  -	
  +
   </test>
  
  
  

Mime
View raw message