| java.lang.Object | ||
| ↳ | Statement | |
| ↳ | org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks | |
RunBeforeTestMethodCallbacks is a custom JUnit 4.5+
Statement which allows the Spring TestContext Framework to
be plugged into the JUnit execution chain by calling
beforeTestMethod() on the supplied TestContextManager.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
RunBeforeTestMethodCallbacks statement. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Calls
beforeTestMethod(Object, Method) and
then invokes the next Statement in the execution chain (typically
an instance of org.junit.internal.runners.statements.RunBefores
RunBefores). | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a new RunBeforeTestMethodCallbacks statement.
| next | the next Statement in the execution chain |
|---|---|
| testInstance | the current test instance (never null) |
| testMethod | the test method which is about to be executed on the test instance |
| testContextManager | the TestContextManager upon which to call
beforeTestMethod()
|
Calls beforeTestMethod(Object, Method) and
then invokes the next Statement in the execution chain (typically
an instance of org.junit.internal.runners.statements.RunBefores
RunBefores).
| Throwable |
|---|