|
JTR 4.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRunner
This interface represents a runner in its RUNNING
state.
All the states in which a java.lang.Thread
might be are now
reachable from this state. Furthermore a RUNNING
runner can go
into the REQUIRES_NEW_PARAMETER
state and become elegible for
clean-up and re-parameterization.
Method Summary | |
---|---|
IRunnerClean |
clean()
This method is invoked everytime an IRunner passes from
its RUNNING state to the
REQUIRES_NEW_PARAMETERS state.The concrete IRunner implementation is responsible for its
own clean-up. |
int |
getCurrentRun()
Get the number of the current run. |
int |
getFailures()
Returns the number of total failures experienced by the runner. |
int |
getSuccesses()
Returns the number of successes experienced by the runner. |
void |
receiveFailureNotification(java.lang.Throwable t,
java.lang.String msg)
Callback method for receiving notification of occourred errors. |
void |
test()
This method starts the test logic. |
Methods inherited from interface jtr.runners.IRunnerPooled |
---|
cleanupResources, getEpoch, getPool, run, setEpoch |
Methods inherited from interface jtr.runners.IRunnerParameterized |
---|
setPool |
Methods inherited from interface jtr.runners.IRunnerClean |
---|
getDefaultName, getEnterprise, getInstanceCount, getName, getOutcomeFactory, getParameters, getParamsAssigner, getRuns, getSleepTime, getTestOutcomeTable, setEnterprise, setInstanceCount, setName, setOutcomeFactory, setParameters, setParamsAssigner, setRuns, setSleepTime, setTestCompletionListener, setTestOutcomeTable |
Method Detail |
---|
void test() throws java.lang.Throwable
java.lang.Throwable
int getFailures()
int getSuccesses()
int getCurrentRun()
void receiveFailureNotification(java.lang.Throwable t, java.lang.String msg)
t
- Throwablemsg
- StringIRunnerClean clean()
IRunner
passes from
its RUNNING
state to the
REQUIRES_NEW_PARAMETERS
state.IRunner
implementation is responsible for its
own clean-up.
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |