Package com.vaadin.flow.testutil
Class CurrentInstanceCleaner
java.lang.Object
org.junit.runner.notification.RunListener
com.vaadin.flow.testutil.CurrentInstanceCleaner
public class CurrentInstanceCleaner
extends org.junit.runner.notification.RunListener
Removes any CurrentInstance thread locals before running a test.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener
org.junit.runner.notification.RunListener.ThreadSafe -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testFailure, testFinished, testIgnored, testRunFinished, testRunStarted, testSuiteFinished, testSuiteStarted
-
Constructor Details
-
CurrentInstanceCleaner
public CurrentInstanceCleaner()
-
-
Method Details
-
testStarted
- Overrides:
testStartedin classorg.junit.runner.notification.RunListener- Throws:
Exception
-