public interface IgnoredTestListener
extends junit.framework.TestListener
Modifier and Type | Method and Description |
---|---|
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.
|
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)
Note: Tests that throw assumption failures will still report the endTest method, which may differ from how the addError and addFailure methods work, it's up for any implementing classes to handle this.
test
- the details of the test and failure that have triggered this report.exception
- the AssumptionViolatedException thrown from the current assumption failure.