er.testrunner
Class ERXTestRunner
java.lang.Object
junit.runner.BaseTestRunner
er.testrunner.ERXTestRunner
- All Implemented Interfaces:
- TestListener
- public class ERXTestRunner
- extends BaseTestRunner
runs tests with ERTestListeners.
Methods inherited from class junit.runner.BaseTestRunner |
elapsedTimeAsString, extractClassName, getFilteredTrace, getFilteredTrace, getPreference, getPreference, getPreferences, inVAJava, loadSuiteClass, processArguments, savePreferences, setLoading, setPreference, setPreferences, showStackRaw, truncate, useReloadingTestSuiteLoader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final ERXLogger log
- logging support
externalListener
public ERXTestListener externalListener
ERXTestRunner
public ERXTestRunner(ERXTestListener extListener)
- Constructs a TestRunner.
getLoader
public TestSuiteLoader getLoader()
- Always use the StandardTestSuiteLoader. Overridden from
BaseTestRunner.
addError
public void addError(Test test,
Throwable t)
addFailure
public void addFailure(Test test,
AssertionFailedError t)
startTest
public void startTest(Test test)
endTest
public void endTest(Test test)
runFailed
protected void runFailed(String message)
clearStatus
protected void clearStatus()
getTest
public Test getTest(String testClass)
- Get the freshest loaded class. Uses the CompilerProxy to get it.
testStarted
public void testStarted(String arg0)
testEnded
public void testEnded(String arg0)
testFailed
public void testFailed(int arg0,
Test arg1,
Throwable arg2)
Copyright © 2002 – 2004 Project Wonder.