|
JTR 5.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.JUnitFacadeRunner
public class JUnitFacadeRunner
Nested Class Summary | |
---|---|
static class |
JUnitFacadeRunner.JUnitFacadeRunnerException
|
Field Summary |
---|
Fields inherited from class jtr.runners.AbstractRunnerAncestor |
---|
logger |
Constructor Summary | |
---|---|
JUnitFacadeRunner()
|
Method Summary | |
---|---|
void |
cleanupResources()
This method has to be implemented by all concrete IRunner
implementations for performing resource clean-up operations (closing
connections, closing files, etc.).In the current release of JTR, the framework will start the resource clean-up session only upon completion of the last epoch and once all the IRunner s have been put back into the pool.For an IRunner extending the
AbstractJMSRunner abstract class, the injection of all the
JMS administered objects and connections will happen only once, before
the first run of the first epoch is started.This is for not wasting both time and resources for gathering always the same resources every time a new run has to be executed. |
void |
receiveFailureNotification(java.lang.Throwable t,
java.lang.String msg)
Callback method for receiving notification of occourred errors. |
protected void |
specializedBeforeRunTest()
This method allows more specialized subclasses to perform preparatory activities right before the actual test is launched. Note: implementations of this method must always be final . |
void |
test()
This method starts the test logic. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JUnitFacadeRunner()
Method Detail |
---|
protected final void specializedBeforeRunTest() throws java.lang.Throwable
AbstractRunnerAncestor
final
.
specializedBeforeRunTest
in class AbstractRunnerAncestor
java.lang.Throwable
public void test() throws java.lang.Throwable
IRunner
java.lang.Throwable
public void receiveFailureNotification(java.lang.Throwable t, java.lang.String msg)
IRunner
t
- Throwablemsg
- Stringpublic void cleanupResources()
IRunnerPooled
IRunner
implementations for performing resource clean-up operations (closing
connections, closing files, etc.).IRunner
s have been put back into the pool.IRunner
extending the
AbstractJMSRunner
abstract class, the injection of all the
JMS administered objects and connections will happen only once, before
the first run of the first epoch is started.
AbstractRunnerAncestor.clean()
|
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 |