01: package junit.framework;
02:
03: /**
04: * A Listener for test progress
05: */
06: public interface TestListener {
07: /**
08: * An error occurred.
09: */
10: public void addError(Test test, Throwable t);
11:
12: /**
13: * A failure occurred.
14: */
15: public void addFailure(Test test, AssertionFailedError t);
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: }
|