Class 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 Detail

      • CurrentInstanceCleaner

        public CurrentInstanceCleaner()
    • Method Detail

      • testStarted

        public void testStarted​(org.junit.runner.Description description)
                         throws Exception
        Overrides:
        testStarted in class org.junit.runner.notification.RunListener
        Throws:
        Exception