juergen     2003/12/04 05:51:06

  Modified:    testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/Report
                        03_ACLPrincipalPropSet_ResourcetypeReport.xml
  Log:
  addaped to URM (Josef)
  
  Revision  Changes    Path
  1.3       +77 -76    
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/Report/03_ACLPrincipalPropSet_ResourcetypeReport.xml
  
  Index: 03_ACLPrincipalPropSet_ResourcetypeReport.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/Report/03_ACLPrincipalPropSet_ResourcetypeReport.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- 03_ACLPrincipalPropSet_ResourcetypeReport.xml     18 Nov 2003 10:16:45 -0000     
 1.2
  +++ 03_ACLPrincipalPropSet_ResourcetypeReport.xml     4 Dec 2003 13:51:06 -0000      
 1.3
  @@ -1,31 +1,40 @@
   <?xml version="1.0" encoding="utf-8"?>
   <!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
   <test>
  -  <specification>
  -    <abstract>Check REPORT for acl (deny all ) on a group </abstract>
  -    <description>
  +     <specification>
  +             <abstract>Check REPORT for acl (deny all ) on a group </abstract>
  +             <description>
                1) prepare test: MKCOL /test, ACL command which denies all access to 
the user %globalVariableGroupsColl%1 on /test
                3) REPORT command which obtains information about /test
                </description>
  -    <expectedResult> The (acl-principal-prop-set) Report returns resourcetype 
property for principal %globalVariableGroupsColl% and  
"administration/security/userdb"  </expectedResult>
  -  </specification>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">MKCOL 
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 201 Created</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">ACL 
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
  -      <header>Content-Type: text/xml; charset=utf-8</header>
  -      <body 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName,user"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  +             <expectedResult> The (acl-principal-prop-set) Report returns 
resourcetype property for principal %globalVariableGroupsColl% and  
"administration/security/userdb"  </expectedResult>
  +     </specification>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">MKCOL 
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 201 Created</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl">MKCOL 
%globalVariableRootUserPath%/%globalVariableGroupsColl%/tmpGroup HTTP/1.1</command>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.1 201 Created</command>
  +             </response>
  +     </step>
  +
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">ACL 
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
  +                     <header>Content-Type: text/xml; charset=utf-8</header>
  +                     <body 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName,user"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
   <D:acl xmlns:D="DAV:">
     <D:ace>
       <D:principal>
  -      
<D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%/%globalVariableGroup%1</D:href>
  +      
<D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%/tmpGroup</D:href>
       </D:principal>
       <D:deny>
         <D:privilege>
  @@ -36,16 +45,17 @@
   </D:acl>
   
   ]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 200 OK</command>
  -    </response>
  -  </step>
  -  <step>
  -    <request>
  -      <command varUsage="globalVariableCollection,globalVariableServerName">REPORT 
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.0</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 200 OK</command>
  +             </response>
  +     </step>
  +     <step>
  +             <request>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">REPORT 
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.0</command>
  +                     <header>Depth: 0</header>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
   <D:acl-principal-prop-set xmlns:D="DAV:">
     <D:prop>
       <D:resourcetype />
  @@ -53,29 +63,16 @@
   </D:acl-principal-prop-set>
   
   ]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 207 Multi-Status</command>
  -      <body 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 207 Multi-Status</command>
  +                     <body 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
   <D:multistatus xmlns:D="DAV:">
  -  <D:response>
  -    <D:href 
varUsage="globalVariableServerName">%globalVariableRootUserPath%</D:href>
  -    <D:propstat>
  -      <D:prop>
  -        <D:resourcetype>
  -          <D:collection />
  -          <D:principal />
  -        </D:resourcetype>
  -      </D:prop>
  -      <D:status>HTTP/1.1 200 OK</D:status>
  -    </D:propstat>
  -  </D:response>
  -  <D:response>
  -    
<D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%/%globalVariableGroup%1</D:href>
  +   <D:response>
  +    
<D:href>%globalVariableRootUserPath%/%globalVariableGroupsColl%/tmpGroup</D:href>
       <D:propstat>
         <D:prop>
           <D:resourcetype>
  -          <D:collection />
             <D:principal />
           </D:resourcetype>
         </D:prop>
  @@ -85,35 +82,39 @@
   </D:multistatus>
   
   ]]></body>
  -    </response>
  -  </step>
  -  <!-- input test of read privilege -->
  -  <cleanup>
  -    <step>
  -      <user varUsage="user">%user%2</user>
  -      <password varUsage="user">%user%2</password>
  -      <request>
  -        <command varUsage="globalVariableCollection,globalVariableServerName">ACL 
/%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
  -        <header>Content-Type: text/xml; charset=utf-8</header>
  -        <body 
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml 
version="1.0" encoding="utf-8"?>
  +             </response>
  +     </step>
  +     <!-- input test of read privilege -->
  +     <cleanup>
  +             <step>
  +                     <request>
  +                             <command 
varUsage="globalVariableCollection,globalVariableServerName">ACL 
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
  +                             <header>Content-Type: text/xml; charset=utf-8</header>
  +                             <body 
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml 
version="1.0" encoding="utf-8"?>
   <D:acl xmlns:D="DAV:" />
   
   ]]></body>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 200 OK</command>
  -      </response>
  -    </step>
  -    <step>
  -      <user varUsage="user">%user%2</user>
  -      <password varUsage="user">%user%2</password>
  -      <request>
  -        <command 
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
  -      </request>
  -      <response>
  -        <command>HTTP/1.0 204 No Content</command>
  -      </response>
  -    </step>
  -  </cleanup>
  -</test>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 200 OK</command>
  +                     </response>
  +             </step>
  +             <step>
  +                     <request>
  +                             <command 
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE 
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
  +             <step>
  +                     <request>
  +                             <command 
varUsage="globalVariableRootUserPath,globalVariableGroupsColl">DELETE 
%globalVariableRootUserPath%/%globalVariableGroupsColl%/tmpGroup HTTP/1.1</command>
  +                     </request>
  +                     <response>
  +                             <command>HTTP/1.0 204 No Content</command>
  +                     </response>
  +             </step>
   
  +     </cleanup>
  +</test>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to