|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object er.testrunner.ERXBatchTestInterface
Used for running a batch of tests.
Field Summary | |
protected String |
_errorMessage
|
protected boolean |
_showExceptions
|
protected String |
_test
|
protected ERXTestRunner |
aTestRunner
|
static boolean |
HIDE_EXCEPTIONS
|
static ERXLogger |
log
logging support |
protected long |
runTime
|
static boolean |
SHOW_EXCEPTIONS
|
protected ERXTestResult |
testResult
|
Constructor Summary | |
ERXBatchTestInterface(String test)
|
Method Summary | |
void |
addError(Test test,
Throwable t)
|
void |
addFailure(Test test,
AssertionFailedError t)
|
void |
clearStatus()
|
protected ERXTestResult |
doRun(Test suite)
|
void |
endTest(Test test)
|
String |
errorMessage()
|
void |
performTest(ERXLogger userLogger,
boolean showExceptions)
|
void |
print()
|
protected void |
printErrors()
Prints the errors to the standard output |
protected void |
printFailures()
Prints failures to the standard output |
protected void |
printHeader()
Prints the header of the report |
void |
runFailed(String message)
|
long |
runTime()
|
boolean |
showExceptions()
|
protected ERXTestResult |
start()
|
void |
startTest(Test test)
|
String |
test()
|
ERXTestResult |
testResult()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final ERXLogger log
public static final boolean SHOW_EXCEPTIONS
public static final boolean HIDE_EXCEPTIONS
protected String _test
protected boolean _showExceptions
protected String _errorMessage
protected ERXTestRunner aTestRunner
protected ERXTestResult testResult
protected long runTime
Constructor Detail |
public ERXBatchTestInterface(String test)
Method Detail |
public void performTest(ERXLogger userLogger, boolean showExceptions)
protected ERXTestResult start() throws Exception
Exception
protected ERXTestResult doRun(Test suite)
public void print()
protected void printErrors()
protected void printFailures()
protected void printHeader()
public ERXTestResult testResult()
public String errorMessage()
public long runTime()
public String test()
public boolean showExceptions()
public void addError(Test test, Throwable t)
addError
in interface TestListener
public void addFailure(Test test, AssertionFailedError t)
addFailure
in interface TestListener
public void startTest(Test test)
startTest
in interface TestListener
public void endTest(Test test)
endTest
in interface TestListener
public void runFailed(String message)
runFailed
in interface ERXTestListener
public void clearStatus()
clearStatus
in interface ERXTestListener
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |