Project Wonder 2.0

er.testrunner
Class ERXTestRunner

java.lang.Object
  extended byjunit.runner.BaseTestRunner
      extended byer.testrunner.ERXTestRunner
All Implemented Interfaces:
TestListener

public class ERXTestRunner
extends BaseTestRunner

runs tests with ERTestListeners.


Field Summary
 ERXTestListener externalListener
           
static ERXLogger log
          logging support
 
Fields inherited from class junit.runner.BaseTestRunner
SUITE_METHODNAME
 
Constructor Summary
ERXTestRunner(ERXTestListener extListener)
          Constructs a TestRunner.
 
Method Summary
 void addError(Test test, Throwable t)
           
 void addFailure(Test test, AssertionFailedError t)
           
protected  void clearStatus()
           
 void endTest(Test test)
           
 TestSuiteLoader getLoader()
          Always use the StandardTestSuiteLoader.
 Test getTest(String testClass)
          Get the freshest loaded class.
protected  void runFailed(String message)
           
 void startTest(Test test)
           
 void testEnded(String arg0)
           
 void testFailed(int arg0, Test arg1, Throwable arg2)
           
 void testStarted(String arg0)
           
 
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
 

Field Detail

log

public static final ERXLogger log
logging support


externalListener

public ERXTestListener externalListener
Constructor Detail

ERXTestRunner

public ERXTestRunner(ERXTestListener extListener)
Constructs a TestRunner.

Method Detail

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)

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.