| java.lang.Object net.sourceforge.groboutils.autodoc.v1.testserver.TestCorrelate net.sourceforge.groboutils.autodoc.v1.testserver.junit.JUnitTestListener
All known Subclasses: net.sourceforge.groboutils.pmti.v1.autodoc.v1.ITFJUnitListener,
JUnitTestListener | abstract public class JUnitTestListener extends TestCorrelate implements TestListener(Code) | | A helper class to interface between the test framework and JUnit's
TestListener interface.
author: Matt Albrecht groboclown@users.sourceforge.net since: March 17, 2002 version: $Date: 2003/06/10 01:08:41 $ |
Method Summary | |
abstract protected void | addError(TestData data, Throwable t) Called when the test in the data has an unexpected exception thrown. | public void | addError(Test test, Throwable t) An error occurred. | abstract protected void | addFailure(TestData data, AssertionFailedError t) Called when the test in the data has an assertion error. | public void | addFailure(Test test, AssertionFailedError t) A failure occurred. | protected TestInfo | createTestInfo(Test test) Creates a JUnitTestInfo instance. | abstract protected void | endTest(TestData data) Called after the test ends. | public void | endTest(Test test) A test ended. | abstract protected void | startTest(TestData data) Called before the test starts, and after the test has been registered. | public void | startTest(Test test) A test started. |
addError | abstract protected void addError(TestData data, Throwable t)(Code) | | Called when the test in the data has an unexpected exception thrown.
|
addError | public void addError(Test test, Throwable t)(Code) | | An error occurred.
|
addFailure | abstract protected void addFailure(TestData data, AssertionFailedError t)(Code) | | Called when the test in the data has an assertion error.
|
addFailure | public void addFailure(Test test, AssertionFailedError t)(Code) | | A failure occurred.
|
createTestInfo | protected TestInfo createTestInfo(Test test)(Code) | | Creates a JUnitTestInfo instance.
|
endTest | abstract protected void endTest(TestData data)(Code) | | Called after the test ends. The implemented method must not send off
the data - that is done by the JUnitTestListener implementation.
|
endTest | public void endTest(Test test)(Code) | | A test ended.
|
startTest | abstract protected void startTest(TestData data)(Code) | | Called before the test starts, and after the test has been registered.
|
startTest | public void startTest(Test test)(Code) | | A test started.
|
|
|