blob: ce5b3d5920a226a50decba555aa65b4ab2fdfd01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package junit.runner;
/**
* A listener interface for observing the
* execution of a test run. Unlike TestListener,
* this interface using only primitive objects,
* making it suitable for remote test execution.
*/
public interface TestRunListener {
/* test status constants*/
int STATUS_ERROR = 1;
int STATUS_FAILURE = 2;
void testRunStarted(String testSuiteName, int testCount);
void testRunEnded(long elapsedTime);
void testRunStopped(long elapsedTime);
void testStarted(String testName);
void testEnded(String testName);
void testFailed(int status, String testName, String trace);
}
|