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