org.echarts.test
Class RegressionTest

java.lang.Object
  extended by org.echarts.test.RegressionTest

public class RegressionTest
extends java.lang.Object

Quick and dirty regression test program. Takes at least three command line args. First arg is directory path containing 'raw' log files of reference events for programs to be tested. Reference events in such a file are compared against actual events received from a ECharts program under test. Second arg is directory path where actual events from the ECharts program under test are logged to (in string format). Third (and optionally subsequent) arg is the name of the ECharts test file (including the ".ech" extension). We assume the test files are in a package "test". In order to obtain raw log files of reference events, the RunTest program should be run first. See RegressionTestMonitor and RunTest classes in this package for more details. Also see the runTest and regressionTest scripts in the ECHARTS_HOME/runtime/java/test directory.


Field Summary
static long JITTER_DURATION_MSEC
          Hardcoded timeout for evaluating relative activation times of timed transitions.
static long TIMEOUT_DURATION_SEC
          Hardcoded timeout for event watchdog timer.
 
Constructor Summary
RegressionTest()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEOUT_DURATION_SEC

public static final long TIMEOUT_DURATION_SEC
Hardcoded timeout for event watchdog timer. Probably should be a command line arg...

See Also:
Constant Field Values

JITTER_DURATION_MSEC

public static final long JITTER_DURATION_MSEC
Hardcoded timeout for evaluating relative activation times of timed transitions. Probably should be a command line arg...

See Also:
Constant Field Values
Constructor Detail

RegressionTest

public RegressionTest()
Method Detail

main

public static final void main(java.lang.String[] argv)