spring-framework / org.springframework.test.context.junit4.statements / RunBeforeTestClassCallbacks

RunBeforeTestClassCallbacks

open class RunBeforeTestClassCallbacks : Statement

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.

Author
Sam Brannen

Since
3.0

See Also
#evaluate()RunAfterTestMethodCallbacks

Constructors

<init>

RunBeforeTestClassCallbacks(next: Statement, testContextManager: TestContextManager)

Construct a new RunBeforeTestClassCallbacks statement.

Functions

evaluate

open fun evaluate(): Unit

Invoke TestContextManager#beforeTestClass() and then evaluate the next Statement in the execution chain (typically an instance of org.junit.internal.runners.statements.RunBefores).