Class RunListenerEmitter
java.lang.Object
org.junit.runner.notification.RunListener
com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
public class RunListenerEmitter
extends org.junit.runner.notification.RunListener
Serialize test execution events. Attempts to handle
certain corner cases that are not cleanly handled by
JUnit itself (reporting the cause of ignored methods,
etc.).
-
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 Serializerprivate longprivate org.junit.runner.notification.FailureA failure signaled at the suite level.private org.junit.runner.Descriptionprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtestAssumptionFailure(org.junit.runner.notification.Failure failure) voidtestFailure(org.junit.runner.notification.Failure failure) voidtestFinished(org.junit.runner.Description description) voidtestIgnored(org.junit.runner.Description description) voidtestRunFinished(org.junit.runner.Result result) voidtestRunStarted(org.junit.runner.Description description) voidtestStarted(org.junit.runner.Description description) Methods inherited from class org.junit.runner.notification.RunListener
testSuiteFinished, testSuiteStarted
-
Field Details
-
serializer
-
suiteDescription
private org.junit.runner.Description suiteDescription -
start
private long start -
suiteStart
private long suiteStart -
suiteAssumption
private org.junit.runner.notification.Failure suiteAssumptionA failure signaled at the suite level. Most likely will result in ignored methods.
-
-
Constructor Details
-
RunListenerEmitter
-
-
Method Details
-
testRunStarted
-
testStarted
-
testFailure
-
testAssumptionFailure
public void testAssumptionFailure(org.junit.runner.notification.Failure failure) - Overrides:
testAssumptionFailurein classorg.junit.runner.notification.RunListener
-
testIgnored
-
testFinished
-
testRunFinished
-