org.apache.tools.ant.taskdefs.optional.junit
public class SummaryJUnitResultFormatter extends Object implements JUnitResultFormatter, JUnitTaskMirror.SummaryJUnitResultFormatterMirror
Constructor Summary | |
---|---|
SummaryJUnitResultFormatter()
Empty |
Method Summary | |
---|---|
void | addError(Test test, Throwable t)
Empty |
void | addFailure(Test test, Throwable t)
Empty |
void | addFailure(Test test, AssertionFailedError t)
Interface TestListener for JUnit > 3.4.
|
void | endTest(Test test)
Empty |
void | endTestSuite(JUnitTest suite)
The whole testsuite ended. |
void | setOutput(OutputStream out) {@inheritDoc}. |
void | setSystemError(String err) {@inheritDoc}. |
void | setSystemOutput(String out) {@inheritDoc}. |
void | setWithOutAndErr(boolean value)
Should the output to System.out and System.err be written to
the summary. |
void | startTest(Test t)
Empty |
void | startTestSuite(JUnitTest suite)
The testsuite started. |
Parameters: test not used. t not used.
Parameters: test not used. t not used.
A Test failed.
Parameters: test not used. t not used.
Parameters: test not used.
Parameters: suite the testsuite.
Throws: BuildException if there is an error.
Parameters: value if true write System.out and System.err to the summary.
Parameters: t not used.
Parameters: suite the testsuite.