| Package | Description |
|---|---|
| de.hybris.ant.taskdefs.yunit |
| Modifier and Type | Method and Description |
|---|---|
protected void |
JUnitTask.actOnTestResult(int exitValue,
boolean wasKilled,
JUnitTest test,
java.lang.String name)
Logs information about failed tests, potentially stops processing (by throwing a BuildException) if a
failure/error occurred or sets a property.
|
protected void |
JUnitTask.actOnTestResult(JUnitTask.TestResultHolder result,
JUnitTest test,
java.lang.String name)
Logs information about failed tests, potentially stops processing (by throwing a BuildException) if a
failure/error occurred or sets a property.
|
void |
JUnitTask.addTest(JUnitTest test)
Add a new single testcase.
|
void |
JUnitTaskMirrorImpl.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 finishs.
|
void |
JUnitTaskMirror.addVmExit(JUnitTest test,
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.
|
void |
SummaryJUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
void |
JUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
void |
XMLJUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
void |
PlainJUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
void |
BriefJUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
protected void |
JUnitTask.execute(JUnitTest arg)
Run the tests.
|
protected java.io.File |
JUnitTask.getOutput(FormatterElement fe,
JUnitTest test)
If the formatter sends output to a file, return that file.
|
JUnitTaskMirror.JUnitTestRunnerMirror |
JUnitTaskMirrorImpl.newJUnitTestRunner(java.lang.String platformHome,
java.lang.String classpath,
java.lang.String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filterTrace,
boolean haltOnFailure,
boolean showOutput,
boolean logTestListenerEvents,
org.apache.tools.ant.AntClassLoader classLoader,
boolean suppressJunitTenant)
Create a new test runner for a test.
|
JUnitTaskMirror.JUnitTestRunnerMirror |
JUnitTaskMirror.newJUnitTestRunner(java.lang.String platformHome,
java.lang.String classpath,
java.lang.String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filterTrace,
boolean haltOnFailure,
boolean showOutput,
boolean logTestListenerEvents,
org.apache.tools.ant.AntClassLoader classLoader,
boolean suppressJunitTenant)
Create a new test runner for a test.
|
void |
SummaryJUnitResultFormatter.startTestSuite(JUnitTest suite)
The testsuite started.
|
void |
JUnitResultFormatter.startTestSuite(JUnitTest suite)
The whole testsuite started.
|
void |
XMLJUnitResultFormatter.startTestSuite(JUnitTest suite)
The whole testsuite started.
|
void |
PlainJUnitResultFormatter.startTestSuite(JUnitTest suite)
The whole testsuite started.
|
void |
BriefJUnitResultFormatter.startTestSuite(JUnitTest suite)
The whole testsuite started.
|
| Constructor and Description |
|---|
JUnitTestRunner(java.lang.String platformHome,
java.lang.String classpath,
java.lang.String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure)
Constructor for fork=true or when the user hasn't specified a classpath.
|
JUnitTestRunner(java.lang.String platformHome,
java.lang.String classpath,
java.lang.String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure,
boolean showOutput)
Constructor for fork=true or when the user hasn't specified a classpath.
|
JUnitTestRunner(java.lang.String platformHome,
java.lang.String classpath,
java.lang.String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure,
boolean showOutput,
boolean logTestListenerEvents)
Constructor for fork=true or when the user hasn't specified a classpath.
|
JUnitTestRunner(java.lang.String platformHome,
java.lang.String classpath,
java.lang.String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure,
boolean showOutput,
boolean logTestListenerEvents,
java.lang.ClassLoader loader,
boolean suppressJunitTenant)
Constructor to use when the user has specified a classpath.
|
JUnitTestRunner(java.lang.String platformHome,
java.lang.String classpath,
java.lang.String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure,
boolean showOutput,
java.lang.ClassLoader loader)
Constructor to use when the user has specified a classpath.
|
JUnitTestRunner(java.lang.String platformHome,
java.lang.String classpath,
java.lang.String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure,
java.lang.ClassLoader loader)
Constructor to use when the user has specified a classpath.
|
Copyright © 2018 SAP SE. All Rights Reserved.