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.RunnablemtTester grabs test and runs them forever. The spawner of tester is responsible for killing it.
-
-
Field Summary
Fields Modifier and Type Field Description private LocalizedOutputlogprivate java.lang.Stringnameprivate LocalizedOutputoutprivate booleanstopprivate mtTestSuitesuiteprivate booleantestOK
-
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 booleannoFailure()voidrun()Run until killed or until there is a problem.voidstop()
-
-
-
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:
runin interfacejava.lang.Runnable
-
stop
public void stop()
-
noFailure
public boolean noFailure()
-
-