Class RunBeforetestMethodCallbacks
java.lang.Object
org.junit.runners.model.Statement
org.springframework.test.context.junit4.statements.RunBeforetestMethodCallbacks
Deprecated.
RunBeforetestMethodCallbacks is a custom JUnit Statement which allows
the Spring testContext Framework to be plugged into the JUnit execution chain
by calling beforetestMethod() on the supplied testContextManager.- Since:
- 3.0
- Author:
- Sam Brannen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRunBeforetestMethodCallbacks(Statement next, Object testInstance, Method testMethod, testContextManager testContextManager) Deprecated.Construct a newRunBeforetestMethodCallbacksstatement. -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate()Deprecated.InvoketestContextManager.beforetestMethod(Object, Method)and then evaluate the nextStatementin the execution chain (typically an instance ofRunBefores).
-
Constructor Details
-
RunBeforetestMethodCallbacks
public RunBeforetestMethodCallbacks(Statement next, Object testInstance, Method testMethod, testContextManager testContextManager) Deprecated.Construct a newRunBeforetestMethodCallbacksstatement.- Parameters:
next- the nextStatementin the execution chaintestInstance- the current test instance (nevernull)testMethod- the test method which is about to be executed on the test instancetestContextManager- the testContextManager upon which to callbeforetestMethod()
-
-
Method Details
-
evaluate
-
SpringExtensionand JUnit Jupiter