juergen     02/05/22 00:59:05

  Added:       testsuite/testsuite/junit/xmltestcases/I18N/lock
                        lock_filename_zh.xml lock_filename_ja.xml
                        lock_filename_en.xml colLock_zh.xml colLock_ja.xml
                        colLock_en.xml
  Log:
  std I18N test cases
  
  Revision  Changes    Path
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/lock/lock_filename_zh.xml
  
  Index: lock_filename_zh.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
  <test>
  <specification> 
   <abstract> Checks if Lock Method with Status code 200 works fine. </abstract> 
   <description> The test case consist of following steps: puts a document(finlename 
having i18n char), locks it, unlocks it and finally deletes it </description>
   <expectedResult> Status code returned by Lock Method must be 200 </expectedResult>
   </specification>
   <!--  schema_en -->  
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/i18ndoc即可顯示.xml 
HTTP/1.1</command>
                                        <body 
fileReference="../../contentDirectory/I18N/schema_zh/Big5/none/inst_table_nonei18n_Big5JP.xml"
  fileEncoding='Big5'>
                                        </body>
                </request>
                <response>
                        <command>HTTP/1.0 201 Created</command>
                </response>
        </step>
                <step>
                        <request>
                                <command 
varUsage="globalVariableCollection,globalVariableServerName">GET 
/%globalVariableServerName%/%globalVariableCollection%/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/schema_zh/Big5/none/inst_table_nonei18n_Big5JP.xml"
  fileEncoding='UTF-8'>
                        </body>
                </response>
                </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">LOCK 
/%globalVariableServerName%/%globalVariableCollection%/i18ndoc即可顯示.xml 
HTTP/1.1</command>
                        <header>Connection: Keep-Alive, TE</header>
                        <header>TE: trailers, deflate, gzip, compress</header>
     
                        <header>Timeout: Second-604800</header>
                        <header>Accept-Encoding: deflate, gzip, x-gzip, compress, 
x-compress</header>
                        <header>Content-type: text/xml</header>
                        <body><![CDATA[<?xml version="1.0"?><A:lockinfo 
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 200 OK</command>
                        <body varUsage="globalVariableServerName">
                        <![CDATA[<?xml version="1.0" encoding="utf-8" ?><d:prop 
xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>/%globalVariableServerName%/administration/security/users</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]>
                        </body>
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/i18ndoc即可顯示.xml 
HTTP/1.1</command>
                        <header>Connection: Keep-Alive, TE</header>
                        <header>TE: trailers, deflate, gzip, compress</header>
                        <header>User-Agent: UCI DAV Explorer/0.70 
RPT-HTTPClient/0.3-2E</header>
                        <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
                        <header>Accept-Encoding: deflate, gzip, x-gzip, compress, 
x-compress</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/lock/lock_filename_ja.xml
  
  Index: lock_filename_ja.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
  <test>
  <specification> 
   <abstract> Checks if Lock Method with Status code 200 works fine. </abstract> 
   <description> The test case consist of following steps: puts a document(finlename 
having i18n char), locks it, unlocks it and finally deletes it </description>
   <expectedResult> Status code returned by Lock Method must be 200 </expectedResult>
   </specification>
   <!--  schema_ja -->  
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/i18ndoc製品番号.xml 
HTTP/1.1</command>
                                        <body 
fileReference="../../contentDirectory/I18N/schema_ja/Shift_JIS/none/inst_table_nonei18n_Shift_JIS.xml"
  fileEncoding='Shift_JIS'>
                                        </body>
                </request>
                <response>
                        <command>HTTP/1.0 201 Created</command>
                </response>
        </step>
                <step>
                        <request>
                                <command 
varUsage="globalVariableCollection,globalVariableServerName">GET 
/%globalVariableServerName%/%globalVariableCollection%/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/schema_ja/Shift_JIS/none/inst_table_nonei18n_Shift_JIS.xml"
  fileEncoding='UTF-8'>
                        </body>
                </response>
                </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">LOCK 
/%globalVariableServerName%/%globalVariableCollection%/i18ndoc製品番号.xml 
HTTP/1.1</command>
                        <header>Connection: Keep-Alive, TE</header>
                        <header>TE: trailers, deflate, gzip, compress</header>
     
                        <header>Timeout: Second-604800</header>
                        <header>Accept-Encoding: deflate, gzip, x-gzip, compress, 
x-compress</header>
                        <header>Content-type: text/xml</header>
                        <body><![CDATA[<?xml version="1.0"?><A:lockinfo 
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 200 OK</command>
                        <body varUsage="globalVariableServerName">
                        <![CDATA[<?xml version="1.0" encoding="utf-8" ?><d:prop 
xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>/%globalVariableServerName%/administration/security/users</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]>
                        </body>
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/i18ndoc製品番号.xml 
HTTP/1.1</command>
                        <header>Connection: Keep-Alive, TE</header>
                        <header>TE: trailers, deflate, gzip, compress</header>
                        <header>User-Agent: UCI DAV Explorer/0.70 
RPT-HTTPClient/0.3-2E</header>
                        <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
                        <header>Accept-Encoding: deflate, gzip, x-gzip, compress, 
x-compress</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/lock/lock_filename_en.xml
  
  Index: lock_filename_en.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
  <test>
  <specification> 
   <abstract> Checks if Lock Method with Status code 200 works fine. </abstract> 
   <description> The test case consist of following steps: puts a document(finlename 
having i18n char), locks it, unlocks it and finally deletes it </description>
   <expectedResult> Status code returned by Lock Method must be 200 </expectedResult>
   </specification>
   <!--  schema_en -->  
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml 
HTTP/1.1</command>
                                        <body 
fileReference="../../contentDirectory/I18N/schema_en/ISO-8859-1/none/inst_table_nonei18n_iso-8859-1UE.xml"
  fileEncoding='ISO-8859-1'>
                                        </body>
                </request>
                <response>
                        <command>HTTP/1.0 201 Created</command>
                </response>
        </step>
                <step>
                        <request>
                                <command 
varUsage="globalVariableCollection,globalVariableServerName">GET 
/%globalVariableServerName%/%globalVariableCollection%/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/schema_en/ISO-8859-1/none/inst_table_nonei18n_iso-8859-1UE.xml"
  fileEncoding='UTF-8'>
                        </body>
                </response>
                </step>
  
  
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">LOCK 
/%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml 
HTTP/1.1</command>
                        <header>Connection: Keep-Alive, TE</header>
                        <header>TE: trailers, deflate, gzip, compress</header>
     
                        <header>Timeout: Second-604800</header>
                        <header>Accept-Encoding: deflate, gzip, x-gzip, compress, 
x-compress</header>
                        <header>Content-type: text/xml</header>
                        <body><![CDATA[<?xml version="1.0"?><A:lockinfo 
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 200 OK</command>
                        <body varUsage="globalVariableServerName">
                        <![CDATA[<?xml version="1.0" encoding="utf-8" ?><d:prop 
xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>/%globalVariableServerName%/administration/security/users</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]>
                        </body>
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml 
HTTP/1.1</command>
                        <header>Connection: Keep-Alive, TE</header>
                        <header>TE: trailers, deflate, gzip, compress</header>
                        <header>User-Agent: UCI DAV Explorer/0.70 
RPT-HTTPClient/0.3-2E</header>
                        <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
                        <header>Accept-Encoding: deflate, gzip, x-gzip, compress, 
x-compress</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/lock/colLock_zh.xml
  
  Index: colLock_zh.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. </abstract> 
   <pre-Requisite> In header, if-modified-since should be present</pre-Requisite>
   <description> The test case consist of following steps: MKCOL  with collection name 
having i18N char, PUTs a file, performs a GET on it and then DELETEs the 
collection</description>
   <expectedResult> Status code returned by Get Method must be 200 Not Modified 
</expectedResult>
   </specification>
   <!--  schema_zh -->  
   <!--  schema_zh/Big5/attribute -->
        <!--             Test Case       Test Case         Test Case          Test 
Case                                      -->        
        <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">PUT 
/%globalVariableServerName%/%globalVariableCollection%/%subCollName%/i18ndoc.xml 
HTTP/1.1</command>
                                        <body 
fileReference="../../contentDirectory/I18N/schema_zh/Big5/none/inst_table_nonei18n_Big5JP.xml"
  fileEncoding='Big5'>
                                        </body>
                </request>
                <response>
                        <command>HTTP/1.0 201 Created</command>
                </response>
        </step>
                <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">LOCK 
/%globalVariableServerName%/%globalVariableCollection% HTTP/1.1</command>
     
                        <body><![CDATA[<?xml version="1.0"?><A:lockinfo 
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 200 OK</command>
                                <body 
varUsage="globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" 
?><d:prop 
xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>/%globalVariableServerName%/administration/security/users</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]></body>
                </response>
        </step>
  
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName,subCollName">LOCK 
/%globalVariableServerName%/%globalVariableCollection%/%subCollName% HTTP/1.1</command>
     
                        <body><![CDATA[<?xml version="1.0"?><A:lockinfo 
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 207</command>
    
                        <body varUsage="globalVariableCollection">
                                <![CDATA[<?xml version="1.0"?>
                                <d:multistatus xmlns:d="DAV">
                                <d:response>
                                <d:href>/%globalVariableCollection%</d:href>
                                <d:status>HTTP/1.1 423 Locked</d:status>
                                </d:response>
                                </d:multistatus>
                                ]]>
                        </body>
     
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection% HTTP/1.1</command>
    
                        <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
    
                </request>
                <response>
                        <command>HTTP/1.0 204 No Content</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 Case       Test Case         Test Case          Test 
Case                                      -->
  </test>
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/lock/colLock_ja.xml
  
  Index: colLock_ja.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. </abstract> 
   <pre-Requisite> In header, if-modified-since should be present</pre-Requisite>
   <description> The test case consist of following steps: MKCOL  with collection name 
having i18N char, PUTs a file, Locks the collection %globalVariableCollection%, tries 
to lock the created collection, unlocks collection file, DELETEs the 
collection</description>
   <expectedResult> Status code returned by Get Method must be 200 Not Modified 
</expectedResult>
   </specification>
   <!--  schema_ja -->  
   <!--  schema_ja/Shift_JIS/attribute -->
        <!--             Test Case       Test Case         Test Case          Test 
Case                                      -->        
        <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">PUT 
/%globalVariableServerName%/%globalVariableCollection%/%subCollName%/i18ndoc.xml 
HTTP/1.1</command>
                                        <body 
fileReference="../../contentDirectory/I18N/schema_ja/Shift_JIS/none/inst_table_nonei18n_Shift_JIS.xml"
  fileEncoding='Shift_JIS'>
                                        </body>
                </request>
                <response>
                        <command>HTTP/1.0 201 Created</command>
                </response>
        </step>
                <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">LOCK 
/%globalVariableServerName%/%globalVariableCollection% HTTP/1.1</command>
     
                        <body><![CDATA[<?xml version="1.0"?><A:lockinfo 
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 200 OK</command>
                                <body 
varUsage="globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" 
?><d:prop 
xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>/%globalVariableServerName%/administration/security/users</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]></body>
                </response>
        </step>
  
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName,subCollName">LOCK 
/%globalVariableServerName%/%globalVariableCollection%/%subCollName% HTTP/1.1</command>
     
                        <body><![CDATA[<?xml version="1.0"?><A:lockinfo 
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 207</command>
    
                        <body varUsage="globalVariableCollection">
                                <![CDATA[<?xml version="1.0"?>
                                <d:multistatus xmlns:d="DAV">
                                <d:response>
                                <d:href>/%globalVariableCollection%</d:href>
                                <d:status>HTTP/1.1 423 Locked</d:status>
                                </d:response>
                                </d:multistatus>
                                ]]>
                        </body>
     
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection% HTTP/1.1</command>
    
                        <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
    
                </request>
                <response>
                        <command>HTTP/1.0 204 No Content</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 Case       Test Case         Test Case          Test 
Case                                      -->
  </test>
  
  
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/lock/colLock_en.xml
  
  Index: colLock_en.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
  <test>
  <specification> 
   <abstract> Checks if Lock of collection works fine.</abstract> 
   
   <description> The test case consist of following steps: MKCOL  with collection name 
having i18N char, PUTs a file, Locks the collection %globalVariableCollection%, tries 
to lock the created collection, unlocks collection file, DELETEs the 
collection</description>
   <expectedResult> Status code returned by Get Method must be 200 Not Modified 
</expectedResult>
   </specification>
   <!--  schema_en -->  
   <!--  schema_en/ISO-8859-1/attribute -->
        <!--             Test Case       Test Case         Test Case          Test 
Case                                      -->        
        
        <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">PUT 
/%globalVariableServerName%/%globalVariableCollection%/%subCollName%/i18ndoc.xml 
HTTP/1.1</command>
                        <body 
fileReference="../../contentDirectory/I18N/schema_en/ISO-8859-1/none/inst_table_nonei18n_iso-8859-1UE.xml"
  fileEncoding='ISO-8859-1'>
                        </body>
           </request>
           <response>
                <command>HTTP/1.0 201 Created</command>
           </response>
        </step>
                <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">LOCK 
/%globalVariableServerName%/%globalVariableCollection% HTTP/1.1</command>
     
                        <body><![CDATA[<?xml version="1.0"?><A:lockinfo 
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 200 OK</command>
                                <body 
varUsage="globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" 
?><d:prop 
xmlns:d="DAV:"><d:lockdiscovery><d:activelock><d:locktype><d:write/></d:locktype><d:lockscope><d:exclusive/></d:lockscope><d:depth>infinity</d:depth><d:owner>/%globalVariableServerName%/administration/security/users</d:owner><d:timeout>Second-604800</d:timeout><d:locktoken><d:href></d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>]]></body>
                </response>
        </step>
  
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName,subCollName">LOCK 
/%globalVariableServerName%/%globalVariableCollection%/%subCollName% HTTP/1.1</command>
     
                        <body><![CDATA[<?xml version="1.0"?><A:lockinfo 
xmlns:A="DAV:"><A:locktype><A:write/></A:locktype><A:lockscope><A:exclusive/></A:lockscope><A:owner><A:href></A:href></A:owner></A:lockinfo>]]></body>
                </request>
                <response>
                        <command>HTTP/1.0 207</command>
    
                        <body varUsage="globalVariableCollection">
                                <![CDATA[<?xml version="1.0"?>
                                <d:multistatus xmlns:d="DAV">
                                <d:response>
                                <d:href>/%globalVariableCollection%</d:href>
                                <d:status>HTTP/1.1 423 Locked</d:status>
                                </d:response>
                                </d:multistatus>
                                ]]>
                        </body>
     
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">UNLOCK 
/%globalVariableServerName%/%globalVariableCollection% HTTP/1.1</command>
    
                        <header varUsage="automaticVariable1">Lock-Token: 
%varUsage%</header>
    
                </request>
                <response>
                        <command>HTTP/1.0 204 No Content</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 Case       Test Case         Test Case          Test 
Case                                      -->
  </test>
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to