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 2002/09/24 13:34:24 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition ACE-ConflictGrantReadDenyAll.xml
juergen 2002/09/24 04:34:24
Modified: testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition
ACE-ConflictGrantReadDenyAll.xml
Log:
Modified the testcase to handle deny before garnt precondition
Revision Changes Path
1.6 +47 -0 jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition/ACE-ConflictGrantReadDenyAll.xml
Index: ACE-ConflictGrantReadDenyAll.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition/ACE-ConflictGrantReadDenyAll.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ACE-ConflictGrantReadDenyAll.xml 13 Aug 2002 10:32:34 -0000 1.5
+++ ACE-ConflictGrantReadDenyAll.xml 24 Sep 2002 11:34:24 -0000 1.6
@@ -42,6 +42,37 @@
<command>HTTP/1.0 200 OK</command>
</response>
</step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test.html HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body fileReference="../../../../contentDirectory/html.html"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ <header>Date: Wed, 14 Mar 2001 15:45:51 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">GET /%globalVariableServerName%/%globalVariableCollection%/test.html HTTP/1.1</command>
+ <header>Accept: */*</header>
+ <header>Accept-Language: en-us</header>
+ <header>Accept-Encoding: gzip, deflate</header>
+ <header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 403 Forbidden</command>
+ <header>Content-Type: text/html</header>
+ <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
+ </response>
+ </step>
<cleanup>
<step>
<user varUsage="user">2%user%</user>
@@ -58,5 +89,21 @@
<command>HTTP/1.0 200 OK</command>
</response>
</step>
+ <step>
+ <request>
+ <command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test.html HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Destroy: NoUndelete</header>
+ <header>Translate: f</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ <header>Date: Mon, 19 Mar 2001 16:49:09 GMT+01:00</header>
+ <header>Content-Language: en</header>
+ <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
+ </response>
+ </step>
</cleanup>
</test>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>