|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Options typepublic interface Runner<T extends Options>
Interface for test runners
| Method Summary | |
|---|---|
void |
halt(T options,
Exception e)
Requests that the run be halted, exact halting conditions and behaviour is specified by the given options |
void |
halt(T options,
String message)
Requests that the run be halted, exact halting conditions and behaviour is specified by the given options |
void |
reportAfterOperation(T options,
Operation operation,
OperationRun run)
Reports progress after we have run an operation |
void |
reportAfterOperationMix(T options,
OperationMix mix,
OperationMixRun run)
Reports progress after we complete a run of the operation mix |
void |
reportBeforeOperation(T options,
Operation operation)
Reports progress before we run an operation |
void |
reportBeforeOperationMix(T options,
OperationMix mix)
Reports progress before we run an operation mix |
void |
reportPartialProgress(T options,
String message)
Reports progress with an informational message |
void |
reportProgress(T options)
Reports a newline as a progress message |
void |
reportProgress(T options,
String message)
Reports progress with an informational message |
void |
run(T options)
Runs with the given options |
| Method Detail |
|---|
void run(T options)
options -
void reportBeforeOperationMix(T options,
OperationMix mix)
options - Optionsmix - Operation mix
void reportAfterOperationMix(T options,
OperationMix mix,
OperationMixRun run)
options - Optionsmix - Operation mixrun - Operation mix run information
void reportBeforeOperation(T options,
Operation operation)
options - Optionsoperation - Operation
void reportAfterOperation(T options,
Operation operation,
OperationRun run)
options - Optionsoperation - Operationrun - Run information
void reportProgress(T options,
String message)
Messages passed to this function will always have a terminating newline character added to them before being sent to listeners
You can configure what happens to the reporting messages by adding
ProgressListener instances with the
Options.addListener(ProgressListener) method
options - Optionsmessage - Informational Message
void reportPartialProgress(T options,
String message)
Messages passed to this function are sent to listeners as-is
options - Optionsmessage - Informational Messagevoid reportProgress(T options)
options - Options
void halt(T options,
Exception e)
options - Optionse - Exception
void halt(T options,
String message)
options - Optionsmessage - Halting Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||