juergen 2002/08/01 04:53:35
Modified: testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockC
Update.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR
Update.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR
Update.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedC
Update.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedR
Update.xml
testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedVCR
Update.xml
Log:
1) fixed spelling errors
2) send a body at the update method (currently an invalid href)
Revision Changes Path
1.4 +8 -3
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockC/Update.xml
Index: Update.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockC/Update.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Update.xml 1 Aug 2002 09:28:43 -0000 1.3
+++ Update.xml 1 Aug 2002 11:53:34 -0000 1.4
@@ -34,13 +34,19 @@
<command
varUsage="globalVariableCollection,globalVariableServerName">UPDATE
/%globalVariableServerName%/%globalVariableCollection%/LockedC HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
<header varUsage="automaticVariable1">If:
(<%varUsage%>)</header>
+ <body><![CDATA[<?xml version="1.0"?>
+ <D:update xmlns:D="DAV:">
+ <D:version>
+ <D:href>invalid VR href reference</D:href>
+ </D:version>
+ </D:update>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
-
<D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedC</D:href>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/LockedC</D:href>
<D:status>HTTP/1.1 409 Conflict</D:status>
<D:responsedescription>
<D:error>
@@ -48,8 +54,7 @@
</D:error>
</D:responsedescription>
</D:response>
- </D:multistatus>]]>
- </body>
+ </D:multistatus>]]></body>
</response>
</step>
<cleanup>
1.5 +1 -1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Update.xml
Index: Update.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/LockedVCR/Update.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Update.xml 1 Aug 2002 11:44:24 -0000 1.4
+++ Update.xml 1 Aug 2002 11:53:34 -0000 1.5
@@ -62,7 +62,7 @@
<body
varUsage="globalVariableCollection,globalVariableServerName" varDefinition="VH"
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>/%globalVariableServerName%/%globalVariableCollection%/LockedR.xml</D:href>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/LockedVCR.xml</D:href>
<D:status>HTTP/1.1 409 Conflict</D:status>
<D:responsedescription>
<D:error>
1.2 +16 -16
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR/Update.xml
Index: Update.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR/Update.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Update.xml 26 Jul 2002 08:11:09 -0000 1.1
+++ Update.xml 1 Aug 2002 11:53:34 -0000 1.2
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if possible to perform a Update command on a
resource that doesnt exist </abstract>
-
<description>
1) Update command carried out on a resource which doesnt exists
</description>
-
<expectedResult> Update command should return 404 Not Found
</expectedResult>
</specification>
-
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">UPDATE
/%globalVariableServerName%/%globalVariableCollection%/NR.xml HTTP/1.1</command>
- <header>Content-type: text/xml; charset="utf-8"</header>
- </request>
- <response>
- <command>HTTP/1.0 404 Not Found</command>
- </response>
- </step>
-
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">UPDATE
/%globalVariableServerName%/%globalVariableCollection%/NR.xml HTTP/1.1</command>
+ <header>Content-type: text/xml; charset="utf-8"</header>
+ <body><![CDATA[<?xml version="1.0"?>
+ <D:update xmlns:D="DAV:">
+ <D:version>
+ <D:href>invalid VR href reference</D:href>
+ </D:version>
+ </D:update>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 404 Not Found</command>
+ </response>
+ </step>
</test>
1.3 +7 -0
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedC/Update.xml
Index: Update.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedC/Update.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Update.xml 1 Aug 2002 09:28:43 -0000 1.2
+++ Update.xml 1 Aug 2002 11:53:34 -0000 1.3
@@ -25,6 +25,13 @@
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">UPDATE
/%globalVariableServerName%/%globalVariableCollection%/UnlockedC HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
+ <body><![CDATA[<?xml version="1.0"?>
+ <D:update xmlns:D="DAV:">
+ <D:version>
+ <D:href>invalid VR href reference</D:href>
+ </D:version>
+ </D:update>]]></body>
+
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
1.3 +7 -0
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedR/Update.xml
Index: Update.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedR/Update.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Update.xml 1 Aug 2002 09:28:43 -0000 1.2
+++ Update.xml 1 Aug 2002 11:53:34 -0000 1.3
@@ -26,6 +26,13 @@
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">UPDATE
/%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
+ <body><![CDATA[<?xml version="1.0"?>
+ <D:update xmlns:D="DAV:">
+ <D:version>
+ <D:href>invalid VR href reference</D:href>
+ </D:version>
+ </D:update>]]></body>
+
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
1.3 +1 -1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedVCR/Update.xml
Index: Update.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/UnlockedVCR/Update.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Update.xml 1 Aug 2002 09:28:16 -0000 1.2
+++ Update.xml 1 Aug 2002 11:53:34 -0000 1.3
@@ -42,7 +42,7 @@
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
-
<D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedR.xml</D:href>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/UnlockedVCR.xml</D:href>
<D:status>HTTP/1.1 409 Conflict</D:status>
<D:responsedescription>
<D:error>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>