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/07/26 10:11:09 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR Versioncontrol.xml Update.xml Report.xml Mkworkspace.xml Label.xml Checkout.xml Checkin.xml
juergen 2002/07/26 01:11:09
Added: testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR
Versioncontrol.xml Update.xml Report.xml
Mkworkspace.xml Label.xml Checkout.xml Checkin.xml
Log:
new Deltav test cases
Revision Changes Path
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR/Versioncontrol.xml
Index: Versioncontrol.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if possible to put a resource which doesnt exists under version-control </abstract>
<description>
1) VERSION-CONTROL command which attempts to put a resource which doesnt exists under version-control
</description>
<expectedResult> version control command should return 404 Not Found </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/NR.xml HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 404 not Found</command>
</response>
</step>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR/Update.xml
Index: Update.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if possible to perform a Update command on a resource that doesnt exist </abstract>
<description>
1) Update command carried out on a resource which doesnt exists
</description>
<expectedResult> Update command should return 404 Not Found </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">UPDATE /%globalVariableServerName%/%globalVariableCollection%/NR.xml HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 404 Not Found</command>
</response>
</step>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR/Report.xml
Index: Report.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if possible to perform a Report command on a resource that doesnt exist </abstract>
<description>
1) Report command carried out on a resource which doesnt exists
</description>
<expectedResult> Report command should return 404 Not Found </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,userNumber,globalVariableServerName">REPORT /%globalVariableServerName%/%globalVariableCollection%/NR.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<body><![CDATA[<D:version-tree xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:version-tree>]]></body>
</request>
<response>
<command>HTTP/1.0 404 Not Found</command>
<header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
<body />
</response>
</step>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR/Mkworkspace.xml
Index: Mkworkspace.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if possible to perform a MkWorkspace command on a resource that doesnt exist </abstract>
<description>
1) MkWorkspace command carried out on a resource which doesnt exists
</description>
<expectedResult> Mkworksapce command should return 201 Created </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableServerName">MKWORKSPACE /%globalVariableServerName%/workspace/mycoll/NR HTTP/1.1</command>
<header>Content-length: 0</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<cleanup>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/workspace/%globalVariableCollection%/NR 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: Tue, 13 Feb 2001 17:14:41 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>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR/Label.xml
Index: Label.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if possible to perform a Label command on a resource that doesnt exist </abstract>
<description>
1) Label command carried out on a resource which doesnt exists
</description>
<expectedResult> Label command should return 404 Not Found </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">LABEL /%globalVariableServerName%/%globalVariableCollection%/NR.xml HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
<header>host: localhost</header>
<body><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:label xmlns:D="DAV:" xmlns:R="http://www.com/">
<D:set>
<D:label-name>test</D:label-name>
</D:set>
</D:label>]]>
</body>
</request>
<response>
<command>HTTP/1.0 404 Not Found</command>
<header>Cache-Control: no-cache</header>
</response>
</step>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR/Checkout.xml
Index: Checkout.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if possible to perform a Checkout command on a resource that doesnt exist </abstract>
<description>
1) Checkout command carried out on a resource which doesnt exists
</description>
<expectedResult> Checkout command should return 404 Not Found </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT /%globalVariableServerName%/%globalVariableCollection%/NR.xml HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 404 Not Found</command>
</response>
</step>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/compatability/NR/Checkin.xml
Index: Checkin.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if possible to perform a Checkin command on a resource that doesnt exist </abstract>
<description>
1) Checkin command carried out on a resource which doesnt exists
</description>
<expectedResult> Checkin command should return 404 Not Found </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">CHECKIN /%globalVariableServerName%/%globalVariableCollection%/NR.xml HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 404 Not Found</command>
</response>
</step>
</test>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>