junit.framework
Interface TestListener


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

public void addError(Test test,
                     java.lang.Throwable t)
An error occurred.

addFailure

public void addFailure(Test test,
                       AssertionFailedError t)
A failure occurred.

endTest

public void endTest(Test test)
A test ended.

startTest

public void startTest(Test test)
A test started.