public class EachTestNotifier extends Object
| Constructor and Description |
|---|
EachTestNotifier(RunNotifier notifier,
Description description) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFailedAssumption(AssumptionViolatedException e) |
void |
addFailure(Throwable targetException) |
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. |
public EachTestNotifier(RunNotifier notifier, Description description)
public void addFailure(Throwable targetException)
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)Copyright © 2002–2025 JUnit. All rights reserved.