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.| Constructor and Description |
|---|
NoExceptionRunListenerDecorator(org.junit.runner.notification.RunListener delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
exception(Throwable t) |
void |
testAssumptionFailure(org.junit.runner.notification.Failure failure) |
void |
testFailure(org.junit.runner.notification.Failure failure) |
void |
testFinished(org.junit.runner.Description description) |
void |
testIgnored(org.junit.runner.Description description) |
void |
testRunFinished(org.junit.runner.Result result) |
void |
testRunStarted(org.junit.runner.Description description) |
void |
testStarted(org.junit.runner.Description description) |
public NoExceptionRunListenerDecorator(org.junit.runner.notification.RunListener delegate)
public final void testRunStarted(org.junit.runner.Description description)
throws Exception
testRunStarted in class org.junit.runner.notification.RunListenerExceptionpublic final void testRunFinished(org.junit.runner.Result result)
throws Exception
testRunFinished in class org.junit.runner.notification.RunListenerExceptionpublic final void testStarted(org.junit.runner.Description description)
throws Exception
testStarted in class org.junit.runner.notification.RunListenerExceptionpublic final void testFinished(org.junit.runner.Description description)
throws Exception
testFinished in class org.junit.runner.notification.RunListenerExceptionpublic final void testFailure(org.junit.runner.notification.Failure failure)
throws Exception
testFailure in class org.junit.runner.notification.RunListenerExceptionpublic final void testAssumptionFailure(org.junit.runner.notification.Failure failure)
testAssumptionFailure in class org.junit.runner.notification.RunListenerpublic final void testIgnored(org.junit.runner.Description description)
throws Exception
testIgnored in class org.junit.runner.notification.RunListenerExceptionprotected abstract void exception(Throwable t)
Copyright © 2011–2025 Carrot Search s.c.. All rights reserved.