Paul Duffin | cd7c34d | 2016-12-12 16:35:36 +0000 | [diff] [blame] | 1 | package junit.framework; |
2 | |||||
3 | /** | ||||
4 | * A Listener for test progress | ||||
5 | */ | ||||
6 | public interface TestListener { | ||||
7 | /** | ||||
8 | * An error occurred. | ||||
9 | */ | ||||
10 | public void addError(Test test, Throwable t); | ||||
11 | /** | ||||
12 | * A failure occurred. | ||||
13 | */ | ||||
14 | public void addFailure(Test test, AssertionFailedError t); | ||||
15 | /** | ||||
16 | * A test ended. | ||||
17 | */ | ||||
18 | public void endTest(Test test); | ||||
19 | /** | ||||
20 | * A test started. | ||||
21 | */ | ||||
22 | public void startTest(Test test); | ||||
23 | } |