Class ThreadLeakControl.SubNotifier
- java.lang.Object
-
- org.junit.runner.notification.RunNotifier
-
- com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
-
- Enclosing class:
- ThreadLeakControl
private class ThreadLeakControl.SubNotifier extends org.junit.runner.notification.RunNotifierSub-notifier that controls passing events back in case of timeouts.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanstopRequested(package private) org.junit.runner.DescriptiontestInProgress
-
Constructor Summary
Constructors Modifier Constructor Description privateSubNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFirstListener(org.junit.runner.notification.RunListener listener)voidaddListener(org.junit.runner.notification.RunListener listener)voidfireTestAssumptionFailed(org.junit.runner.notification.Failure failure)voidfireTestFailure(org.junit.runner.notification.Failure failure)voidfireTestFinished(org.junit.runner.Description description)voidfireTestIgnored(org.junit.runner.Description description)voidfireTestRunFinished(org.junit.runner.Result result)voidfireTestRunStarted(org.junit.runner.Description description)voidfireTestStarted(org.junit.runner.Description description)voidpleaseStop()Detach from target notifier.voidremoveListener(org.junit.runner.notification.RunListener listener)
-
-
-
Method Detail
-
addListener
public void addListener(org.junit.runner.notification.RunListener listener)
- Overrides:
addListenerin classorg.junit.runner.notification.RunNotifier
-
addFirstListener
public void addFirstListener(org.junit.runner.notification.RunListener listener)
- Overrides:
addFirstListenerin classorg.junit.runner.notification.RunNotifier
-
removeListener
public void removeListener(org.junit.runner.notification.RunListener listener)
- Overrides:
removeListenerin classorg.junit.runner.notification.RunNotifier
-
fireTestRunFinished
public void fireTestRunFinished(org.junit.runner.Result result)
- Overrides:
fireTestRunFinishedin classorg.junit.runner.notification.RunNotifier
-
fireTestRunStarted
public void fireTestRunStarted(org.junit.runner.Description description)
- Overrides:
fireTestRunStartedin classorg.junit.runner.notification.RunNotifier
-
fireTestStarted
public void fireTestStarted(org.junit.runner.Description description) throws org.junit.runner.notification.StoppedByUserException- Overrides:
fireTestStartedin classorg.junit.runner.notification.RunNotifier- Throws:
org.junit.runner.notification.StoppedByUserException
-
fireTestAssumptionFailed
public void fireTestAssumptionFailed(org.junit.runner.notification.Failure failure)
- Overrides:
fireTestAssumptionFailedin classorg.junit.runner.notification.RunNotifier
-
fireTestFailure
public void fireTestFailure(org.junit.runner.notification.Failure failure)
- Overrides:
fireTestFailurein classorg.junit.runner.notification.RunNotifier
-
fireTestIgnored
public void fireTestIgnored(org.junit.runner.Description description)
- Overrides:
fireTestIgnoredin classorg.junit.runner.notification.RunNotifier
-
fireTestFinished
public void fireTestFinished(org.junit.runner.Description description)
- Overrides:
fireTestFinishedin classorg.junit.runner.notification.RunNotifier
-
pleaseStop
public void pleaseStop()
Detach from target notifier.- Overrides:
pleaseStopin classorg.junit.runner.notification.RunNotifier
-
-