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 14:03:22 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/where/lte contentLength.xml
juergen 2002/08/29 05:03:22
Modified: testsuite/testsuite/junit/xmltestcases/DASL/functional/where/lte
contentLength.xml
Log:
To run with different configuration (kaz)
Revision Changes Path
1.3 +29 -45 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/where/lte/contentLength.xml
Index: contentLength.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/where/lte/contentLength.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- contentLength.xml 13 Aug 2002 12:45:02 -0000 1.2
+++ contentLength.xml 29 Aug 2002 12:03:22 -0000 1.3
@@ -23,7 +23,22 @@
</specification>
<step>
<request>
- <command varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.xml 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>
+ <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/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>
@@ -64,7 +79,7 @@
<!-- Extra 't' added to content of validXML2 tag to make this file 1 byte more than the first. -->
<step>
<request>
- <command varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test2.xml HTTP/1.1</command>
+ <command varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test/test2.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>
@@ -105,7 +120,7 @@
<!--Extra 'tt' added to content of validXML2 tag to make this file 2 bytes larger than file one -->
<step>
<request>
- <command varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test3.xml HTTP/1.1</command>
+ <command varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test/test3.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>
@@ -145,7 +160,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>
@@ -166,7 +181,7 @@
<body varUsage="globalVariableCollection,globalVariableServerName" varDefinition="testresourcecontentlength" varPath="multistatus/response/propstat/prop/getcontentlength"><![CDATA[
<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:getcontentlength>*</D:getcontentlength>
@@ -180,7 +195,7 @@
</step>
<step>
<request>
- <command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test2.xml HTTP/1.1</command>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test/test2.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
@@ -201,7 +216,7 @@
<body varUsage="globalVariableCollection,globalVariableServerName" varDefinition="test2resourcecontentlength" varPath="multistatus/response/propstat/prop/getcontentlength"><![CDATA[
<D:multistatus xmlns:D="DAV:">
<D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/test2.xml</D:href>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test2.xml</D:href>
<D:propstat>
<D:prop>
<D:getcontentlength>*</D:getcontentlength>
@@ -227,7 +242,7 @@
</D:select>
<D:from>
<D:scope>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/test</D:href>
</D:scope>
</D:from>
<D:where>
@@ -254,17 +269,17 @@
<body varUsage="globalVariableCollection,globalVariableServerName,testresourcecontentlength,test2resourcecontentlength"><![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>
<D:propstat>
<D:prop>
- <D:displayname>%globalVariableCollection%</D:displayname>
+ <D:displayname>test</D:displayname>
<D:getcontentlength>0</D:getcontentlength>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
<D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>test.xml</D:displayname>
@@ -274,7 +289,7 @@
</D:propstat>
</D:response>
<D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/test2.xml</D:href>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test2.xml</D:href>
<D:propstat>
<D:prop>
<D:displayname>test2.xml</D:displayname>
@@ -290,39 +305,7 @@
<cleanup>
<step>
<request>
- <command varUsage="globalVariableCollection,globalVariableServerName"> DELETE /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</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 204 No Content</command>
- <header>Date: Wed, 14 Mar 2001 14:47:37 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"> DELETE /%globalVariableServerName%/%globalVariableCollection%/test2.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Destroy: NoUndelete</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 204 No Content</command>
- <header>Date: Wed, 14 Mar 2001 14:47:37 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"> DELETE /%globalVariableServerName%/%globalVariableCollection%/test3.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>
@@ -336,5 +319,6 @@
<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>
+
</cleanup>
</test>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>