juergen 2002/08/28 05:15:34
Modified:
testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_Control/Non-versionable_resource
VcWs.xml
Log:
The workspace path was hard coded (kaz)
Revision Changes Path
1.4 +26 -1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_Control/Non-versionable_resource/VcWs.xml
Index: VcWs.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Version_Control/Non-versionable_resource/VcWs.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- VcWs.xml 14 Aug 2002 15:08:47 -0000 1.3
+++ VcWs.xml 28 Aug 2002 12:15:34 -0000 1.4
@@ -9,6 +9,31 @@
</description>
<expectedResult> version control command should fail </expectedResult>
</specification>
+
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">OPTIONS
/%globalVariableServerName%/%globalVariableCollection% HTTP/1.1</command>
+ <header>Content-Type: text/xml</header>
+ <body><![CDATA[<?xml version="1.0" ?>
+ <D:options xmlns:D="DAV:">
+ <D:workspace-collection-set/>
+ </D:options>
+ ]]>
+ </body>
+ </request>
+ <response>
+ <command>HTTP/1.0 200 OK</command>
+ <body
varUsage="globalVariableCollection,globalVariableServerName" varDefinition="WS"
varPath="options-response/workspace-collection-set/href"><![CDATA[<?xml version="1.0"
encoding="utf-8" ?>
+ <D:options-response xmlns:D="DAV:">
+ <D:workspace-collection-set>
+ <D:href>*</D:href>
+ </D:workspace-collection-set>
+ </D:options-response>
+ ]]>
+ </body>
+ </response>
+ </step>
+
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
@@ -20,7 +45,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL
/%globalVariableServerName%/workspace HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL
/%globalVariableServerName%/%WS% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 405</command>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>