juergen 2002/06/25 08:57:51
Added: testsuite/testsuite/junit/xmltestcases/I18N/put
geti18n_collwithfilenames.xml
Log:
display issue test
Revision Changes Path
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/put/geti18n_collwithfilenames.xml
Index: geti18n_collwithfilenames.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if Get Method with Status code 200 works fine for
collection having resources with i18n characters. </abstract>
<description> The test case consist of following steps: mkcoll, PUTs
3files (filename consists I18N char), performs a GET on the collection created, and
then DELETEs the collection</description>
<expectedResult> Status code returned by Get Method must be 200 Not
Modified </expectedResult>
</specification>
<step>
<assign varDefinition ="subCollName">filenames</assign>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName,subCollName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/%subCollName%
HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName,subCollName">PUT
/%globalVariableServerName%/%globalVariableCollection%/%subCollName%/i18ndoc1àçèéäöüÄÖÜ.xm1
HTTP/1.1</command>
<body
fileReference="../../contentDirectory/I18N/schema_en/ISO-8859-1/none/inst_table_nonei18n_iso-8859-1UE.xm1"
fileEncoding='ISO-8859-1'>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName,subCollName">PUT
/%globalVariableServerName%/%globalVariableCollection%/%subCollName%/i18ndoc1製品番号.xm1
HTTP/1.1</command>
<body
fileReference="../../contentDirectory/I18N/schema_ja/Shift_JIS/none/inst_table_nonei18n_Shift_JIS.xm1"
fileEncoding='Shift_JIS'>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName,subCollName">PUT
/%globalVariableServerName%/%globalVariableCollection%/%subCollName%/i18ndoc1即可顯示.xm1
HTTP/1.1</command>
<body
fileReference="../../contentDirectory/I18N/schema_zh/Big5/none/inst_table_nonei18n_Big5JP.xm1"
fileEncoding='Big5'>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName,subCollName">GET
/%globalVariableServerName%/%globalVariableCollection%/%subCollName%
HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Type: text/html</header>
<body
fileReference="../../contentDirectory/I18N/schema_en/UTF-8/none/filenames.html"
fileEncoding='UTF-8'>
</body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName,subCollName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/%subCollName%
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: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>