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 lu...@apache.org on 2005/01/06 18:51:37 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/move/mix moveEmptyFile.xml
luetzkendorf 2005/01/06 09:51:36
Added: testsuite/testsuite/junit/xmltestcases/functional/move/mix
moveEmptyFile.xml
Log:
no message
Revision Changes Path
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/move/mix/moveEmptyFile.xml
Index: moveEmptyFile.xml
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract>Tests that moving empty file</abstract>
<description>
put /test.txt (Content-Length: 0);
get /test.txt
move /test.txt -> /test2.txt
get /test2.txt
delete /test2.txt
</description>
<expectedResult></expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT %globalVariableServerName%/%globalVariableCollection%/test.txt HTTP/1.1</command>
<header>Content-Length: 0</header>
<header>Content-Type: text/plain</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">GET %globalVariableServerName%/%globalVariableCollection%/test.txt HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Length: 0</header>
<header>Content-Type: text/plain</header>
<body></body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">MOVE %globalVariableServerName%/%globalVariableCollection%/test.txt HTTP/1.1</command>
<header varUsage="globalVariableCollection,globalVariableServerName">Destination: %globalVariableServerName%/%globalVariableCollection%/test2.txt</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">GET %globalVariableServerName%/%globalVariableCollection%/test2.txt HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Length: 0</header>
<header>Content-Type: text/plain</header>
<body></body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE %globalVariableServerName%/%globalVariableCollection%/test.txt HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 404 Not Found</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE %globalVariableServerName%/%globalVariableCollection%/test2.txt HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org