|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface TestListener
The TestListener interface defines methods that a class that wants to know the results of a test must implement.
| Method Summary | |
|---|---|
void |
addError(java.lang.Class testClass,
java.lang.String test,
java.lang.Throwable t)
An error occurred. |
void |
addFailure(java.lang.Class testClass,
java.lang.String test,
AssertionFailedException t)
An failure occurred. |
void |
clear()
The test results have been cleared. |
void |
endTest(java.lang.Class testClass,
java.lang.String test)
A test ended. |
void |
startTest(java.lang.Class testClass,
java.lang.String test)
A test started. |
| Method Detail |
|---|
void addError(java.lang.Class testClass,
java.lang.String test,
java.lang.Throwable t)
testClass - The Class associated with the test.test - The test that reported an error.t - The error.
void addFailure(java.lang.Class testClass,
java.lang.String test,
AssertionFailedException t)
testClass - The Class associated with the test.test - The test that reported a failure.t - The failure.
void endTest(java.lang.Class testClass,
java.lang.String test)
testClass - The Class associated with the test.test - The test that ended.
void startTest(java.lang.Class testClass,
java.lang.String test)
testClass - The Class associated with the test.test - The test that started.void clear()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||