Class RunAftertestClassCallbacks

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

@Deprecated(since="7.0") public class RunAftertestClassCallbacks extends Statement
Deprecated.
since Spring Framework 7.0 in favor of the SpringExtension and JUnit Jupiter
RunAftertestClassCallbacks is a custom JUnit Statement which allows the Spring testContext Framework to be plugged into the JUnit execution chain by calling aftertestClass() on the supplied testContextManager.

NOTE: This class requires JUnit 4.9 or higher.

Since:
3.0
Author:
Sam Brannen
See Also:
  • Constructor Details

    • RunAftertestClassCallbacks

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