JUnitTaskMirrorpublic interface JUnitTaskMirror Handles the portions of {@link JUnitTask} which need to directly access
actual JUnit classes, so that junit.jar need not be on Ant's startup classpath.
Neither JUnitTask.java nor JUnitTaskMirror.java nor their transitive static
deps may import any junit.** classes!
Specifically, need to not refer to
- JUnitResultFormatter or its subclasses
- JUnitVersionHelper
- JUnitTestRunner
Cf. JUnitTask.SplitLoader#isSplit(String)
Public only to permit access from classes in this package; do not use directly. |
Methods Summary |
---|
public void | addVmExit(JUnitTest test, org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirror$JUnitResultFormatterMirror formatter, java.io.OutputStream out, java.lang.String message, java.lang.String testCase)Add the formatter to be called when the jvm exits before
the test suite finishs.
| public org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirror$JUnitTestRunnerMirror | newJUnitTestRunner(JUnitTest test, boolean haltOnError, boolean filterTrace, boolean haltOnFailure, boolean showOutput, boolean logTestListenerEvents, org.apache.tools.ant.AntClassLoader classLoader)Create a new test runner for a test.
| public org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirror$SummaryJUnitResultFormatterMirror | newSummaryJUnitResultFormatter()Create a summary result formatter.
|
|