类 RunBeforeTestClassCallbacks
- java.lang.Object
- org.junit.runners.model.Statement
- org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks
public class RunBeforeTestClassCallbacks extends Statement
RunBeforeTestClassCallbacksis a custom JUnitStatementwhich allows the Spring TestContext Framework to be plugged into the JUnit execution chain by callingbeforeTestClass()on the suppliedTestContextManager.- 从以下版本开始:
- 3.0
- 作者:
- Sam Brannen
- 另请参阅:
evaluate(),RunAfterTestMethodCallbacks
构造器概要
构造器 构造器 说明 RunBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager)Construct a newRunBeforeTestClassCallbacksstatement.
构造器详细资料
RunBeforeTestClassCallbacks
public RunBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager)
Construct a newRunBeforeTestClassCallbacksstatement.- 参数:
next- the nextStatementin the execution chaintestContextManager- the TestContextManager upon which to callbeforeTestClass()