|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.testrunner.ERXBatchTestInterface
public class ERXBatchTestInterface
Used for running a batch of tests.
Field Summary | |
---|---|
protected java.lang.String |
_errorMessage
|
protected boolean |
_showExceptions
|
protected java.lang.String |
_test
|
protected ERXTestRunner |
aTestRunner
|
static boolean |
HIDE_EXCEPTIONS
|
static org.apache.log4j.Logger |
log
logging support |
protected long |
runTime
|
static boolean |
SHOW_EXCEPTIONS
|
protected ERXTestResult |
testResult
|
Constructor Summary | |
---|---|
ERXBatchTestInterface(java.lang.String test)
|
Method Summary | |
---|---|
void |
addError(junit.framework.Test test,
java.lang.Throwable t)
|
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
|
void |
clearStatus()
|
protected ERXTestResult |
doRun(junit.framework.Test suite)
|
void |
endTest(junit.framework.Test test)
|
java.lang.String |
errorMessage()
|
void |
performTest(org.apache.log4j.Logger 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(java.lang.String message)
|
long |
runTime()
|
boolean |
showExceptions()
|
protected ERXTestResult |
start()
|
void |
startTest(junit.framework.Test test)
|
java.lang.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 org.apache.log4j.Logger log
public static final boolean SHOW_EXCEPTIONS
public static final boolean HIDE_EXCEPTIONS
protected java.lang.String _test
protected boolean _showExceptions
protected java.lang.String _errorMessage
protected ERXTestRunner aTestRunner
protected ERXTestResult testResult
protected long runTime
Constructor Detail |
---|
public ERXBatchTestInterface(java.lang.String test)
Method Detail |
---|
public void performTest(org.apache.log4j.Logger userLogger, boolean showExceptions)
protected ERXTestResult start() throws java.lang.Exception
java.lang.Exception
protected ERXTestResult doRun(junit.framework.Test suite)
public void print()
protected void printErrors()
protected void printFailures()
protected void printHeader()
public ERXTestResult testResult()
public java.lang.String errorMessage()
public long runTime()
public java.lang.String test()
public boolean showExceptions()
public void addError(junit.framework.Test test, java.lang.Throwable t)
addError
in interface junit.framework.TestListener
public void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
addFailure
in interface junit.framework.TestListener
public void startTest(junit.framework.Test test)
startTest
in interface junit.framework.TestListener
public void endTest(junit.framework.Test test)
endTest
in interface junit.framework.TestListener
public void runFailed(java.lang.String message)
runFailed
in interface ERXTestListener
public void clearStatus()
clearStatus
in interface ERXTestListener
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |