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/30 18:47:37 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/ACL ACLGrantReadACL_en.xml ACLGrantReadACL_en2.xml
juergen 2002/09/30 09:47:37
Added: testsuite/testsuite/junit/xmltestcases/I18N/ACL
ACLGrantReadACL_en.xml ACLGrantReadACL_en2.xml
Log:
i18n
Revision Changes Path
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/ACL/ACLGrantReadACL_en.xml
Index: ACLGrantReadACL_en.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if possible to grant read-acl while having read privilege. </abstract>
<description>
1) ACL command which grants read access to the user àçèéäöüÄÖÜ
2) ACL command which denies read-acl access to the user àçèéäöüÄÖÜ
3) ACL command which grants read-acl access to the user àçèéäöüÄÖÜ
</description>
<expectedResult> All ACL Methods should return 200 OK </expectedResult>
</specification>
<step>
<user varUsage="user">2àçèéäöüÄÖÜ</user>
<password varUsage="user">2àçèéäöüÄÖÜ</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>%globalVariableUserPath%</D:href>
</D:principal>
<D:grant>
<D:privilege><D:read/></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]></body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<user varUsage="user">2àçèéäöüÄÖÜ</user>
<password varUsage="user">2àçèéäöüÄÖÜ</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>%globalVariableUserPath%</D:href>
</D:principal>
<D:deny>
<D:privilege><D:read-acl /></D:privilege>
</D:deny>
</D:ace>
</D:acl>]]></body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>%globalVariableUserPath%</D:href>
</D:principal>
<D:grant>
<D:privilege><D:read-acl/></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]></body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<cleanup>
<step>
<user varUsage="user">2àçèéäöüÄÖÜ</user>
<password varUsage="user">2àçèéäöüÄÖÜ</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
</D:acl>]]></body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
</cleanup>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/ACL/ACLGrantReadACL_en2.xml
Index: ACLGrantReadACL_en2.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if possible to grant read-acl while having read privilege. </abstract>
<description>
1) ACL command which grants read access to the user 2xdavxdavxdav
2) ACL command which denies read-acl access to the user 2xdavxdavxdav
3) ACL command which grants read-acl access to the user 2xdavxdavxdav
</description>
<expectedResult> All ACL Methods should return 200 OK </expectedResult>
</specification>
<step>
<user varUsage="user">2xdavxdavxdav</user>
<password varUsage="user">2xdavxdavxdav</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>%globalVariableUserPath%</D:href>
</D:principal>
<D:grant>
<D:privilege><D:read/></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]></body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<user varUsage="user">2xdavxdavxdav</user>
<password varUsage="user">2xdavxdavxdav</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>%globalVariableUserPath%</D:href>
</D:principal>
<D:deny>
<D:privilege><D:read-acl/></D:privilege>
</D:deny>
</D:ace>
</D:acl>]]></body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>%globalVariableUserPath%</D:href>
</D:principal>
<D:grant>
<D:privilege><D:read-acl /></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]></body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<cleanup>
<step>
<user varUsage="user">2xdavxdavxdav</user>
<password varUsage="user">2xdavxdavxdav</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
</D:acl>]]></body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
</cleanup>
</test>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>