类 JUnitExecutionListener
- java.lang.Object
-
- org.junit.runner.notification.RunListener
-
- io.esastack.cabin.support.test.junit.JUnitExecutionListener
-
public class JUnitExecutionListener extends org.junit.runner.notification.RunListenerSet the TCCL to UnitTestModuleClassLoader before a single TEST is executed, and recover it to AppClassLoader after TEST finished.
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static org.junit.runner.notification.RunListenergetRunListener()protected booleanisCabinRunnerUsed(org.junit.runner.Description description)voidtestFinished(org.junit.runner.Description description)voidtestRunFinished(org.junit.runner.Result result)voidtestStarted(org.junit.runner.Description description)
-
-
-
方法详细资料
-
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)
-
-