Class RunAfterTestClassCallbacks

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

public class RunAfterTestClassCallbacks extends Statement
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)
      Construct a new RunAfterTestClassCallbacks statement.
      Parameters:
      next - the next Statement in the execution chain
      testContextManager - the TestContextManager upon which to call afterTestClass()
  • Method Details