juergen 2002/07/04 04:51:22
Modified:
testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties
PropPatch-supported-privilege-set.xml
PropPatch-principal-collection-set.xml
PropPatch-Owner.xml
PropPatch-current-user-privilege-set.xml
PropPatch-ACL.xml
Log:
corrected expected response body
Revision Changes Path
1.2 +12 -11
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-supported-privilege-set.xml
Index: PropPatch-supported-privilege-set.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-supported-privilege-set.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PropPatch-supported-privilege-set.xml 24 Jun 2002 11:23:19 -0000 1.1
+++ PropPatch-supported-privilege-set.xml 4 Jul 2002 11:51:22 -0000 1.2
@@ -31,18 +31,19 @@
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>Content-Type: text/xml; charset="UTF-8"</header>
<body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
- <D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
- <D:propstat>
- <D:prop><D:supported-privilege-set/></D:prop>
- <D:status>HTTP/1.1 403 Forbidden</D:status>
- <D:responsedescription>Failure to set protected property
(DAV:supported-privilege-set)</D:responsedescription>
- </D:propstat>
- </D:response>
- </D:multistatus>]]>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:supported-privilege-set />
+ </D:prop>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>]]>
</body>
</response>
</step>
1.2 +12 -11
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-principal-collection-set.xml
Index: PropPatch-principal-collection-set.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-principal-collection-set.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PropPatch-principal-collection-set.xml 24 Jun 2002 11:23:19 -0000 1.1
+++ PropPatch-principal-collection-set.xml 4 Jul 2002 11:51:22 -0000 1.2
@@ -31,18 +31,19 @@
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>Content-Type: text/xml; charset="UTF-8"</header>
<body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
- <D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
- <D:propstat>
- <D:prop><D:principal-collection-set/></D:prop>
- <D:status>HTTP/1.1 403 Forbidden</D:status>
- <D:responsedescription>Failure to set protected property
(DAV:principal-collection-set)</D:responsedescription>
- </D:propstat>
- </D:response>
- </D:multistatus>]]>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:principal-collection-set />
+ </D:prop>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>]]>
</body>
</response>
</step>
1.2 +14 -13
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-Owner.xml
Index: PropPatch-Owner.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-Owner.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PropPatch-Owner.xml 24 Jun 2002 11:23:19 -0000 1.1
+++ PropPatch-Owner.xml 4 Jul 2002 11:51:22 -0000 1.2
@@ -31,18 +31,19 @@
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>Content-Type: text/xml; charset="UTF-8"</header>
<body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
- <D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
- <D:propstat>
- <D:prop><D:owner/></D:prop>
- <D:status>HTTP/1.1 403 Forbidden</D:status>
- <D:responsedescription>Failure to set protected property
(DAV:owner)</D:responsedescription>
- </D:propstat>
- </D:response>
- </D:multistatus>]]>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:owner />
+ </D:prop>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>]]>
</body>
</response>
</step>
@@ -63,14 +64,14 @@
<response>
<command>HTTP/1.0 207 Multi Status</command>
<header>Content-Type: text/xml; charset=utf-8</header>
- <body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+ <body
varUsage="globalVariableCollection,user,host,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href>
<D:propstat>
<D:prop>
<D:owner>
- <D:href>/administration/security/users/</D:href>
+
<D:href>%globalVariableServerName%/%globalVariableServerName%/administration/security/users/administration/security/users/%host%/%user%</D:href>
</D:owner>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
1.2 +12 -11
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-current-user-privilege-set.xml
Index: PropPatch-current-user-privilege-set.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-current-user-privilege-set.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PropPatch-current-user-privilege-set.xml 24 Jun 2002 11:23:19 -0000 1.1
+++ PropPatch-current-user-privilege-set.xml 4 Jul 2002 11:51:22 -0000 1.2
@@ -31,18 +31,19 @@
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>Content-Type: text/xml; charset="UTF-8"</header>
<body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
- <D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
- <D:propstat>
- <D:prop><D:current-user-privilege-set/></D:prop>
- <D:status>HTTP/1.1 403 Forbidden</D:status>
- <D:responsedescription>Failure to set protected property
(DAV:current-user-privilege-set)</D:responsedescription>
- </D:propstat>
- </D:response>
- </D:multistatus>]]>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:current-user-privilege-set />
+ </D:prop>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>]]>
</body>
</response>
</step>
1.2 +12 -11
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-ACL.xml
Index: PropPatch-ACL.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlProperties/ProtectedProperties/PropPatch-ACL.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PropPatch-ACL.xml 24 Jun 2002 11:23:19 -0000 1.1
+++ PropPatch-ACL.xml 4 Jul 2002 11:51:22 -0000 1.2
@@ -31,18 +31,19 @@
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
+ <header>Content-Type: text/xml; charset="UTF-8"</header>
<body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
- <D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
- <D:propstat>
- <D:prop><D:acl/></D:prop>
- <D:status>HTTP/1.1 403 Forbidden</D:status>
- <D:responsedescription>Failure to set protected property
(DAV:acl)</D:responsedescription>
- </D:propstat>
- </D:response>
- </D:multistatus>]]>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>/%globalVariableServerName%/%globalVariableCollection%/</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:acl />
+ </D:prop>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>]]>
</body>
</response>
</step>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>