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.
STATUS_ERROR
public static final int STATUS_ERROR
- 1
STATUS_FAILURE
public static final int STATUS_FAILURE
- 2
testEnded
public void testEnded(String testName)
testFailed
public void testFailed(int status,
String testName,
String trace)
testRunEnded
public void testRunEnded(long elapsedTime)
testRunStarted
public void testRunStarted(String testSuiteName,
int testCount)
testRunStopped
public void testRunStopped(long elapsedTime)
testStarted
public void testStarted(String testName)