TestListener (JUnit API)

Junit API


junit.framework Interface TestListener


public interface TestListener

A Listener for test progress


 void
 void
 void
 void
 

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.