public class

RunBeforeTestClassCallbacks

extends Statement
java.lang.Object
   ↳ Statement
     ↳ org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks

Class Overview

RunBeforeTestClassCallbacks is a custom JUnit 4.5+ Statement which allows the Spring TestContext Framework to be plugged into the JUnit execution chain by calling beforeTestClass() on the supplied TestContextManager.

Summary

Public Constructors
RunBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager)
Constructs a new RunBeforeTestClassCallbacks statement.
Public Methods
void evaluate()
Calls beforeTestClass() 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

Public Constructors

public RunBeforeTestClassCallbacks (Statement next, TestContextManager testContextManager)

Constructs a new RunBeforeTestClassCallbacks statement.

Parameters
next the next Statement in the execution chain
testContextManager the TestContextManager upon which to call beforeTestClass()

Public Methods

public void evaluate ()

Calls beforeTestClass() and then invokes the next Statement in the execution chain (typically an instance of org.junit.internal.runners.statements.RunBefores RunBefores).

Throws
Throwable