juergen     2003/07/04 06:27:57

  Added:       
testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/AccessControlProperties
                        01_PropFind-Principal-collection-set.xml
                        02_PropFind-group-member-set.xml
                        03_PropFind-principal-URL.xml
                        04_PropFind-alternate-URI-set.xml
                        05_PropFind-group-membership.xml
  Log:
  Initial version
  (Josef)
  
  Revision  Changes    Path
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/AccessControlProperties/01_PropFind-Principal-collection-set.xml
  
  Index: 01_PropFind-Principal-collection-set.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
        <specification>
                <abstract>Test to check Principle-Collection-set property on a 
group</abstract>
                <description>1) Propfind on a collection to check for 
"Principle-Collection" property.</description>
                <expectedResult>Property found by propFind</expectedResult>
        </specification>
        <step>
                <request>
                        <command 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName">PROPFIND
 /%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0 
HTTP/1.1</command>
                        <header>Content-Type: text/xml; charset=utf-8</header>
                        <header>User-Agent: Jakarta HTTP Client/1.0</header>
                        <body 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName,user"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
     <D:propfind xmlns:D="DAV:">
        <D:prop>
           <D:principal-collection-set/>
         </D:prop>
      </D:propfind>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi Status</command>
                        <body 
varUsage="globalVariableGroup,globalVariableCollection,userNumber,globalVariableUsersPath,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
                        <D:multistatus xmlns:D="DAV:">
                <D:response xmlns:D="DAV:">     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0</D:href>
     
                        <D:propstat>         
                                <D:prop>             
                                <D:principal-collection-set>                 
                                
<D:href>/%globalVariableServerName%%globalVariableUsersPath%</D:href>             
                                </D:principal-collection-set>         
                                </D:prop>         
                                <D:status>HTTP/1.1 200 OK</D:status>     
                        </D:propstat> 
                </D:response>
                <D:response xmlns:D="DAV:">     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/2%user%</D:href>
     
                                <D:propstat>         
                                <D:prop>             
                                <D:principal-collection-set>                 
                                
<D:href>/%globalVariableServerName%%globalVariableUsersPath%</D:href>             
                                </D:principal-collection-set>         
                                </D:prop>         
                                <D:status>HTTP/1.1 200 OK</D:status>     
                        </D:propstat> 
                </D:response>
                <D:response xmlns:D="DAV:">     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%2</D:href>
     
                        <D:propstat>         
                        <D:prop>             
                        <D:principal-collection-set>                 
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%</D:href>             
                        </D:principal-collection-set>         
                        </D:prop>         
                        <D:status>HTTP/1.1 200 OK</D:status>     
                </D:propstat> 
                </D:response>
                <D:response xmlns:D="DAV:">     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%</D:href>
     
                        <D:propstat>         
                        <D:prop>             
                        <D:principal-collection-set>                 
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%</D:href>             
                        </D:principal-collection-set>         
                        </D:prop>         
                        <D:status>HTTP/1.1 200 OK</D:status>     
                </D:propstat> 
                </D:response>
        </D:multistatus>
                        ]]></body>
                </response>
        </step>
  </test>
  
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/AccessControlProperties/02_PropFind-group-member-set.xml
  
  Index: 02_PropFind-group-member-set.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
        <specification>
                <abstract>Test to check Principle-Collection-set property on a 
group</abstract>
                <description>1) Propfind on a collection to check for 
"Principle-Collection" property.</description>
                <expectedResult>Property found by propFind</expectedResult>
        </specification>
        <step>
                <request>
                        <command 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName">PROPFIND
 /%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0 
HTTP/1.1</command>
                        <header>Content-Type: text/xml; charset=utf-8</header>
                        <header>User-Agent: Jakarta HTTP Client/1.0</header>
                        <body 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName,user"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
     <D:propfind xmlns:D="DAV:">
        <D:prop>
           <D:group-member-set/>
         </D:prop>
      </D:propfind>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi Status</command>
                        <body 
varUsage="globalVariableGroup,globalVariableCollection,userNumber,globalVariableUsersPath,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
                        <D:multistatus xmlns:D="DAV:">
                        
                        <D:response xmlns:D="DAV:">     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0</D:href>
     
                        <D:propstat>         
                        <D:prop>             
                        <D:group-member-set />         
                        </D:prop>         
                        <D:status>HTTP/1.1 200 OK</D:status>     
                        </D:propstat> 
                        </D:response>
                        <D:response xmlns:D="DAV:">     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/2%user%</D:href>
     
                        <D:propstat>         
                        <D:prop>             
                        <D:group-member-set />         
                        </D:prop>         
                        <D:status>HTTP/1.1 404 Not Found</D:status>     
                        </D:propstat> 
                        </D:response>
                        <D:response xmlns:D="DAV:">     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%2</D:href>
     
                        <D:propstat>         
                        <D:prop>             
                        <D:group-member-set />         
                        </D:prop>         
                        <D:status>HTTP/1.1 404 Not Found</D:status>     
                        </D:propstat> 
                        </D:response>
                        <D:response xmlns:D="DAV:">     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%</D:href>
     
                        <D:propstat>         
                        <D:prop>             
                        <D:group-member-set />         
                        </D:prop>         
                        <D:status>HTTP/1.1 404 Not Found</D:status>     
                        </D:propstat> 
                        </D:response>
                        </D:multistatus>
                        ]]></body>
                </response>
        </step>
  </test>
  
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/AccessControlProperties/03_PropFind-principal-URL.xml
  
  Index: 03_PropFind-principal-URL.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
        <specification>
                <abstract>Test to check Principle-Collection-set property on a 
group</abstract>
                <description>1) Propfind on a collection to check for 
"Principle-Collection" property.</description>
                <expectedResult>Property found by propFind</expectedResult>
        </specification>
        <step>
                <request>
                        <command 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName,user">PROPFIND
 /%globalVariableServerName%%globalVariableUsersPath%/users/%user% HTTP/1.1</command>
                        <header>Content-Type: text/xml; charset=utf-8</header>
                        <header>User-Agent: Jakarta HTTP Client/1.0</header>
                        <header>Depth: 0</header>
                        <body 
varUsage="globalVariableGroup,globalVariableUsersPath,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>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi Status</command>
                        <body 
varUsage="globalVariableGroup,globalVariableCollection,userNumber,globalVariableUsersPath,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
                        <D:multistatus xmlns:D="DAV:">     
                        <D:response>         
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/users/%user%</D:href>     
    
                        <D:propstat>             
                        <D:prop>                 
                        <D:principal-URL>                     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/users/%user%</D:href>     
            
                        </D:principal-URL>             
                        </D:prop>             
                        <D:status>HTTP/1.1 200 OK</D:status>         
                        </D:propstat>     
                        </D:response> 
                        </D:multistatus>
                        ]]></body>
                </response>
        </step>
  
        <step>
                <request>
                        <command 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName,user">PROPFIND
 
/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%
 HTTP/1.1</command>
                        <header>Content-Type: text/xml; charset=utf-8</header>
                        <header>User-Agent: Jakarta HTTP Client/1.0</header>
                        <header>Depth: 0</header>
                        <body 
varUsage="globalVariableGroup,globalVariableUsersPath,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>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi Status</command>
                        <body 
varUsage="globalVariableGroup,globalVariableCollection,userNumber,globalVariableUsersPath,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
                        <D:multistatus xmlns:D="DAV:">     
                        <D:response>         
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%</D:href>
         
                        <D:propstat>             
                        <D:prop>                 
                        <D:principal-URL>                     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/users/%user%</D:href>     
            
                        </D:principal-URL>             
                        </D:prop>             
                        <D:status>HTTP/1.1 200 OK</D:status>         
                        </D:propstat>     
                        </D:response> 
                        </D:multistatus>
                        ]]></body>
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName">PROPFIND
 /%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0 
HTTP/1.1</command>
                        <header>Content-Type: text/html; charset=utf-8</header>
                        <header>User-Agent: Jakarta HTTP Client/1.0</header>
                        <header>Depth: 0</header>
                        <body 
varUsage="globalVariableGroup,globalVariableUsersPath,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>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi Status</command>
                        <body 
varUsage="globalVariableGroup,globalVariableCollection,userNumber,globalVariableUsersPath,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
                        <D:multistatus xmlns:D="DAV:">     
                        <D:response>         
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0</D:href>
         
                        <D:propstat>             
                        <D:prop>                 
                        <D:principal-URL>                     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0</D:href>
                 
                        </D:principal-URL>             
                        </D:prop>             
                        <D:status>HTTP/1.1 200 OK</D:status>         
                        </D:propstat>     
                        </D:response> 
                        </D:multistatus>
                        ]]></body>
                </response>
        </step>
  </test>
  
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/AccessControlProperties/04_PropFind-alternate-URI-set.xml
  
  Index: 04_PropFind-alternate-URI-set.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
        <specification>
                <abstract>Test to check Principle-Collection-set property on a 
group</abstract>
                <description>1) Propfind on a collection to check for 
"Principle-Collection" property.</description>
                <expectedResult>Property found by propFind</expectedResult>
        </specification>
        <step>
                <request>
                        <command 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName,user">PROPFIND
 /%globalVariableServerName%%globalVariableUsersPath%/users/%user% HTTP/1.1</command>
                        <header>Content-Type: text/xml; charset=utf-8</header>
                        <header>User-Agent: Jakarta HTTP Client/1.0</header>
                        <header>Depth: 0</header>
                        <body 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName,user"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
     <D:propfind xmlns:D="DAV:">
        <D:prop>
           <D:alternate-URI-set/>
         </D:prop>
      </D:propfind>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi Status</command>
                        <body 
varUsage="globalVariableGroup,globalVariableCollection,userNumber,globalVariableUsersPath,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
                        <D:multistatus xmlns:D="DAV:">     
                        <D:response>         
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/users/%user%</D:href>     
    
                        <D:propstat>             
                        <D:prop>                 
                        <D:alternate-URI-set>                     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%</D:href>
                 
                        </D:alternate-URI-set>             
                        </D:prop>             
                        <D:status>HTTP/1.1 200 OK</D:status>         
                        </D:propstat>     
                        </D:response> 
                        </D:multistatus>
                        ]]></body>
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName,user">PROPFIND
 
/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%
 HTTP/1.1</command>
                        <header>Content-Type: text/xml; charset=utf-8</header>
                        <header>User-Agent: Jakarta HTTP Client/1.0</header>
                        <header>Depth: 0</header>
                        <body 
varUsage="globalVariableGroup,globalVariableUsersPath,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>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi Status</command>
                        <body 
varUsage="globalVariableGroup,globalVariableCollection,userNumber,globalVariableUsersPath,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
                        <D:multistatus xmlns:D="DAV:">     
                        <D:response>         
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%</D:href>
         
                        <D:propstat>             
                        <D:prop>                 
                        <D:principal-URL>                     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/users/%user%</D:href>     
            
                        </D:principal-URL>             
                        </D:prop>             
                        <D:status>HTTP/1.1 200 OK</D:status>         
                        </D:propstat>     
                        </D:response> 
                        </D:multistatus>
                        ]]></body>
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName">PROPFIND
 /%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0 
HTTP/1.1</command>
                        <header>Content-Type: text/html; charset=utf-8</header>
                        <header>User-Agent: Jakarta HTTP Client/1.0</header>
                        <header>Depth: 0</header>
                        <body 
varUsage="globalVariableGroup,globalVariableUsersPath,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>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi Status</command>
                        <body 
varUsage="globalVariableGroup,globalVariableCollection,userNumber,globalVariableUsersPath,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
                        <D:multistatus xmlns:D="DAV:">     
                        <D:response>         
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0</D:href>
         
                        <D:propstat>             
                        <D:prop>                 
                        <D:principal-URL>                     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0</D:href>
                 
                        </D:principal-URL>             
                        </D:prop>             
                        <D:status>HTTP/1.1 200 OK</D:status>         
                        </D:propstat>     
                        </D:response> 
                        </D:multistatus>
                        ]]></body>
                </response>
        </step>
  </test>
  
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/groupFunctional/AccessControlProperties/05_PropFind-group-membership.xml
  
  Index: 05_PropFind-group-membership.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
        <specification>
                <abstract>Test to check Principle-Collection-set property on a 
group</abstract>
                <description>1) Propfind on a collection to check for 
"Principle-Collection" property.</description>
                <expectedResult>Property found by propFind</expectedResult>
        </specification>
        <step>
                <request>
                        <command 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName,user">PROPFIND
 
/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%
 HTTP/1.1</command>
                        <header>Content-Type: text/xml; charset=utf-8</header>
                        <header>User-Agent: Jakarta HTTP Client/1.0</header>
                        <body 
varUsage="globalVariableGroup,globalVariableUsersPath,globalVariableServerName,user"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
     <D:propfind xmlns:D="DAV:">
        <D:prop>
           <D:group-membership/>
         </D:prop>
      </D:propfind>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi Status</command>
                        <body 
varUsage="globalVariableGroup,globalVariableCollection,userNumber,globalVariableUsersPath,globalVariableServerName,user,host"><![CDATA[<?xml
 version="1.0" encoding="utf-8" ?>
                        <D:multistatus xmlns:D="DAV:">
                        <D:response xmlns:D="DAV:">     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0/%user%</D:href>
     
                        <D:propstat>         
                        <D:prop>             
                        <D:group-membership>                 
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/users</D:href>            
     
                        
<D:href>/%globalVariableServerName%%globalVariableUsersPath%/groups/%globalVariableGroup%0</D:href>
             
                        </D:group-membership>         
                        </D:prop>         
                        <D:status>HTTP/1.1 200 OK</D:status>     
                        </D:propstat> </D:response>
                        </D:multistatus>
                        ]]></body>
                </response>
        </step>
  </test>
  
  
  

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

Reply via email to