|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IgnoredTestListener
Provides the functionality for TestListeners to be able to be notified of the necessary JUnit4 events for test being ignored (@Ignore annotation) or skipped (Assume failures). Tests written in JUnit4 will report against the methods in this interface alongside the methods in the existing TestListener
| Method Summary | |
|---|---|
void |
testAssumptionFailure(junit.framework.Test test,
java.lang.Throwable exception)
Receive a report that a test has failed an assumption. |
void |
testIgnored(junit.framework.Test test)
Reports when a test has been marked with the @Ignore annotation. |
| Methods inherited from interface junit.framework.TestListener |
|---|
addError, addFailure, endTest, startTest |
| Method Detail |
|---|
void testIgnored(junit.framework.Test test)
JUnit4TestCaseFacade
so implementing classes should be able to get the details of the ignore by casting
the argument and retrieving the descriptor from the test.
test - the details of the test and failure that have triggered this report.
void testAssumptionFailure(junit.framework.Test test,
java.lang.Throwable exception)
test - the details of the test and failure that have triggered this report.exception - the AssumptionViolatedException thrown from the current assumption failure.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||