|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
qat.gui.TestRunner
This object is resposible for running a single or multiple tests. * It is implemented as a Thread to allow interuption of a running task. * If the test run is interrupted, the currently executing test must exit before * the stop is completed. * * @author webhiker * @version %W %E
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
TestRunner(QAT p)
|
Method Summary | |
java.lang.String |
getElapsedTime()
|
java.lang.String |
getRemainingTime()
|
int |
getRunProgress()
Returns the number of tests from this run which have * already completed. |
int |
getRunTotal()
Returns the total number of tests selected for this run, or * returns zero if no tests are running. |
static java.lang.String |
getTimeString(java.util.Date d)
|
boolean |
inEvaluationMode()
|
void |
interrupt()
|
boolean |
isRunning()
|
void |
run()
|
void |
setEvaluationMode(boolean m)
|
void |
setProjectRoot(java.lang.String rootDirectory)
|
void |
setRunList(java.util.ArrayList list)
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestRunner(QAT p)
Method Detail |
public void setProjectRoot(java.lang.String rootDirectory)
public void run()
public int getRunProgress()
public int getRunTotal()
public boolean isRunning()
public java.lang.String getRemainingTime()
public java.lang.String getElapsedTime()
public static java.lang.String getTimeString(java.util.Date d)
public void setRunList(java.util.ArrayList list)
public void interrupt()
public boolean inEvaluationMode()
public void setEvaluationMode(boolean m)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |