public class ERXBatchTestInterface extends Object implements ERXTestListener
Modifier and Type | Field and Description |
---|---|
protected String |
_errorMessage |
protected boolean |
_showExceptions |
protected String |
_test |
protected ERXTestRunner |
aTestRunner |
static boolean |
HIDE_EXCEPTIONS |
protected long |
runTime |
static boolean |
SHOW_EXCEPTIONS |
protected ERXTestResult |
testResult |
Constructor and Description |
---|
ERXBatchTestInterface(String test) |
Modifier and Type | Method and Description |
---|---|
void |
addError(junit.framework.Test test,
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) |
String |
errorMessage() |
void |
performTest(org.slf4j.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(String message) |
long |
runTime() |
boolean |
showExceptions() |
protected ERXTestResult |
start() |
void |
startTest(junit.framework.Test test) |
String |
test() |
ERXTestResult |
testResult() |
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
public ERXBatchTestInterface(String test)
public void performTest(org.slf4j.Logger userLogger, boolean showExceptions)
protected ERXTestResult start() throws Exception
Exception
protected ERXTestResult doRun(junit.framework.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(junit.framework.Test test, 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(String message)
runFailed
in interface ERXTestListener
public void clearStatus()
clearStatus
in interface ERXTestListener
Copyright © 2002 – 2024 Project Wonder.