Package junit.runner
Interface TestRunListener
-
public interface TestRunListener
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.
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_ERROR
static int
STATUS_FAILURE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
testEnded(java.lang.String testName)
void
testFailed(int status, java.lang.String testName, java.lang.String trace)
void
testRunEnded(long elapsedTime)
void
testRunStarted(java.lang.String testSuiteName, int testCount)
void
testRunStopped(long elapsedTime)
void
testStarted(java.lang.String testName)
-
-
-
Field Detail
-
STATUS_ERROR
static final int STATUS_ERROR
- See Also:
- Constant Field Values
-
STATUS_FAILURE
static final int STATUS_FAILURE
- See Also:
- Constant Field Values
-
-
Method Detail
-
testRunStarted
void testRunStarted(java.lang.String testSuiteName, int testCount)
-
testRunEnded
void testRunEnded(long elapsedTime)
-
testRunStopped
void testRunStopped(long elapsedTime)
-
testStarted
void testStarted(java.lang.String testName)
-
testEnded
void testEnded(java.lang.String testName)
-
testFailed
void testFailed(int status, java.lang.String testName, java.lang.String trace)
-
-