Package org.junit.internal.runners.model
Class EachTestNotifier
- java.lang.Object
-
- org.junit.internal.runners.model.EachTestNotifier
-
public class EachTestNotifier extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EachTestNotifier(RunNotifier notifier, Description description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFailedAssumption(AssumptionViolatedException e)
void
addFailure(java.lang.Throwable targetException)
void
fireTestFinished()
void
fireTestIgnored()
void
fireTestStarted()
void
fireTestSuiteFinished()
CallsRunNotifier.fireTestSuiteFinished(Description)
, passing theDescription
that was passed to theEachTestNotifier
constructor.void
fireTestSuiteStarted()
CallsRunNotifier.fireTestSuiteStarted(Description)
, passing theDescription
that was passed to theEachTestNotifier
constructor.
-
-
-
Constructor Detail
-
EachTestNotifier
public EachTestNotifier(RunNotifier notifier, Description description)
-
-
Method Detail
-
addFailure
public void addFailure(java.lang.Throwable targetException)
-
addFailedAssumption
public void addFailedAssumption(AssumptionViolatedException e)
-
fireTestFinished
public void fireTestFinished()
-
fireTestStarted
public void fireTestStarted()
-
fireTestIgnored
public void fireTestIgnored()
-
fireTestSuiteStarted
public void fireTestSuiteStarted()
CallsRunNotifier.fireTestSuiteStarted(Description)
, passing theDescription
that was passed to theEachTestNotifier
constructor. This should be called when a test suite is about to be started.- Since:
- 4.13
- See Also:
RunNotifier.fireTestSuiteStarted(Description)
-
fireTestSuiteFinished
public void fireTestSuiteFinished()
CallsRunNotifier.fireTestSuiteFinished(Description)
, passing theDescription
that was passed to theEachTestNotifier
constructor. This should be called when a test suite has finished, whether the test suite succeeds or fails.- Since:
- 4.13
- See Also:
RunNotifier.fireTestSuiteFinished(Description)
-
-