juergen 02/05/22 00:59:27
Added: testsuite/testsuite/junit/xmltestcases/I18N/mkcol
mkcoli18n_subcollection_zh.xml
mkcoli18n_subcollection_ja.xml
mkcoli18n_subcollection_en.xml
Log:
std I18N test cases
Revision Changes Path
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/mkcol/mkcoli18n_subcollection_zh.xml
Index: mkcoli18n_subcollection_zh.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if MkCol Method with Status code 201 works fine.
</abstract>
<description> The test case consist of following steps: Creates a
collection(use I18N char), and deletes it </description>
<expectedResult> Status code returned by MkCol Method must be 201
Created</expectedResult>
</specification>
<step>
<assign varDefinition ="subCollName">即可顯示</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">DELETE
/%globalVariableServerName%/%globalVariableCollection%/%subCollName% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/mkcol/mkcoli18n_subcollection_ja.xml
Index: mkcoli18n_subcollection_ja.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if MkCol Method with Status code 201 works fine.
</abstract>
<description> The test case consist of following steps: Creates a
collection(use I18N char), and deletes it </description>
<expectedResult> Status code returned by MkCol Method must be 201
Created</expectedResult>
</specification>
<step>
<assign varDefinition ="subCollName">製品番号</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">DELETE
/%globalVariableServerName%/%globalVariableCollection%/%subCollName% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/mkcol/mkcoli18n_subcollection_en.xml
Index: mkcoli18n_subcollection_en.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if MkCol Method with Status code 201 works fine.
</abstract>
<description> The test case consist of following steps: Creates a
collection(use I18N char), and deletes it </description>
<expectedResult> Status code returned by MkCol Method must be 201
Created</expectedResult>
</specification>
<step>
<assign varDefinition
="subCollName">àçèéäöüÄÖÜ</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">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]>