org.apache.tools.ant.taskdefs.optional.junit
public class XMLJUnitResultFormatter extends Object implements JUnitResultFormatter, XMLConstants
See Also: FormatterElement
| Constructor Summary | |
|---|---|
| XMLJUnitResultFormatter() | |
| 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 out) |
| void | setSystemOutput(String out) |
| void | startTest(Test t)
Interface TestListener.
|
| void | startTestSuite(JUnitTest suite)
The whole testsuite started. |
An error occurred while running the test.
A Test failed.
A Test failed.
A Test is finished.
A new Test is started.