org.apache.tools.ant.taskdefs.optional.junit
public class PlainJUnitResultFormatter extends Object implements JUnitResultFormatter
Constructor Summary | |
---|---|
PlainJUnitResultFormatter() |
Method Summary | |
---|---|
void | addError(Test test, Throwable t)
Interface TestListener.
|
void | addFailure(Test test, Throwable t)
Interface TestListener for JUnit <= 3.4.
|
void | addFailure(Test test, AssertionFailedError t)
Interface TestListener for JUnit > 3.4.
|
void | endTest(Test test)
Interface TestListener.
|
void | endTestSuite(JUnitTest suite)
The whole testsuite ended. |
void | setOutput(OutputStream out) |
void | setSystemError(String err) |
void | setSystemOutput(String out) |
void | startTest(Test t)
Interface TestListener.
|
void | startTestSuite(JUnitTest suite)
Empty. |
An error occurred while running the test.
A Test failed.
A Test failed.
A Test is finished.
A new Test is started.