类 RunBeforeTestClassCallbacks
- java.lang.Object
- org.junit.runners.model.Statement
- org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks
public class RunBeforeTestClassCallbacks extends Statement
RunBeforeTestClassCallbacks
is a custom JUnitStatement
which 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 newRunBeforeTestClassCallbacks
statement.
构造器详细资料
RunBeforeTestClassCallbacks
public RunBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager)
Construct a newRunBeforeTestClassCallbacks
statement.- 参数:
next
- the nextStatement
in the execution chaintestContextManager
- the TestContextManager upon which to callbeforeTestClass()