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 2003/08/07 13:47:56 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration create_i18n_stores_en.xml create_i18n_stores_ja.xml create_i18n_stores_zh.xml create_webdav_stores.xml

juergen     2003/08/07 04:47:56

  Modified:    testsuite/testsuite/junit/xmltestcases/configuration
                        create_i18n_stores_en.xml create_i18n_stores_ja.xml
                        create_i18n_stores_zh.xml create_webdav_stores.xml
  Log:
  use the wait and repeat technology to give the servlet a time frame to reload.
  
  Revision  Changes    Path
  1.4       +21 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/create_i18n_stores_en.xml
  
  Index: create_i18n_stores_en.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/create_i18n_stores_en.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- create_i18n_stores_en.xml	27 Nov 2002 15:06:36 -0000	1.3
  +++ create_i18n_stores_en.xml	7 Aug 2003 11:47:56 -0000	1.4
  @@ -54,6 +54,7 @@
   	<!--             Test Case       Test Case         Test Case          Test Case                                      -->
   	<!--             Test Case       Test Case         Test Case          Test Case                                      -->
   	<step>
  +		<assign varDefinition="getResult">xxxx</assign>  
   		<request>
   			<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/administration/configuration/ßàçèéäöüÄÖÜutf8.xml HTTP/1.1</command>
   			<body varUsage="workdb,workhost" fileReference="../contentDirectory/I18N/schema_en/UTF-8/collection/storeConfigUtf8.xm1" fileEncoding="UTF-8"/>
  @@ -63,4 +64,24 @@
   		</response>
   	</step>
   	<!--             Test Case       Test Case         Test Case          Test Case                                      -->
  +	
  +	
  +	
  +	<!-- Wait 30 second and then check if the server is already restarted  -->
  +	<wait time="30000"/>
  +	<repeater varUsage="getResult" repeatCount="1000" condition="%getResult%=200">
  +		<step>
  +			<request>
  +				<command varUsage="globalVariableCollection,globalVariableServerName">GET /%globalVariableServerName%/administration/configuration/ßàçèéäöüÄÖÜutf8.xml</command>
  +			</request>
  +			<response>
  +				<command varDefinition="getResult">*</command> 
  +			</response>
  +		</step>
  +		<wait time="1000"/>
  +	</repeater>
  +	
  +	
  +	
  +	
   </test>
  
  
  
  1.4       +21 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/create_i18n_stores_ja.xml
  
  Index: create_i18n_stores_ja.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/create_i18n_stores_ja.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- create_i18n_stores_ja.xml	27 Nov 2002 15:06:36 -0000	1.3
  +++ create_i18n_stores_ja.xml	7 Aug 2003 11:47:56 -0000	1.4
  @@ -54,6 +54,7 @@
   	<!--             Test Case       Test Case         Test Case          Test Case                                      -->
   	<!--             Test Case       Test Case         Test Case          Test Case                                      -->
   	<step>
  +		<assign varDefinition="getResult">xxxx</assign>  
   		<request>
   			<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/administration/configuration/製品番号utf8.xml HTTP/1.1</command>
   			<body varUsage="workdb,workhost" fileReference="../contentDirectory/I18N/schema_ja/UTF-8/collection/storeConfig.xm1" fileEncoding="UTF-8"/>
  @@ -63,4 +64,24 @@
   		</response>
   	</step>
   	<!--             Test Case       Test Case         Test Case          Test Case                                      -->
  +	
  +	
  +	
  +	<!-- Wait 30 second and then check if the server is already restarted  -->
  +	<wait time="30000"/>
  +	<repeater varUsage="getResult" repeatCount="1000" condition="%getResult%=200">
  +		<step>
  +			<request>
  +				<command varUsage="globalVariableCollection,globalVariableServerName">GET /%globalVariableServerName%/administration/configuration/製品番号utf8.xml</command>
  +			</request>
  +			<response>
  +				<command varDefinition="getResult">*</command> 
  +			</response>
  +		</step>
  +		<wait time="1000"/>
  +	</repeater>
  +	
  +	
  +	
  +	
   </test>
  
  
  
  1.4       +20 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/create_i18n_stores_zh.xml
  
  Index: create_i18n_stores_zh.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/create_i18n_stores_zh.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- create_i18n_stores_zh.xml	27 Nov 2002 15:06:36 -0000	1.3
  +++ create_i18n_stores_zh.xml	7 Aug 2003 11:47:56 -0000	1.4
  @@ -54,6 +54,7 @@
   	<!--             Test Case       Test Case         Test Case          Test Case                                      -->
   	<!--             Test Case       Test Case         Test Case          Test Case                                      -->
   	<step>
  +		<assign varDefinition="getResult">xxxx</assign>  
   		<request>
   			<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/administration/configuration/即可顯示utf8.xml HTTP/1.1</command>
   			<body varUsage="workdb,workhost" fileReference="../contentDirectory/I18N/schema_zh/UTF-8/collection/storeConfig.xm1" fileEncoding="UTF-8"/>
  @@ -63,4 +64,23 @@
   		</response>
   	</step>
   	<!--             Test Case       Test Case         Test Case          Test Case                                      -->
  +	
  +	
  +	
  +	<!-- Wait 30 second and then check if the server is already restarted  -->
  +	<wait time="30000"/>
  +	<repeater varUsage="getResult" repeatCount="1000" condition="%getResult%=200">
  +		<step>
  +			<request>
  +				<command varUsage="globalVariableCollection,globalVariableServerName">GET /%globalVariableServerName%/administration/configuration/即可顯示utf8.xml</command>
  +			</request>
  +			<response>
  +				<command varDefinition="getResult">*</command> 
  +			</response>
  +		</step>
  +		<wait time="1000"/>
  +	</repeater>
  +	
  +	
  +	
   </test>
  
  
  
  1.3       +19 -0     jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/create_webdav_stores.xml
  
  Index: create_webdav_stores.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/create_webdav_stores.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- create_webdav_stores.xml	12 Nov 2002 09:50:26 -0000	1.2
  +++ create_webdav_stores.xml	7 Aug 2003 11:47:56 -0000	1.3
  @@ -43,6 +43,7 @@
   		</response>
   	</step>
   	<step>
  +		<assign varDefinition="getResult">xxxx</assign>  
   		<request>
   			<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/administration/configuration/%globalVariableCollection%_2.xml</command>
   			<body varUsage="workdb,workhost,globalVariableCollection"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  @@ -61,4 +62,22 @@
   			<command>HTTP/1.0 (201,204)</command>
   		</response>
   	</step>
  +	
  +	<!-- Wait 30 second and then check if the server is already restarted  -->
  +	<wait time="30000"/>
  +	<repeater varUsage="getResult" repeatCount="1000" condition="%getResult%=200">
  +		<step>
  +			<request>
  +				<command varUsage="globalVariableCollection,globalVariableServerName">GET /%globalVariableServerName%/administration/configuration/%globalVariableCollection%_2.xml</command>
  +			</request>
  +			<response>
  +				<command varDefinition="getResult">*</command> 
  +			</response>
  +		</step>
  +		<wait time="1000"/>
  +	</repeater>
  +	
  +	
  +	
  +	
   </test>