org.apache.tools.ant.taskdefs.optional.junit
public class TearDownOnVmCrash extends Object implements JUnitResultFormatter
This formatter has some limitations, for details see the <junit> task's manual.
Since: Ant 1.8.0
Method Summary | |
---|---|
void | addError(Test fakeTest, Throwable t)
Only invoke tearDown if the suite is known and not the dummy
test we get when a Batch fails and the error is an actual
error generated by Ant. |
void | addFailure(Test test, Throwable t) |
void | addFailure(Test test, AssertionFailedError t) |
void | endTest(Test test) |
void | endTestSuite(JUnitTest suite) |
void | setOutput(OutputStream out) |
void | setSystemError(String err) |
void | setSystemOutput(String out) |
void | startTest(Test test) |
void | startTestSuite(JUnitTest suite)
Records the suite's name to later determine the class to invoke
tearDown on. |