You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2003/11/26 10:13:00 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlProperties 03_PropFind-principal-URL.xml
juergen 2003/11/26 01:12:59
Modified: testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlProperties
03_PropFind-principal-URL.xml
Log:
fixed test (eckehard)
Revision Changes Path
1.3 +18 -32 jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlProperties/03_PropFind-principal-URL.xml
Index: 03_PropFind-principal-URL.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlProperties/03_PropFind-principal-URL.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- 03_PropFind-principal-URL.xml 18 Nov 2003 10:13:57 -0000 1.2
+++ 03_PropFind-principal-URL.xml 26 Nov 2003 09:12:59 -0000 1.3
@@ -2,47 +2,23 @@
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
- <abstract>Test to check Principle-Collection-set property on a group</abstract>
+ <abstract>Test to check Principle-URL property on a user and a group</abstract>
<description>1) Propfind on a collection to check for "Principle-Collection" property.</description>
<expectedResult>Property found by propFind</expectedResult>
</specification>
- <step>
+
+ <step>
<request>
- <command varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableUsersColl,globalVariableGroup,globalVariableServerName,user">PROPFIND %globalVariableRootUserPath%/%globalVariableUsersColl%/%user% HTTP/1.1</command>
- <header>Content-Type: text/xml; charset=utf-8</header>
- <header>Depth: 0</header>
- <body varUsage="globalVariableGroupsColl,globalVariableUsersColl,globalVariableServerName,user"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
-<D:propfind xmlns:D="DAV:">
- <D:prop>
- <D:principal-URL />
- </D:prop>
-</D:propfind>
-
-]]></body>
+ <command varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName">MKCOL %globalVariableRootUserPath%/%globalVariableGroupsColl%/_test%globalVariableGroup% HTTP/1.1</command>
</request>
<response>
- <command>HTTP/1.0 207 Multi Status</command>
- <body varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableUsersColl,globalVariableGroup,globalVariableCollection,userNumber,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
-<D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>%globalVariableRootUserPath%/%globalVariableUsersColl%/%user%</D:href>
- <D:propstat>
- <D:prop>
- <D:principal-URL>
- <D:href>%globalVariableRootUserPath%/%globalVariableUsersColl%/%user%</D:href>
- </D:principal-URL>
- </D:prop>
- <D:status>HTTP/1.1 200 OK</D:status>
- </D:propstat>
- </D:response>
-</D:multistatus>
-
-]]></body>
+ <command>HTTP/1.0 201 Created</command>
</response>
</step>
+
<step>
<request>
- <command varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableUsersColl,globalVariableGroup,globalVariableServerName,user">PROPFIND %globalVariableRootUserPath%/%globalVariableGroupsColl%/%globalVariableGroup%0/%user% HTTP/1.1</command>
+ <command varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableUsersColl,globalVariableGroup,globalVariableServerName,user">PROPFIND %globalVariableRootUserPath%/%globalVariableUsersColl%/%user% HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>Depth: 0</header>
<body varUsage="globalVariableGroupsColl,globalVariableUsersColl,globalVariableServerName,user"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
@@ -59,7 +35,7 @@
<body varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableUsersColl,globalVariableGroup,globalVariableCollection,userNumber,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
- <D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%/%globalVariableGroup%0/%user%</D:href>
+ <D:href>%globalVariableRootUserPath%/%globalVariableUsersColl%/%user%</D:href>
<D:propstat>
<D:prop>
<D:principal-URL>
@@ -74,6 +50,7 @@
]]></body>
</response>
</step>
+
<step>
<request>
<command varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableUsersColl,globalVariableGroup,globalVariableServerName">PROPFIND %globalVariableRootUserPath%/%globalVariableGroupsColl%/%globalVariableGroup%0 HTTP/1.1</command>
@@ -108,5 +85,14 @@
]]></body>
</response>
</step>
+
+ <step>
+ <request>
+ <command varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName">DELETE %globalVariableRootUserPath%/%globalVariableGroupsColl%/_test%globalVariableGroup% HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
</test>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org