Class RunBeforeTestClassCallbacks

java.lang.Object
org.junit.runners.model.Statement
org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks

@Deprecated(since="7.0") public class RunBeforeTestClassCallbacks extends Statement
Deprecated.
since Spring Framework 7.0 in favor of the SpringExtension and JUnit Jupiter
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 Details

    • RunBeforeTestClassCallbacks

      public RunBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager)
      Deprecated.
      Construct a new RunBeforeTestClassCallbacks statement.
      Parameters:
      next - the next Statement in the execution chain
      testContextManager - the TestContextManager upon which to call beforeTestClass()
  • Method Details