Class RunBeforeTestClassCallbacks
java.lang.Object
org.junit.runners.model.Statement
org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks
RunBeforeTestClassCallbacks is a custom JUnit Statement which allows
the Spring TestContext Framework to be plugged into the JUnit execution chain
by calling beforeTestClass() on the
supplied TestContextManager.- Since:
- 3.0
- Author:
- Sam Brannen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRunBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager) Construct a newRunBeforeTestClassCallbacksstatement. -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate()InvokeTestContextManager.beforeTestClass()and then evaluate the nextStatementin the execution chain (typically an instance ofRunBefores).
-
Constructor Details
-
RunBeforeTestClassCallbacks
Construct a newRunBeforeTestClassCallbacksstatement.- Parameters:
next- the nextStatementin the execution chaintestContextManager- the TestContextManager upon which to callbeforeTestClass()
-
-
Method Details
-
evaluate
InvokeTestContextManager.beforeTestClass()and then evaluate the nextStatementin the execution chain (typically an instance ofRunBefores).
-