A listener interface for observing the execution of a test run.
More...
A listener interface for observing the execution of a test run.
- Note
- This class is an "initial version" in JUnit 3.8.1 and might be replace TestListener some day.
void TestRunListener::TestRunListener |
( |
| ) |
|
void TestRunListener::testEnded |
( |
String |
testName | ) |
|
A test ended.
- Parameters
-
testName | The name of the ended test. |
void TestRunListener::testFailed |
( |
Number |
status, |
|
|
String |
testName, |
|
|
String |
trace |
|
) |
| |
A test failed.
- Parameters
-
status | The status of the test. |
testName | The name of the failed test. |
trace | The stack trace as String. |
void TestRunListener::testRunEnded |
( |
Number |
elapsedTime | ) |
|
A test run was ended.
- Parameters
-
elapsedTime | The number of elapsed milliseconds. |
void TestRunListener::testRunStarted |
( |
String |
suiteName, |
|
|
Number |
testCount |
|
) |
| |
A test run was started.
- Parameters
-
suiteName | The name of the test suite. |
testCount | The number of tests in the suite. |
void TestRunListener::testRunStopped |
( |
Number |
elapsedTime | ) |
|
A test run was stopped.
- Parameters
-
elapsedTime | The number of elapsed milliseconds. |
void TestRunListener::testStarted |
( |
String |
testName | ) |
|
A test started.
- Parameters
-
testName | The name of the started test. |
Number TestRunListener::STATUS_ERROR |
|
static |
Number TestRunListener::STATUS_FAILURE |
|
static |
The documentation for this class was generated from the following file: