Class NoExceptionRunListenerDecorator
java.lang.Object
org.junit.runner.notification.RunListener
com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
public abstract class NoExceptionRunListenerDecorator
extends org.junit.runner.notification.RunListener
RunListener decorator that does something before and after a given method call.
A fancier impl. could use a Proxy but RunListener is not an interface.-
Nested Class Summary
Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener
org.junit.runner.notification.RunListener.ThreadSafe -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.junit.runner.notification.RunListener -
Constructor Summary
ConstructorsConstructorDescriptionNoExceptionRunListenerDecorator(org.junit.runner.notification.RunListener delegate) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidfinal voidtestAssumptionFailure(org.junit.runner.notification.Failure failure) final voidtestFailure(org.junit.runner.notification.Failure failure) final voidtestFinished(org.junit.runner.Description description) final voidtestIgnored(org.junit.runner.Description description) final voidtestRunFinished(org.junit.runner.Result result) final voidtestRunStarted(org.junit.runner.Description description) final voidtestStarted(org.junit.runner.Description description) Methods inherited from class org.junit.runner.notification.RunListener
testSuiteFinished, testSuiteStarted
-
Field Details
-
delegate
private final org.junit.runner.notification.RunListener delegate
-
-
Constructor Details
-
NoExceptionRunListenerDecorator
public NoExceptionRunListenerDecorator(org.junit.runner.notification.RunListener delegate)
-
-
Method Details
-
testRunStarted
-
testRunFinished
-
testStarted
-
testFinished
-
testFailure
-
testAssumptionFailure
public final void testAssumptionFailure(org.junit.runner.notification.Failure failure) - Overrides:
testAssumptionFailurein classorg.junit.runner.notification.RunListener
-
testIgnored
-
exception
-