1package junit.framework;
2
3/**
4 * A Listener for test progress
5 */
6public interface TestListener {
7    /**
8     * An error occurred.
9     */
10    public void addError(Test test, Throwable e);
11
12    /**
13     * A failure occurred.
14     */
15    public void addFailure(Test test, AssertionFailedError e);
16
17    /**
18     * A test ended.
19     */
20    public void endTest(Test test);
21
22    /**
23     * A test started.
24     */
25    public void startTest(Test test);
26}