| Package | Description |
|---|---|
| de.hybris.ant.taskdefs.yunit |
| Modifier and Type | Method and Description |
|---|---|
protected void |
JUnitTask.actOnTestResult(int exitValue,
boolean wasKilled,
JUnitTest test,
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,
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,
OutputStream out,
String message,
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,
OutputStream out,
String message,
String testCase)
Add the formatter to be called when the jvm exits before the test suite finishs.
|
void |
BriefJUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
void |
XMLJUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
void |
JUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
void |
PlainJUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
void |
SummaryJUnitResultFormatter.endTestSuite(JUnitTest suite)
The whole testsuite ended.
|
protected void |
JUnitTask.execute(JUnitTest arg)
Run the tests.
|
protected File |
JUnitTask.getOutput(FormatterElement fe,
JUnitTest test)
If the formatter sends output to a file, return that file.
|
JUnitTaskMirror.JUnitTestRunnerMirror |
JUnitTaskMirrorImpl.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.JUnitTestRunnerMirror |
JUnitTaskMirror.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.
|
void |
BriefJUnitResultFormatter.startTestSuite(JUnitTest suite)
The whole testsuite started.
|
void |
XMLJUnitResultFormatter.startTestSuite(JUnitTest suite)
The whole testsuite started.
|
void |
JUnitResultFormatter.startTestSuite(JUnitTest suite)
The whole testsuite started.
|
void |
PlainJUnitResultFormatter.startTestSuite(JUnitTest suite)
The whole testsuite started.
|
void |
SummaryJUnitResultFormatter.startTestSuite(JUnitTest suite)
The testsuite started.
|
| Constructor and Description |
|---|
JUnitTestRunner(String platformHome,
String classpath,
String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure)
Constructor for fork=true or when the user hasn't specified a classpath.
|
JUnitTestRunner(String platformHome,
String classpath,
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(String platformHome,
String classpath,
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(String platformHome,
String classpath,
String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure,
boolean showOutput,
boolean logTestListenerEvents,
ClassLoader loader)
Constructor to use when the user has specified a classpath.
|
JUnitTestRunner(String platformHome,
String classpath,
String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure,
boolean showOutput,
ClassLoader loader)
Constructor to use when the user has specified a classpath.
|
JUnitTestRunner(String platformHome,
String classpath,
String webClasspath,
JUnitTest test,
boolean haltOnError,
boolean filtertrace,
boolean haltOnFailure,
ClassLoader loader)
Constructor to use when the user has specified a classpath.
|
Copyright © 2017 SAP SE. All Rights Reserved.