import org.junit.* ; import Sequenic.T3.* ; import java.util.logging.* ; // Simplified version of a Junit test-class wrapper. Note that // no time-out mechanism is build. A test may run very long... public class xxxClass { @org.junit.Test /** * A single test-method, that will replay a saved test-suite. * No multicore in template, and exception/violation will be rethrown! */ public void replay() throws Throwable { try { Sequenic.T3.T3Replay.exec(" " // + " --multicore " + " --bulk xxxSuite" + " --silent" + " -lf xxxLog" + " xxxTargetDir") ; } catch (Error err) { Logger.getLogger(CONSTANTS.T3loggerName).info("** Junit-wrapper turns an error from the Suite to exception and throws it.") ; throw err ; } catch (Exception e) { Logger.getLogger(CONSTANTS.T3loggerName).info("** Junit-wrapper retrows an exception from the Suite.") ; throw e ; } } }