public class EachTestNotifier
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Description |
description |
private RunNotifier |
notifier |
| Constructor and Description |
|---|
EachTestNotifier(RunNotifier notifier,
Description description) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFailedAssumption(AssumptionViolatedException e) |
void |
addFailure(java.lang.Throwable targetException) |
private void |
addMultipleFailureException(MultipleFailureException mfe) |
void |
fireTestFinished() |
void |
fireTestIgnored() |
void |
fireTestStarted() |
void |
fireTestSuiteFinished()
Calls
RunNotifier.fireTestSuiteFinished(Description), passing the
Description that was passed to the EachTestNotifier constructor. |
void |
fireTestSuiteStarted()
Calls
RunNotifier.fireTestSuiteStarted(Description), passing the
Description that was passed to the EachTestNotifier constructor. |
private final RunNotifier notifier
private final Description description
public EachTestNotifier(RunNotifier notifier, Description description)
public void addFailure(java.lang.Throwable targetException)
private void addMultipleFailureException(MultipleFailureException mfe)
public void addFailedAssumption(AssumptionViolatedException e)
public void fireTestFinished()
public void fireTestStarted()
public void fireTestIgnored()
public void fireTestSuiteStarted()
RunNotifier.fireTestSuiteStarted(Description), passing the
Description that was passed to the EachTestNotifier constructor.
This should be called when a test suite is about to be started.RunNotifier.fireTestSuiteStarted(Description)public void fireTestSuiteFinished()
RunNotifier.fireTestSuiteFinished(Description), passing the
Description that was passed to the EachTestNotifier constructor.
This should be called when a test suite has finished, whether the test suite succeeds
or fails.RunNotifier.fireTestSuiteFinished(Description)