juergen 2002/06/28 00:29:41
Modified: testsuite/testsuite/junit/xmltestcases/I18N/propfind
DAV_C_propertyTagCharRef_zh.xml
DAV_C_propertyTagCharRef_ja.xml
DAV_C_propertyTagCharRef_en.xml
Log:
modified to state bad request
Revision Changes Path
1.3 +6 -30
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/propfind/DAV_C_propertyTagCharRef_zh.xml
Index: DAV_C_propertyTagCharRef_zh.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/propfind/DAV_C_propertyTagCharRef_zh.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DAV_C_propertyTagCharRef_zh.xml 23 May 2002 07:13:46 -0000 1.2
+++ DAV_C_propertyTagCharRef_zh.xml 28 Jun 2002 07:29:41 -0000 1.3
@@ -6,9 +6,9 @@
<pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
<description>1) Put a document.
2)Proppatch command which creates a property where the property tag
uses I18N char ref in the DAV namespace.
- 3)Propfind to check property has been created.
- 4)Delete created file.</description>
- <expectedResult>Properties created successfully. 207 with 200 in the
body received.</expectedResult>
+
+ 3)Delete created file.</description>
+ <expectedResult>Properties created successfully. 400 Bad request is
exepected as the property tag cannot have char ref</expectedResult>
</specification>
<step>
<request>
@@ -31,7 +31,8 @@
</body>
</request>
<response>
- <command>HTTP/1.0 207 Multi-Status</command>
+ <!--command>HTTP/1.0 207 Multi-Status</command-->
+ <command>HTTP/1.0 400 Bad Request</command>
<body
varUsage="globalVariableCollection,globalVariableServerName"><?xml version="1.0"
encoding="utf-8" ?>
<d:multistatus xmlns:d="DAV" xmlns:Z="DAVxxxx:" >
<d:response>
@@ -47,32 +48,7 @@
</body>
</response>
</step>
- <step>
- <user varUsage="userNumber">user%userNumber%</user>
- <password varUsage="userNumber">user%userNumber%</password>
- <request>
- <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/resource1.xml HTTP/1.1</command>
- <header>Content-Type: text/xml</header>
- <header>Depth: 1</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><propfind
xmlns="DAV:"><prop><即可顯示/></prop></propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi-Status</command>
- <body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><?xml
version="1.0" encoding="utf-8" ?>
- <multistatus xmlns="DAV:"
xmlns:S="http://jakarta.apache.org/slide/" >
- <response>
-
<href>/%globalVariableServerName%/%globalVariableCollection%/resource1.xml</href>
- <propstat>
- <prop>
- <即可顯示>test</即可顯示>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
- </multistatus></body>
- </response>
- </step>
+
<cleanup>
<step>
<request>
1.3 +6 -30
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/propfind/DAV_C_propertyTagCharRef_ja.xml
Index: DAV_C_propertyTagCharRef_ja.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/propfind/DAV_C_propertyTagCharRef_ja.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DAV_C_propertyTagCharRef_ja.xml 23 May 2002 07:13:46 -0000 1.2
+++ DAV_C_propertyTagCharRef_ja.xml 28 Jun 2002 07:29:41 -0000 1.3
@@ -6,9 +6,9 @@
<pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
<description>1) Put a document.
2)Proppatch command which creates a property where the property tag
uses I18N char ref in the DAV namespace.
- 3)Propfind to check property has been created.
- 4)Delete created file.</description>
- <expectedResult>Properties created successfully. 207 with 200 in the
body received.</expectedResult>
+
+ 3)Delete created file.</description>
+ <expectedResult>Properties created successfully. 400 Bad request is
exepected as the property tag cannot have char ref</expectedResult>
</specification>
<step>
<request>
@@ -31,7 +31,8 @@
</body>
</request>
<response>
- <command>HTTP/1.0 207 Multi-Status</command>
+ <!--command>HTTP/1.0 207 Multi-Status</command-->
+ <command>HTTP/1.0 400 Bad Request</command>
<body
varUsage="globalVariableCollection,globalVariableServerName"><?xml version="1.0"
encoding="utf-8" ?>
<d:multistatus xmlns:d="DAV" xmlns:Z="DAVxxxx:" >
<d:response>
@@ -47,32 +48,7 @@
</body>
</response>
</step>
- <step>
- <user varUsage="userNumber">user%userNumber%</user>
- <password varUsage="userNumber">user%userNumber%</password>
- <request>
- <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/resource1.xml HTTP/1.1</command>
- <header>Content-Type: text/xml</header>
- <header>Depth: 1</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><propfind
xmlns="DAV:"><prop><製品番号/></prop></propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi-Status</command>
- <body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><?xml
version="1.0" encoding="utf-8" ?>
- <multistatus xmlns="DAV:"
xmlns:S="http://jakarta.apache.org/slide/" >
- <response>
-
<href>/%globalVariableServerName%/%globalVariableCollection%/resource1.xml</href>
- <propstat>
- <prop>
- <製品番号>test</製品番号>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
- </multistatus></body>
- </response>
- </step>
+
<cleanup>
<step>
<request>
1.3 +6 -30
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/propfind/DAV_C_propertyTagCharRef_en.xml
Index: DAV_C_propertyTagCharRef_en.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/propfind/DAV_C_propertyTagCharRef_en.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DAV_C_propertyTagCharRef_en.xml 23 May 2002 07:13:46 -0000 1.2
+++ DAV_C_propertyTagCharRef_en.xml 28 Jun 2002 07:29:41 -0000 1.3
@@ -6,9 +6,9 @@
<pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
<description>1) Put a document.
2)Proppatch command which creates a property where the property tag
uses I18N char ref in the DAV namespace.
- 3)Propfind to check property has been created.
- 4)Delete created file.</description>
- <expectedResult>Properties created successfully. 207 with 200 in the
body received.</expectedResult>
+
+ 3)Delete created file.</description>
+ <expectedResult>Properties created successfully. 400 Bad request is
exepected as the property tag cannot have char ref</expectedResult>
</specification>
<step>
<request>
@@ -31,7 +31,8 @@
</body>
</request>
<response>
- <command>HTTP/1.0 207 Multi-Status</command>
+ <!--command>HTTP/1.0 207 Multi-Status</command-->
+ <command>HTTP/1.0 400 Bad Request</command>
<body
varUsage="globalVariableCollection,globalVariableServerName"><?xml version="1.0"
encoding="utf-8" ?>
<d:multistatus xmlns:d="DAV" xmlns:Z="DAVxxxx:" >
<d:response>
@@ -47,32 +48,7 @@
</body>
</response>
</step>
- <step>
- <user varUsage="userNumber">user%userNumber%</user>
- <password varUsage="userNumber">user%userNumber%</password>
- <request>
- <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/resource1.xml HTTP/1.1</command>
- <header>Content-Type: text/xml</header>
- <header>Depth: 1</header>
- <header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><propfind
xmlns="DAV:"><prop><àçèéäöüÄÖÜ/></prop></propfind>]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi-Status</command>
- <body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><?xml
version="1.0" encoding="utf-8" ?>
- <multistatus xmlns="DAV:"
xmlns:S="http://jakarta.apache.org/slide/" >
- <response>
-
<href>/%globalVariableServerName%/%globalVariableCollection%/resource1.xml</href>
- <propstat>
- <prop>
- <àçèéäöüÄÖÜ>test</àçèéäöüÄÖÜ>
- </prop>
- <status>HTTP/1.1 200 OK</status>
- </propstat>
- </response>
- </multistatus></body>
- </response>
- </step>
+
<cleanup>
<step>
<request>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>