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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
testFailed
(int status, String testName, String trace) void
testRunEnded
(long elapsedTime) void
testRunStarted
(String testSuiteName, int testCount) void
testRunStopped
(long elapsedTime) void
testStarted
(String testName)
-
Field Details
-
STATUS_ERROR
static final int STATUS_ERROR- See Also:
-
STATUS_FAILURE
static final int STATUS_FAILURE- See Also:
-
-
Method Details
-
testRunStarted
-
testRunEnded
void testRunEnded(long elapsedTime) -
testRunStopped
void testRunStopped(long elapsedTime) -
testStarted
-
testEnded
-
testFailed
-