|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Harness.Observer
This interface provides a means for Harness to report on events that might be of interest as it executes.
Method Summary | |
---|---|
void |
error(java.lang.String msg)
The given error occurred. |
void |
finishedTest(TestResult tr)
The harness has finished running the given test. |
void |
finishedTesting()
The harness has finished running tests and is doing other activities (writing the report, updating caches, etc...). |
void |
finishedTestRun(boolean allOK)
The test run has been completed, either because the user requested that the harness stop, the harness decided to terminate the test run, or all requested tests have been run. |
void |
startingTest(TestResult tr)
The harness is about to run the given test. |
void |
startingTestRun(Parameters params)
The harness is beginning to execute tests. |
void |
stoppingTestRun()
The harness is about to stop a test run, before it has finished executing all the specified tests. |
Method Detail |
---|
void startingTestRun(Parameters params)
params
- the parameters for the test runvoid startingTest(TestResult tr)
tr
- The test result which is going to receive the data
from the current execution of that test.void finishedTest(TestResult tr)
tr
- The result object containing the results from the
execution which was just completed.void stoppingTestRun()
void finishedTesting()
void finishedTestRun(boolean allOK)
allOK
- True if all tests passed, false otherwise.void error(java.lang.String msg)
msg
- A description of the error event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |