类 RunPrepareTestInstanceCallbacks

java.lang.Object
org.junit.runners.model.Statement
cn.taketoday.test.context.junit4.statements.RunPrepareTestInstanceCallbacks

public class RunPrepareTestInstanceCallbacks extends org.junit.runners.model.Statement
RunPrepareTestInstanceCallbacks is a custom JUnit Statement which allows the TestContext Framework to be plugged into the JUnit execution chain by calling prepareTestInstance() on the supplied TestContextManager.
从以下版本开始:
4.0
作者:
Sam Brannen
另请参阅:
  • 字段详细资料

    • next

      private final org.junit.runners.model.Statement next
    • testInstance

      private final Object testInstance
    • testContextManager

      private final TestContextManager testContextManager
  • 构造器详细资料

    • RunPrepareTestInstanceCallbacks

      public RunPrepareTestInstanceCallbacks(org.junit.runners.model.Statement next, Object testInstance, TestContextManager testContextManager)
      Construct a new RunPrepareTestInstanceCallbacks statement.
      参数:
      next - the next Statement in the execution chain; never null
      testInstance - the current test instance; never null
      testContextManager - the TestContextManager upon which to call prepareTestInstance(); never null
  • 方法详细资料