TestRunListener
Keywords: junit.runner.TestRunListener interface

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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(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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD