public final class JUnitTaskMirrorImpl extends Object implements JUnitTaskMirror
JUnitTaskMirror,
"bug #38799"JUnitTaskMirror.JUnitResultFormatterMirror, JUnitTaskMirror.JUnitTestRunnerMirror, JUnitTaskMirror.SummaryJUnitResultFormatterMirror| Constructor and Description |
|---|
JUnitTaskMirrorImpl(JUnitTask task)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addVmExit(JUnitTest test,
JUnitTaskMirror.JUnitResultFormatterMirror aFormatter,
OutputStream out,
String message,
String testCase)
Add the formatter to be called when the jvm exits before the test suite finishs.
|
JUnitTaskMirror.JUnitTestRunnerMirror |
newJUnitTestRunner(String platformHome,
String classpath,
String webClasspath,
JUnitTest test,
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.
|
public JUnitTaskMirrorImpl(JUnitTask task)
task - the junittask that uses this mirror.public void addVmExit(JUnitTest test, JUnitTaskMirror.JUnitResultFormatterMirror aFormatter, OutputStream out, String message, String testCase)
addVmExit in interface JUnitTaskMirrortest - the test.aFormatter - the fomatter to use.out - the output stream to use.message - the message to write out.testCase - the name of the test.public JUnitTaskMirror.JUnitTestRunnerMirror newJUnitTestRunner(String platformHome, String classpath, String webClasspath, JUnitTest test, boolean haltOnError, boolean filterTrace, boolean haltOnFailure, boolean showOutput, boolean logTestListenerEvents, AntClassLoader classLoader)
newJUnitTestRunner in interface JUnitTaskMirrortest - the test to 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 JUnitTaskMirrorCopyright © 2017 SAP SE. All Rights Reserved.