public class TestListenerWrapper extends java.lang.Object implements IgnoredTestListener
| Constructor and Description |
|---|
TestListenerWrapper(TestListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(Test test,
java.lang.Throwable throwable) |
void |
addFailure(Test test,
AssertionFailedError assertionFailedError) |
void |
endTest(Test test) |
void |
startTest(Test test) |
void |
testAssumptionFailure(Test test,
java.lang.Throwable throwable)
Receive a report that a test has failed an assumption.
|
void |
testIgnored(Test test)
Reports when a test has been marked with the @Ignore annotation.
|
public void addError(Test test,
java.lang.Throwable throwable)
public void addFailure(Test test,
AssertionFailedError assertionFailedError)
public void endTest(Test test)
public void startTest(Test test)
public void testIgnored(Test test)
IgnoredTestListenerjunit.framework.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.testIgnored in interface IgnoredTestListenertest - the details of the test and failure that have triggered this report.public void testAssumptionFailure(Test test,
java.lang.Throwable throwable)
IgnoredTestListenertestAssumptionFailure in interface IgnoredTestListenertest - the details of the test and failure that have triggered this report.throwable - the AssumptionViolatedException thrown from the current assumption failure.