juergen     2003/11/24 03:40:30

  Modified:    
testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlProperties
                        01_PropFind-Principal-collection-set.xml
  Log:
  fixed test (eckehard)
  
  Revision  Changes    Path
  1.3       +25 -37    
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlProperties/01_PropFind-Principal-collection-set.xml
  
  Index: 01_PropFind-Principal-collection-set.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlProperties/01_PropFind-Principal-collection-set.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- 01_PropFind-Principal-collection-set.xml  18 Nov 2003 10:13:57 -0000      1.2
  +++ 01_PropFind-Principal-collection-set.xml  24 Nov 2003 11:40:30 -0000      1.3
  @@ -6,9 +6,18 @@
       <description>1) Propfind on a collection to check for "Principle-Collection" 
property.</description>
       <expectedResult>Property found by propFind</expectedResult>
     </specification>
  +  
  +    <step>
  +    <request>
  +      <command 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName">MKCOL
 %globalVariableRootUserPath%/%globalVariableGroupsColl%/_test%globalVariableGroup% 
HTTP/1.1</command>
  +    </request>
  +    <response>
  +      <command>HTTP/1.0 201 Created</command>
  +    </response>
  +  </step>
     <step>
       <request>
  -      <command 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName">PROPFIND
 %globalVariableRootUserPath%/%globalVariableGroupsColl%/%globalVariableGroup%0 
HTTP/1.1</command>
  +      <command 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName">PROPFIND
 %globalVariableRootUserPath%/%globalVariableGroupsColl%/_test%globalVariableGroup% 
HTTP/1.1</command>
         <header>Content-Type: text/xml; charset=utf-8</header>
         <body 
varUsage="globalVariableGroupsColl,globalVariableServerName,user"><![CDATA[<?xml 
version="1.0" encoding="utf-8"?>
   <D:propfind xmlns:D="DAV:">
  @@ -21,47 +30,17 @@
       </request>
       <response>
         <command>HTTP/1.0 207 Multi Status</command>
  -      <body 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableCollection,userNumber,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  +      <body 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableUsersColl,globalVariableRolesColl,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</D:href>
  -    <D:propstat>
  -      <D:prop>
  -        <D:principal-collection-set>
  -          <D:href>%globalVariableRootUserPath%</D:href>
  -        </D:principal-collection-set>
  -      </D:prop>
  -      <D:status>HTTP/1.1 200 OK</D:status>
  -    </D:propstat>
  -  </D:response>
  -  <D:response>
  -    
<D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%/%globalVariableGroup%0/2%user%</D:href>
  -    <D:propstat>
  -      <D:prop>
  -        <D:principal-collection-set>
  -          <D:href>%globalVariableRootUserPath%</D:href>
  -        </D:principal-collection-set>
  -      </D:prop>
  -      <D:status>HTTP/1.1 200 OK</D:status>
  -    </D:propstat>
  -  </D:response>
  -  <D:response>
  -    
<D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%/%globalVariableGroup%0/%user%2</D:href>
  -    <D:propstat>
  -      <D:prop>
  -        <D:principal-collection-set>
  -          <D:href>%globalVariableRootUserPath%</D:href>
  -        </D:principal-collection-set>
  -      </D:prop>
  -      <D:status>HTTP/1.1 200 OK</D:status>
  -    </D:propstat>
  -  </D:response>
  -  <D:response>
  -    
<D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%/%globalVariableGroup%0/%user%</D:href>
  +    
<D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%/_test%globalVariableGroup%</D:href>
       <D:propstat>
         <D:prop>
           <D:principal-collection-set>
  -          <D:href>%globalVariableRootUserPath%</D:href>
  +          <D:href>%globalVariableRootUserPath%/%globalVariableUsersColl%</D:href>
  +          <D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%</D:href>
  +          <D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%</D:href>
           </D:principal-collection-set>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
  @@ -72,5 +51,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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to