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 2002/08/29 13:11:06 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/from/DAV scopeDepth0.xml
juergen 2002/08/29 04:11:06
Modified: testsuite/testsuite/junit/xmltestcases/DASL/functional/from/DAV
scopeDepth0.xml
Log:
To run with different configuration (kaz)
Revision Changes Path
1.3 +23 -7 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/from/DAV/scopeDepth0.xml
Index: scopeDepth0.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/from/DAV/scopeDepth0.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- scopeDepth0.xml 13 Aug 2002 10:32:33 -0000 1.2
+++ scopeDepth0.xml 29 Aug 2002 11:11:06 -0000 1.3
@@ -16,9 +16,10 @@
<expectedResult>The search should return a 207 Multi-Status. Within this, the displayname should
be found, returning a 200 OK. The test property should return a 404. Both should be found for the root collection ONLY.</expectedResult>
</specification>
+
<step>
<request>
- <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/level1 HTTP/1.1</command>
+ <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>
@@ -33,7 +34,7 @@
</step>
<step>
<request>
- <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/level1/level2 HTTP/1.1</command>
+ <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test/level1 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>
@@ -48,7 +49,22 @@
</step>
<step>
<request>
- <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/level1/level2/level3 HTTP/1.1</command>
+ <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2 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="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3 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>
@@ -75,7 +91,7 @@
</D:select>
<D:from>
<D:scope>
- <D:href>%globalVariableCollection%/</D:href>
+ <D:href>%globalVariableCollection%/test</D:href>
<D:depth>0</D:depth>
</D:scope>
</D:from>
@@ -88,10 +104,10 @@
<body varUsage="globalVariableServerName,globalVariableCollection"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href>
<propstat xmlns="DAV:">
<prop>
- <displayname>%globalVariableCollection%</displayname>
+ <displayname>test</displayname>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
@@ -109,7 +125,7 @@
<cleanup>
<step>
<request>
- <command varUsage="globalVariableCollection,globalVariableServerName"> DELETE /%globalVariableServerName%/%globalVariableCollection%/level1 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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>