org.apache.tools.ant.taskdefs.optional.junit

Class JUnitTaskMirrorImpl

Implemented Interfaces:
JUnitTaskMirror

public final class JUnitTaskMirrorImpl
extends java.lang.Object
implements JUnitTaskMirror

Implementation of the part of the junit task which can directly refer to junit.* classes. Public only to permit use of reflection; do not use directly.
Since:
1.7
See Also:
JUnitTaskMirror, "bug #38799"

Constructor Summary

JUnitTaskMirrorImpl(JUnitTask task)
Constructor.

Method Summary

void
addVmExit(JUnitTest test, JUnitTaskMirror.JUnitResultFormatterMirror aFormatter, OutputStream out, String message, String testCase)
.
JUnitTaskMirror.JUnitTestRunnerMirror
newJUnitTestRunner(JUnitTest test, boolean haltOnError, boolean filterTrace, boolean haltOnFailure, boolean showOutput, boolean logTestListenerEvents, AntClassLoader classLoader)
.
JUnitTaskMirror.SummaryJUnitResultFormatterMirror
newSummaryJUnitResultFormatter()
.

Constructor Details

JUnitTaskMirrorImpl

public JUnitTaskMirrorImpl(JUnitTask task)
Constructor.
Parameters:
task - the junittask that uses this mirror.

Method Details

addVmExit

public void addVmExit(JUnitTest test,
                      JUnitTaskMirror.JUnitResultFormatterMirror aFormatter,
                      OutputStream out,
                      String message,
                      String testCase)
.
Specified by:
addVmExit in interface JUnitTaskMirror

newJUnitTestRunner

public JUnitTaskMirror.JUnitTestRunnerMirror newJUnitTestRunner(JUnitTest test,
                                                                boolean haltOnError,
                                                                boolean filterTrace,
                                                                boolean haltOnFailure,
                                                                boolean showOutput,
                                                                boolean logTestListenerEvents,
                                                                AntClassLoader classLoader)
.
Specified by:
newJUnitTestRunner in interface JUnitTaskMirror

newSummaryJUnitResultFormatter

public JUnitTaskMirror.SummaryJUnitResultFormatterMirror newSummaryJUnitResultFormatter()
.
Specified by:
newSummaryJUnitResultFormatter in interface JUnitTaskMirror