TestListener
Keywords: junit.framework.TestListener 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.framework
Interface TestListener

All Known Implementing Classes:
  BaseTestRunner, BaseTestRunnerTest.MockRunner, ResultPrinter, TestListenerTest, TestRunner, TestRunner, TestRunner

    public interface TestListener

A Listener for test progress

Method Summary
`void` | `addError(Test test, java.lang.Throwable t)` An error occurred.
`void` | `addFailure(Test test, AssertionFailedError t)` A failure occurred.
`void` | `endTest(Test test)` A test ended.
`void` | `startTest(Test test)` A test started.

Method Detail

### addError

    void addError(Test test,
                  java.lang.Throwable t)

  An error occurred.

### addFailure

    void addFailure(Test test,
                    AssertionFailedError t)

  A failure occurred.

### endTest

    void endTest(Test test)

  A test ended.

### startTest

    void startTest(Test test)

  A test started.

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