类 JUnitExecutionListener


  • public class JUnitExecutionListener
    extends org.junit.runner.notification.RunListener
    Set the TCCL to UnitTestModuleClassLoader before a single TEST is executed, and recover it to AppClassLoader after TEST finished.
    • 方法详细资料

      • getRunListener

        public static org.junit.runner.notification.RunListener getRunListener()
      • testStarted

        public void testStarted​(org.junit.runner.Description description)
                         throws Exception
        覆盖:
        testStarted 在类中 org.junit.runner.notification.RunListener
        抛出:
        Exception
      • testFinished

        public void testFinished​(org.junit.runner.Description description)
                          throws Exception
        覆盖:
        testFinished 在类中 org.junit.runner.notification.RunListener
        抛出:
        Exception
      • isCabinRunnerUsed

        protected boolean isCabinRunnerUsed​(org.junit.runner.Description description)
      • testRunFinished

        public void testRunFinished​(org.junit.runner.Result result)
                             throws Exception
        覆盖:
        testRunFinished 在类中 org.junit.runner.notification.RunListener
        抛出:
        Exception