juergen 2002/08/29 04:45:30
Modified: testsuite/testsuite/junit/xmltestcases/DASL/functional/select/DELTAV
checkOutSearch.xml
Log:
To run with different configuration (kaz)
Revision Changes Path
1.8 +31 -15
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/select/DELTAV/checkOutSearch.xml
Index: checkOutSearch.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/select/DELTAV/checkOutSearch.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- checkOutSearch.xml 14 Aug 2002 13:23:59 -0000 1.7
+++ checkOutSearch.xml 29 Aug 2002 11:45:29 -0000 1.8
@@ -19,9 +19,25 @@
</description>
<expectedResult>Main Search should return a 207 Multi-Status response
code. All Properties, including DeltaV's Checked Out properties, should be
returned.</expectedResult>
</specification>
+
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName"> MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ <header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
+ </response>
+ </step>
<step>
<request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
@@ -37,7 +53,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 200 OK</command>
@@ -46,7 +62,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 200 OK</command>
@@ -55,7 +71,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
@@ -76,7 +92,7 @@
<body
varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="testresourcecontentlength"
varPath="multistatus/response/propstat/prop/getcontentlength"><![CDATA[
<D:multistatus xmlns:D="DAV:">
<D:response>
- <D:href
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host">/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href>
+ <D:href
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host">/%globalVariableServerName%/%globalVariableCollection%/test/test.xml</D:href>
<D:propstat>
<D:prop>
<D:getcontentlength>*</D:getcontentlength>
@@ -101,7 +117,7 @@
</D:select>
<D:from>
<D:scope>
-
<D:href>%globalVariableCollection%/test.xml</D:href>
+
<D:href>%globalVariableCollection%/test/test.xml</D:href>
</D:scope>
</D:from>
</D:basicsearch>
@@ -113,7 +129,7 @@
<body
varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="testresourcecheckout"
varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
- <D:href
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host">/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href>
+ <D:href
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host">/%globalVariableServerName%/%globalVariableCollection%/test/test.xml</D:href>
<D:propstat>
<D:prop>
<D:checked-out>
@@ -140,7 +156,7 @@
</D:select>
<D:from>
<D:scope>
-
<D:href>%globalVariableCollection%/test.xml</D:href>
+
<D:href>%globalVariableCollection%/test/test.xml</D:href>
</D:scope>
</D:from>
</D:basicsearch>
@@ -152,7 +168,7 @@
<body
varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="testresourcepredecessorset"
varPath="multistatus/response/propstat/prop/predecessor-set/href"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
- <D:href
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host">/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href>
+ <D:href
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host">/%globalVariableServerName%/%globalVariableCollection%/test/test.xml</D:href>
<D:propstat>
<D:prop>
<D:predecessor-set>
@@ -179,7 +195,7 @@
</D:select>
<D:from>
<D:scope>
-
<D:href>%globalVariableCollection%/test.xml</D:href>
+
<D:href>%globalVariableCollection%/test/test.xml</D:href>
</D:scope>
</D:from>
</D:basicsearch>
@@ -191,7 +207,7 @@
<body
varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="testresourceversionhistory"
varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
- <D:href
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host">/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href>
+ <D:href
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host">/%globalVariableServerName%/%globalVariableCollection%/test/test.xml</D:href>
<D:propstat>
<D:prop>
<D:version-history>
@@ -216,7 +232,7 @@
</D:select>
<D:from>
<D:scope>
-
<D:href>%globalVariableCollection%/test.xml</D:href>
+
<D:href>%globalVariableCollection%/test/test.xml</D:href>
</D:scope>
</D:from>
</D:basicsearch>
@@ -228,7 +244,7 @@
<body
varUsage="globalVariableCollection,globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host,testresourcecontentlength,testresourcecheckout,testresourcepredecessorset,testresourceversionhistory"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
-
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test.xml</D:href>
<D:propstat>
<D:prop>
<D:current-user-privilege-set>
@@ -348,7 +364,7 @@
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">UNCHECKOUT
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">UNCHECKOUT
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 200 OK</command>
@@ -358,7 +374,7 @@
<cleanup>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName"> DELETE
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName"> DELETE
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>