| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirrorImpl
public final class JUnitTaskMirrorImpl
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.
JUnitTaskMirror, 
"bug #38799"| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from interface org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirror | 
|---|
| JUnitTaskMirror.JUnitResultFormatterMirror, JUnitTaskMirror.JUnitTestRunnerMirror, JUnitTaskMirror.SummaryJUnitResultFormatterMirror | 
| Constructor Summary | |
|---|---|
| JUnitTaskMirrorImpl(JUnitTask task)Constructor. | |
| Method Summary | |
|---|---|
|  void | addVmExit(JUnitTest test,
          JUnitTaskMirror.JUnitResultFormatterMirror aFormatter,
          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 finishes. | 
|  JUnitTaskMirror.JUnitTestRunnerMirror | newJUnitTestRunner(JUnitTest test,
                   java.lang.String[] methods,
                   boolean haltOnError,
                   boolean filterTrace,
                   boolean haltOnFailure,
                   boolean showOutput,
                   boolean logTestListenerEvents,
                   AntClassLoader classLoader)Create a new test runner for a test. | 
|  JUnitTaskMirror.SummaryJUnitResultFormatterMirror | newSummaryJUnitResultFormatter()Create a summary result formatter. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JUnitTaskMirrorImpl(JUnitTask task)
task - the junittask that uses this mirror.| Method Detail | 
|---|
public void addVmExit(JUnitTest test,
                      JUnitTaskMirror.JUnitResultFormatterMirror aFormatter,
                      java.io.OutputStream out,
                      java.lang.String message,
                      java.lang.String testCase)
addVmExit in interface JUnitTaskMirrortest - the test.aFormatter - the formatter to use.out - the output stream to use.message - the message to write out.testCase - the name of the test.
public JUnitTaskMirror.JUnitTestRunnerMirror newJUnitTestRunner(JUnitTest test,
                                                                java.lang.String[] methods,
                                                                boolean haltOnError,
                                                                boolean filterTrace,
                                                                boolean haltOnFailure,
                                                                boolean showOutput,
                                                                boolean logTestListenerEvents,
                                                                AntClassLoader classLoader)
newJUnitTestRunner in interface JUnitTaskMirrortest - the test to run.methods - names of the test methods to be run.haltOnError - if true halt the tests if an error occurs.filterTrace - if true filter the stack traces.haltOnFailure - if true halt the test if a failure occurs.showOutput - if true show output.logTestListenerEvents - if true log test listener events.classLoader - the classloader to use to create the runner.
public JUnitTaskMirror.SummaryJUnitResultFormatterMirror newSummaryJUnitResultFormatter()
newSummaryJUnitResultFormatter in interface JUnitTaskMirror| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||