public class MavenTestRunner
extends junit.textui.TestRunner
Constructor and Description |
---|
MavenTestRunner() |
Modifier and Type | Method and Description |
---|---|
void |
addError(junit.framework.Test test,
Throwable t)
An error occurred.
|
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
A failure occurred.
|
protected junit.framework.TestResult |
createTestResult() |
junit.framework.TestResult |
doRun(junit.framework.Test suite,
boolean wait) |
void |
endTest(junit.framework.Test test)
A test ended.
|
static void |
main(String[] args)
entry point for runner in a dedicated JVM
|
void |
startTest(junit.framework.Test test)
A test started.
|
doRun, pause, run, run, runAndWait, runFailed, runSingleMethod, setPrinter, start, testEnded, testFailed, testStarted
clearStatus, elapsedTimeAsString, extractClassName, getFilteredTrace, getFilteredTrace, getPreference, getPreference, getPreferences, getTest, loadSuiteClass, processArguments, savePreferences, setLoading, setPreference, setPreferences, showStackRaw, truncate, useReloadingTestSuiteLoader
public static void main(String[] args)
protected junit.framework.TestResult createTestResult()
createTestResult
in class junit.textui.TestRunner
TestRunner.createTestResult()
public junit.framework.TestResult doRun(junit.framework.Test suite, boolean wait)
doRun
in class junit.textui.TestRunner
TestRunner.doRun(junit.framework.Test, boolean)
public void startTest(junit.framework.Test test)
startTest
in interface junit.framework.TestListener
startTest
in class junit.runner.BaseTestRunner
test
- the testpublic void endTest(junit.framework.Test test)
endTest
in interface junit.framework.TestListener
endTest
in class junit.runner.BaseTestRunner
test
- the testpublic void addError(junit.framework.Test test, Throwable t)
addError
in interface junit.framework.TestListener
addError
in class junit.runner.BaseTestRunner
test
- the testt
- the errorpublic void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
addFailure
in interface junit.framework.TestListener
addFailure
in class junit.runner.BaseTestRunner
test
- the testt
- the failureCopyright © 2007–2017 MojoHaus. All rights reserved.