Package org.apache.derby.impl.tools.ij
Class mtTester
- java.lang.Object
-
- org.apache.derby.impl.tools.ij.mtTester
-
- All Implemented Interfaces:
java.lang.Runnable
public class mtTester extends java.lang.Object implements java.lang.Runnable
mtTester grabs test and runs them forever. The spawner of tester is responsible for killing it.
-
-
Field Summary
Fields Modifier and Type Field Description private LocalizedOutput
log
private java.lang.String
name
private LocalizedOutput
out
private boolean
stop
private mtTestSuite
suite
private boolean
testOK
-
Constructor Summary
Constructors Constructor Description mtTester(java.lang.String name, mtTestSuite suite, LocalizedOutput out, LocalizedOutput log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
noFailure()
void
run()
Run until killed or until there is a problem.void
stop()
-
-
-
Field Detail
-
suite
private mtTestSuite suite
-
name
private java.lang.String name
-
log
private LocalizedOutput log
-
out
private LocalizedOutput out
-
stop
private boolean stop
-
testOK
private boolean testOK
-
-
Constructor Detail
-
mtTester
public mtTester(java.lang.String name, mtTestSuite suite, LocalizedOutput out, LocalizedOutput log)
-
-
Method Detail
-
run
public void run()
Run until killed or until there is a problem. If we get other than 'connection closed' we'll signal that we recieved a fatal error before quittiing; otherwise, we are silent.- Specified by:
run
in interfacejava.lang.Runnable
-
stop
public void stop()
-
noFailure
public boolean noFailure()
-
-