juergen 2003/08/01 01:21:31
Modified: testsuite/testsuite/junit/xmltestcases/BIND/functional/precondition
lock-overwrite-allowed.xml
Log:
no message
Revision Changes Path
1.3 +28 -12
jakarta-slide/testsuite/testsuite/junit/xmltestcases/BIND/functional/precondition/lock-overwrite-allowed.xml
Index: lock-overwrite-allowed.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/BIND/functional/precondition/lock-overwrite-allowed.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- lock-overwrite-allowed.xml 31 Jul 2003 12:28:14 -0000 1.2
+++ lock-overwrite-allowed.xml 1 Aug 2003 08:21:31 -0000 1.3
@@ -5,11 +5,12 @@
<abstract> checks precondition lock-overwrite-allowed </abstract>
<description> The test case consist of following steps:
1) create collection test1 in
- 2) create collection test2 in
- 3) lock test1
- 4) bind test2 to test1 (precondition
violation)
+ 2) create collection test2 in test1
+ 3) create a collection test3
+ 3) lock test2
+ 4) bind test3 to test1 with name
test2(precondition violation)
5) unlock test2
- 5) delete the collection test1 and
test2
+ 5) delete the collection test1 and
test3
</description>
<expectedResult> Bind did work successfully </expectedResult>
@@ -32,7 +33,7 @@
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test2 HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test1/test2 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>
@@ -45,9 +46,24 @@
<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>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test3 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">LOCK
/%globalVariableServerName%/%globalVariableCollection%/test2 HTTP/1.1</command>
+ <command varUsage="globalVariableCollection,globalVariableServerName">LOCK
/%globalVariableServerName%/%globalVariableCollection%/test1/test2 HTTP/1.1</command>
<header>Connection: Keep-Alive, TE</header>
<header>TE: trailers, deflate, gzip, compress</header>
<header>User-Agent: UCI DAV Explorer/0.70 RPT-HTTPClient/0.3-2E</header>
@@ -64,13 +80,13 @@
</step>
<step>
- <request>
+ <request>
<command
varUsage="globalVariableCollection,globalVariableServerName">BIND
/%globalVariableServerName%/%globalVariableCollection%/test1 HTTP/1.1</command>
<header>Overwrite: F</header>
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" ?>
<bind>
- <segment>test1_bind</segment>
-
<href>/%globalVariableServerName%/%globalVariableCollection%/test2</href>
+ <segment>test2</segment>
+
<href>/%globalVariableServerName%/%globalVariableCollection%/test3</href>
</bind>]]></body>
</request>
<response>
@@ -82,7 +98,7 @@
<step>
<request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UNLOCK
/%globalVariableServerName%/%globalVariableCollection%/test2 HTTP/1.1</command>
+ <command varUsage="globalVariableCollection,globalVariableServerName">UNLOCK
/%globalVariableServerName%/%globalVariableCollection%/test1/test2 HTTP/1.1</command>
<header>Connection: Keep-Alive, TE</header>
<header>TE: trailers, deflate, gzip, compress</header>
<header>User-Agent: UCI DAV Explorer/0.70 RPT-HTTPClient/0.3-2E</header>
@@ -112,7 +128,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test2 HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test3 HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]