|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestListener
A Listener for test progress
Method Summary | |
---|---|
void |
addError(Test test,
Throwable t)
Informs this listener that an error has occurred. |
void |
addFailure(Test test,
AssertionFailedError t)
Informs this listener that a failure has occurred. |
void |
endTest(Test test)
Informs this listener about the end of test. |
void |
startTest(Test test)
Informs this listener that a test has started. |
Method Detail |
---|
void addError(Test test, Throwable t)
test
- test that threw an exception.t
- Throwable thrown while executing test.void addFailure(Test test, AssertionFailedError t)
test
- test that failed.t
- AssertionFailedError
that describes failure.void endTest(Test test)
test
- ended test.void startTest(Test test)
test
- started test.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |