JUnit 3.8.1

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
static int STATUS_ERROR
           
static int STATUS_FAILURE
           
 
Method Summary
 void testEnded(String testName)
           
 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 Detail

STATUS_ERROR

public static final int STATUS_ERROR
See Also:
Constant Field Values

STATUS_FAILURE

public static final int STATUS_FAILURE
See Also:
Constant Field Values
Method Detail

testRunStarted

public void testRunStarted(String testSuiteName,
                           int testCount)

testRunEnded

public void testRunEnded(long elapsedTime)

testRunStopped

public void testRunStopped(long elapsedTime)

testStarted

public void testStarted(String testName)

testEnded

public void testEnded(String testName)

testFailed

public void testFailed(int status,
                       String testName,
                       String trace)

JUnit 3.8.1