|
JTR 4.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtr.runners.AbstractRunnerAncestor
jtr.runners.AbstractRunner
public abstract class AbstractRunner
This is the base class every application level runner should extend. It provides a lot of useful methods along with the handling of the interactions with the JTR runtime.
Field Summary |
---|
Fields inherited from class jtr.runners.AbstractRunnerAncestor |
---|
epoch, logger, paramsAssigner, pool |
Constructor Summary | |
---|---|
AbstractRunner()
|
Method Summary | |
---|---|
int |
getCurrentRun()
Return the current run assigned to the IRunner |
void |
run()
This method wraps the test() method implemented by
application developed runners.It manages the execution of the test() method according to
the sleep time interval associated with the wrapped IRunner
instance, according to the declared number of required runs and so on.Furthermore there is a fundamental exception accounting feature which enables JTR to collect information about each single IRunner
run and the handling of boring/complex tasks such as the reinitialization
of each runner parameters according to the associated
IAssignmentPolicy . |
abstract void |
test()
This is the only one method application-level runner developers are required to implement. It contains the testing logic specific to each runner. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jtr.runners.IRunner |
---|
receiveFailureNotification |
Methods inherited from interface jtr.runners.IRunnerPooled |
---|
cleanupResources |
Constructor Detail |
---|
public AbstractRunner()
Method Detail |
---|
public final void run()
test()
method implemented by
application developed runners.test()
method according to
the sleep time interval associated with the wrapped IRunner
instance, according to the declared number of required runs and so on.IRunner
run and the handling of boring/complex tasks such as the reinitialization
of each runner parameters according to the associated
IAssignmentPolicy
.
Runnable.run()
public int getCurrentRun()
IRunner
public abstract void test() throws java.lang.Throwable
java.lang.Throwable
|
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 |