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/06/27 21:10:10 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/others/copy copyi18n_shift_jis_sets0171_instance0.xml copyi18n_shift_jis_sets0171_instance1.xml copyi18n_shift_jis_sets0172_instance0.xml copyi18n_shift_jis_sets0172_instance1.xml
juergen 2002/06/27 12:10:09
Added: testsuite/testsuite/junit/xmltestcases/I18N/others/copy
copyi18n_shift_jis_sets0171_instance0.xml
copyi18n_shift_jis_sets0171_instance1.xml
copyi18n_shift_jis_sets0172_instance0.xml
copyi18n_shift_jis_sets0172_instance1.xml
Log:
shift-jis changed to shift_jis
Revision Changes Path
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/others/copy/copyi18n_shift_jis_sets0171_instance0.xml
Index: copyi18n_shift_jis_sets0171_instance0.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if Copy Method with Status code 201 works fine. </abstract>
<description> The test case consist of following steps (unnecessary step like propfind, head are not mentioned): puts a files in a directory, copies it into another directory, and deletes the file from both directories </description>
<expectedResult> Status code returned by Copy Method must be 201 Created </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<body fileReference="../../../contentDirectory/I18N/others/shift_jis/sets0171_instance0.xm1" fileEncoding='shift_jis'>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">MKCOL /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">COPY /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<header varUsage="globalVariableCollection,globalVariableServerName">Destination: /%globalVariableServerName%/%globalVariableCollection%/test/i18ndoc.xml</header>
<header>Overwrite: F</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">GET /%globalVariableServerName%/%globalVariableCollection%/test/i18ndoc.xml HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Type: text/xml</header>
<body varUsage="globalVariableXMLReference" fileReference="../../../contentDirectory/%globalVariableXMLReference%I18N/others/shift_jis/sets0171_instance0.xm1" fileEncoding='UTF-8'>
</body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Destroy: NoUndelete</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<header>Destroy: NoUndelete</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/others/copy/copyi18n_shift_jis_sets0171_instance1.xml
Index: copyi18n_shift_jis_sets0171_instance1.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if Copy Method with Status code 201 works fine. </abstract>
<description> The test case consist of following steps (unnecessary step like propfind, head are not mentioned): puts a files in a directory, copies it into another directory, and deletes the file from both directories </description>
<expectedResult> Status code returned by Copy Method must be 201 Created </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<body fileReference="../../../contentDirectory/I18N/others/shift_jis/sets0171_instance1.xm1" fileEncoding='shift_jis'>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">MKCOL /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">COPY /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<header varUsage="globalVariableCollection,globalVariableServerName">Destination: /%globalVariableServerName%/%globalVariableCollection%/test/i18ndoc.xml</header>
<header>Overwrite: F</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">GET /%globalVariableServerName%/%globalVariableCollection%/test/i18ndoc.xml HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Type: text/xml</header>
<body varUsage="globalVariableXMLReference" fileReference="../../../contentDirectory/%globalVariableXMLReference%I18N/others/shift_jis/sets0171_instance1.xm1" fileEncoding='UTF-8'>
</body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Destroy: NoUndelete</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<header>Destroy: NoUndelete</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/others/copy/copyi18n_shift_jis_sets0172_instance0.xml
Index: copyi18n_shift_jis_sets0172_instance0.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if Copy Method with Status code 201 works fine. </abstract>
<description> The test case consist of following steps (unnecessary step like propfind, head are not mentioned): puts a files in a directory, copies it into another directory, and deletes the file from both directories </description>
<expectedResult> Status code returned by Copy Method must be 201 Created </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<body fileReference="../../../contentDirectory/I18N/others/shift_jis/sets0172_instance0.xm1" fileEncoding='shift_jis'>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">MKCOL /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">COPY /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<header varUsage="globalVariableCollection,globalVariableServerName">Destination: /%globalVariableServerName%/%globalVariableCollection%/test/i18ndoc.xml</header>
<header>Overwrite: F</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">GET /%globalVariableServerName%/%globalVariableCollection%/test/i18ndoc.xml HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Type: text/xml</header>
<body varUsage="globalVariableXMLReference" fileReference="../../../contentDirectory/%globalVariableXMLReference%I18N/others/shift_jis/sets0172_instance0.xm1" fileEncoding='UTF-8'>
</body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Destroy: NoUndelete</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<header>Destroy: NoUndelete</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/others/copy/copyi18n_shift_jis_sets0172_instance1.xml
Index: copyi18n_shift_jis_sets0172_instance1.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if Copy Method with Status code 201 works fine. </abstract>
<description> The test case consist of following steps (unnecessary step like propfind, head are not mentioned): puts a files in a directory, copies it into another directory, and deletes the file from both directories </description>
<expectedResult> Status code returned by Copy Method must be 201 Created </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<body fileReference="../../../contentDirectory/I18N/others/shift_jis/sets0172_instance1.xm1" fileEncoding='shift_jis'>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">MKCOL /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">COPY /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<header varUsage="globalVariableCollection,globalVariableServerName">Destination: /%globalVariableServerName%/%globalVariableCollection%/test/i18ndoc.xml</header>
<header>Overwrite: F</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">GET /%globalVariableServerName%/%globalVariableCollection%/test/i18ndoc.xml HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Type: text/xml</header>
<body varUsage="globalVariableXMLReference" fileReference="../../../contentDirectory/%globalVariableXMLReference%I18N/others/shift_jis/sets0172_instance1.xm1" fileEncoding='UTF-8'>
</body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Destroy: NoUndelete</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/i18ndoc.xml HTTP/1.1</command>
<header>Destroy: NoUndelete</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>