juergen     2003/11/21 05:27:06

  Modified:    testsuite/testsuite/junit/xmltestcases/ACL/functional/users/Report
                        ACLPrincipalMatchPrincipal-PropertySelfPropReport.xml
  Log:
  (fga) improved test description.
  
  Revision  Changes    Path
  1.3       +141 -149  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/users/Report/ACLPrincipalMatchPrincipal-PropertySelfPropReport.xml
  
  Index: ACLPrincipalMatchPrincipal-PropertySelfPropReport.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/users/Report/ACLPrincipalMatchPrincipal-PropertySelfPropReport.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ACLPrincipalMatchPrincipal-PropertySelfPropReport.xml     18 Nov 2003 11:58:08 
-0000      1.2
  +++ ACLPrincipalMatchPrincipal-PropertySelfPropReport.xml     21 Nov 2003 13:27:06 
-0000      1.3
  @@ -1,117 +1,109 @@
   <?xml version="1.0" encoding="utf-8"?>
   <!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
   <test>
  -  <specification>
  -    <abstract> Test to check REPORT command </abstract>
  -    <description>
  -             1) REPORT command which obtains information about the resource with 
the default depth
  -             2) REPORT command which obtains information about the resource with 
depth = 0
  -             2) REPORT command which obtains information about the resource with 
depth = 1
  -             3) REPORT command which obtains information about the resource with 
depth = infinity
  +     <specification>
  +             <abstract> Test to check REPORT command for DAV:self.</abstract>
  +             <description>
  +             1) REPORT for DAV:principal-match for DAV:self and property 
displayname with depth = 0.
  +             2) REPORT for DAV:principal-match for DAV:self and property 
displayname with depth = 1.
  +             3) REPORT for DAV:principal-match for DAV:self and property 
displayname with depth = infinity.
  +             4) REPORT for DAV:principal-match for DAV:self and property 
displayname with the default depth.
                </description>
  -    <expectedResult> When DAV:self element with prop displayname is issued in 
DAV:principal-match, against a group, it returns all the collections where the user 
(principal) is a member of those collections and the displayname property of those 
collections </expectedResult>
  -  </specification>
  -  <step>
  -    <user varUsage="user">%user%</user>
  -    <password varUsage="user">%user%</password>
  -    <request>
  -      <command 
varUsage="globalVariableRootUserPath,globalVariableServerName,user,host">REPORT 
%globalVariableRootUserPath% HTTP/1.0</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <header>Depth: 0</header>
  -      <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  -<D:principal-match xmlns:D="DAV:">
  -  <D:self />
  -  <D:prop>
  -    <D:displayname />
  -  </D:prop>
  -</D:principal-match>
  -
  -]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 207 Multi-Status</command>
  -      <body 
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host,globalVariableCollection"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  -<D:multistatus xmlns:D="DAV:">
  -  
  -  
  +             <expectedResult>
  +                     When DAV:self element with prop displayname is issued in 
DAV:principal-match, against a group, it returns all the collections where the user 
(principal) is a member of those collections and the displayname property of those 
collections
  +             </expectedResult>
  +     </specification>
  +     <step>
  +             <user varUsage="user">%user%</user>
  +             <password varUsage="user">%user%</password>
  +             <request>
  +                     <command 
varUsage="globalVariableRootUserPath,globalVariableServerName,user,host">REPORT 
%globalVariableRootUserPath% HTTP/1.0</command>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <header>Depth: 0</header>
  +                     <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +                             <D:principal-match xmlns:D="DAV:">
  +                                     <D:self/>
  +                                     <D:prop>
  +                                             <D:displayname/>
  +                                     </D:prop>
  +                             </D:principal-match>
  +]]></body>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 207 Multi-Status</command>
  +                     <body 
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host,globalVariableCollection"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  +                             <D:multistatus xmlns:D="DAV:">
                            *
  -                         
  -  
  -  <D:response>
  -    <D:href>%globalVariableUserPath%</D:href>
  -    <D:propstat>
  -      <D:prop>
  -        <D:displayname>*</D:displayname>
  -      </D:prop>
  -      <D:status>HTTP/1.1 200 OK</D:status>
  -    </D:propstat>
  -  </D:response>
  -</D:multistatus>
  -
  -]]></body>
  -    </response>
  -  </step>
  -  <step>
  -    <user varUsage="user">%user%</user>
  -    <password varUsage="user">%user%</password>
  -    <request>
  -      <command 
varUsage="globalVariableRootUserPath,globalVariableServerName,user,host">REPORT 
%globalVariableRootUserPath% HTTP/1.0</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <header>Depth: 1</header>
  -      <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  -<D:principal-match xmlns:D="DAV:">
  -  <D:self />
  -  <D:prop>
  -    <D:displayname />
  -  </D:prop>
  -</D:principal-match>
  -
  -]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 207 Multi-Status</command>
  -      <body 
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host,globalVariableCollection"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  -<D:multistatus xmlns:D="DAV:">
  -  
  -  
  +                     <D:response>
  +                             <D:href>%globalVariableUserPath%</D:href>
  +                                             <D:propstat>
  +                                                     <D:prop>
  +                                                             
<D:displayname>*</D:displayname>
  +                                                     </D:prop>
  +                                                     <D:status>HTTP/1.1 200 
OK</D:status>
  +                                             </D:propstat>
  +                                     </D:response>
  +                             </D:multistatus>
  +
  +]]></body>
  +             </response>
  +     </step>
  +     <step>
  +             <user varUsage="user">%user%</user>
  +             <password varUsage="user">%user%</password>
  +             <request>
  +                     <command 
varUsage="globalVariableRootUserPath,globalVariableServerName,user,host">REPORT 
%globalVariableRootUserPath% HTTP/1.0</command>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <header>Depth: 1</header>
  +                     <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +                             <D:principal-match xmlns:D="DAV:">
  +                                     <D:self/>
  +                                     <D:prop>
  +                                             <D:displayname/>
  +                                     </D:prop>
  +                             </D:principal-match>
  +]]></body>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 207 Multi-Status</command>
  +                     <body 
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host,globalVariableCollection"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  +                             <D:multistatus xmlns:D="DAV:">
                            *
                            
  -  
  -  <D:response>
  -    <D:href>%globalVariableUserPath%</D:href>
  -    <D:propstat>
  -      <D:prop>
  -        <D:displayname>*</D:displayname>
  -      </D:prop>
  -      <D:status>HTTP/1.1 200 OK</D:status>
  -    </D:propstat>
  -  </D:response>
  -</D:multistatus>
  -
  -]]></body>
  -    </response>
  -  </step>
  -  <step>
  -    <user varUsage="user">%user%</user>
  -    <password varUsage="user">%user%</password>
  -    <request>
  -      <command 
varUsage="globalVariableRootUserPath,globalVariableServerName,user,host">REPORT 
%globalVariableRootUserPath% HTTP/1.0</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <header>Depth: infinity</header>
  -      <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  -<D:principal-match xmlns:D="DAV:">
  -  <D:self />
  -  <D:prop>
  -    <D:displayname />
  -  </D:prop>
  -</D:principal-match>
  -
  -]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 207 Multi-Status</command>
  -      <body 
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host,globalVariableCollection"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  -<D:multistatus xmlns:D="DAV:">
  +                                     <D:response>
  +                                             
<D:href>%globalVariableUserPath%</D:href>
  +                                             <D:propstat>
  +                                                     <D:prop>
  +                                                             
<D:displayname>*</D:displayname>
  +                                                     </D:prop>
  +                                                     <D:status>HTTP/1.1 200 
OK</D:status>
  +                                             </D:propstat>
  +                                     </D:response>
  +                             </D:multistatus>
  +]]></body>
  +             </response>
  +     </step>
  +     <step>
  +             <user varUsage="user">%user%</user>
  +             <password varUsage="user">%user%</password>
  +             <request>
  +                     <command 
varUsage="globalVariableRootUserPath,globalVariableServerName,user,host">REPORT 
%globalVariableRootUserPath% HTTP/1.0</command>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <header>Depth: infinity</header>
  +                     <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +                             <D:principal-match xmlns:D="DAV:">
  +                                     <D:self/>
  +                                     <D:prop>
  +                                             <D:displayname/>
  +                                     </D:prop>
  +                             </D:principal-match>
  +
  +]]></body>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 207 Multi-Status</command>
  +                     <body 
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host,globalVariableCollection"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  +                             <D:multistatus xmlns:D="DAV:">
     
     
                            *
  @@ -119,38 +111,38 @@
     
     <D:response>
       <D:href>%globalVariableUserPath%</D:href>
  -    <D:propstat>
  -      <D:prop>
  -        <D:displayname>*</D:displayname>
  -      </D:prop>
  -      <D:status>HTTP/1.1 200 OK</D:status>
  -    </D:propstat>
  -  </D:response>
  -</D:multistatus>
  -
  -]]></body>
  -    </response>
  -  </step>
  -  <step>
  -    <user varUsage="user">%user%</user>
  -    <password varUsage="user">%user%</password>
  -    <request>
  -      <command 
varUsage="globalVariableRootUserPath,globalVariableServerName,user,host">REPORT 
%globalVariableRootUserPath% HTTP/1.0</command>
  -      <header>Content-Type: text/xml; charset="utf-8"</header>
  -      <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  -<D:principal-match xmlns:D="DAV:">
  -  <D:self />
  -  <D:prop>
  -    <D:displayname />
  -  </D:prop>
  -</D:principal-match>
  -
  -]]></body>
  -    </request>
  -    <response>
  -      <command>HTTP/1.0 207 Multi-Status</command>
  -      <body 
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host,globalVariableCollection"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  -<D:multistatus xmlns:D="DAV:">
  +                                             <D:propstat>
  +                                                     <D:prop>
  +                                                             
<D:displayname>*</D:displayname>
  +                                                     </D:prop>
  +                                                     <D:status>HTTP/1.1 200 
OK</D:status>
  +                                             </D:propstat>
  +                                     </D:response>
  +                             </D:multistatus>
  +
  +]]></body>
  +             </response>
  +     </step>
  +     <step>
  +             <user varUsage="user">%user%</user>
  +             <password varUsage="user">%user%</password>
  +             <request>
  +                     <command 
varUsage="globalVariableRootUserPath,globalVariableServerName,user,host">REPORT 
%globalVariableRootUserPath% HTTP/1.0</command>
  +                     <header>Content-Type: text/xml; charset="utf-8"</header>
  +                     <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  +                             <D:principal-match xmlns:D="DAV:">
  +                                     <D:self/>
  +                                     <D:prop>
  +                                             <D:displayname/>
  +                                     </D:prop>
  +                             </D:principal-match>
  +
  +]]></body>
  +             </request>
  +             <response>
  +                     <command>HTTP/1.0 207 Multi-Status</command>
  +                     <body 
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host,globalVariableCollection"><![CDATA[<?xml
 version="1.0" encoding="utf-8"?>
  +                             <D:multistatus xmlns:D="DAV:">
     
     
                            *
  @@ -158,17 +150,17 @@
     
     <D:response>
       <D:href>%globalVariableUserPath%</D:href>
  -    <D:propstat>
  -      <D:prop>
  -        <D:displayname>*</D:displayname>
  -      </D:prop>
  -      <D:status>HTTP/1.1 200 OK</D:status>
  -    </D:propstat>
  -  </D:response>
  -</D:multistatus>
  +                                             <D:propstat>
  +                                                     <D:prop>
  +                                                             
<D:displayname>*</D:displayname>
  +                                                     </D:prop>
  +                                                     <D:status>HTTP/1.1 200 
OK</D:status>
  +                                             </D:propstat>
  +                                     </D:response>
  +                             </D:multistatus>
   
   ]]></body>
  -    </response>
  -  </step>
  +             </response>
  +     </step>
   </test>
   
  
  
  

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

Reply via email to