public class ERXTestRunner
extends junit.runner.BaseTestRunner
Modifier and Type | Field and Description |
---|---|
ERXTestListener |
externalListener |
Constructor and Description |
---|
ERXTestRunner(ERXTestListener extListener)
Constructs a TestRunner.
|
Modifier and Type | Method and Description |
---|---|
void |
addError(junit.framework.Test test,
Throwable t) |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t) |
protected void |
clearStatus() |
void |
endTest(junit.framework.Test test) |
junit.framework.Test |
getTest(String testClass)
Get the freshest loaded class.
|
protected void |
runFailed(String message) |
void |
startTest(junit.framework.Test test) |
void |
testEnded(String arg0) |
void |
testFailed(int arg0,
junit.framework.Test arg1,
Throwable arg2) |
void |
testStarted(String arg0) |
elapsedTimeAsString, extractClassName, getFilteredTrace, getFilteredTrace, getPreference, getPreference, getPreferences, loadSuiteClass, processArguments, savePreferences, setLoading, setPreference, setPreferences, showStackRaw, truncate, useReloadingTestSuiteLoader
public ERXTestListener externalListener
public ERXTestRunner(ERXTestListener extListener)
public void addError(junit.framework.Test test, Throwable t)
addError
in interface junit.framework.TestListener
addError
in class junit.runner.BaseTestRunner
public void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
addFailure
in interface junit.framework.TestListener
addFailure
in class junit.runner.BaseTestRunner
public void startTest(junit.framework.Test test)
startTest
in interface junit.framework.TestListener
startTest
in class junit.runner.BaseTestRunner
public void endTest(junit.framework.Test test)
endTest
in interface junit.framework.TestListener
endTest
in class junit.runner.BaseTestRunner
protected void runFailed(String message)
runFailed
in class junit.runner.BaseTestRunner
protected void clearStatus()
clearStatus
in class junit.runner.BaseTestRunner
public junit.framework.Test getTest(String testClass)
getTest
in class junit.runner.BaseTestRunner
public void testStarted(String arg0)
testStarted
in class junit.runner.BaseTestRunner
public void testEnded(String arg0)
testEnded
in class junit.runner.BaseTestRunner
public void testFailed(int arg0, junit.framework.Test arg1, Throwable arg2)
testFailed
in class junit.runner.BaseTestRunner
Copyright © 2002 – 2024 Project Wonder.