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/05/27 15:26:02 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/lock locki18n_filename_zh.xml locki18n_filename_ja.xml locki18n_filename_en.xml

juergen     02/05/27 06:26:02

  Added:       testsuite/testsuite/junit/xmltestcases/I18N/lock
                        locki18n_filename_zh.xml locki18n_filename_ja.xml
                        locki18n_filename_en.xml
  Log:
  save them as binaries.
  
  Revision  Changes    Path
  1.1                  jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/lock/locki18n_filename_zh.xml
  
  Index: locki18n_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.xm1"  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.xm1"  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/locki18n_filename_ja.xml
  
  Index: locki18n_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.xm1"  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.xm1"  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/locki18n_filename_en.xml
  
  Index: locki18n_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.xm1"  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.xm1"  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>
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>