From: abretz <no...@us...> - 2004-09-17 13:56:11
|
Comments: Update of /cvsroot/opendte/opendte-ng/src/java/org/opendte/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32185 Modified Files: DteConstants.java Log Message: Defined testcase's property contstants. Index: DteConstants.java =================================================================== RCS file: /cvsroot/opendte/opendte-ng/src/java/org/opendte/common/DteConstants.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- DteConstants.java 27 Aug 2004 13:21:34 -0000 1.7 +++ DteConstants.java 17 Sep 2004 13:55:58 -0000 1.8 @@ -71,4 +71,46 @@ /** This exit code indicates a RemoteException. */ public static final int EXIT_REMOTE_EXCEPTION_ERR = 2; + + /** Mandatory property TastCase.Name defines the testcase's name. */ + public static final String PROPS_TC_CLASS_NAME = "TastCase.ClassName"; + + /** + * This optional property defines how many tastcase's execution threads + * should be started. Default value is {@link #DEF_TC_THREADS}. + */ + public static final String PROPS_TC_THREADS = "TastCase.Threads"; + + /** + * This optional property defines how many cycles to be executed in a + * testcase's execution thread. Default value is {@link #DEF_TC_CYCLES}. + */ + public static final String PROPS_TC_CYCLES = "TastCase.Cycles"; + + /** + * Mandatory property defines the testase's implementation class. This class + * must implements the {@link org.opendte.test.Testcase} interface. + */ + public static final String PROPS_TC_NAME = "TastCase.Name"; + + /** Optional property contains a brief description of the testcase. */ + public static final String PROPS_TC_DESCRIPTION = "TastCase.Description"; + + /** + * This optional property defines the rump up delay in the startup phase. + * The next tescase execution thread will be started after rump up delay + * milleseconds. Default value is {@link #DEF_TC_STATISTICS_UPDATE}. + */ + public static final String PROPS_TC_RUMP_UP_DELAY = "TastCase.RumpUpDelay"; + /** Statistics update interval in milliseconds. */ + public static final String PROPS_TC_STATISTICS_UPDATE + = "TastCase.StatisticsUpdate"; + /** The default value of the property {@link #PROPS_TC_THREADS}. */ + public static final int DEF_TC_THREADS = 10; + /** The default value of the property {@link #PROPS_TC_CYCLES}. */ + public static final int DEF_TC_CYCLES = 20; + /** The default value of the property {@link #PROPS_TC_RUMP_UP_DELAY}. */ + public static final int DEF_TC_RUMP_UP_DELAY = 0; + /** Default statistics update interval in milliseconds. */ + public static final int DEF_TC_STATISTICS_UPDATE = 1000; } |