Package | Description |
---|---|
org.springframework.test.context.junit4 |
Support classes for integrating the Spring TestContext Framework
with JUnit 4.12 or higher.
|
org.springframework.test.context.junit4.statements |
Custom JUnit 4
Statements used in the Spring TestContext Framework. |
Modifier and Type | Method and Description |
---|---|
protected TestContextManager |
SpringJUnit4ClassRunner.createTestContextManager(Class<?> clazz)
Create a new
TestContextManager for the supplied test class. |
protected TestContextManager |
SpringJUnit4ClassRunner.getTestContextManager()
Get the
TestContextManager associated with this runner. |
Constructor and Description |
---|
RunAfterTestClassCallbacks(Statement next,
TestContextManager testContextManager)
Construct a new
RunAfterTestClassCallbacks statement. |
RunAfterTestExecutionCallbacks(Statement next,
Object testInstance,
Method testMethod,
TestContextManager testContextManager)
Construct a new
RunAfterTestExecutionCallbacks statement. |
RunAfterTestMethodCallbacks(Statement next,
Object testInstance,
Method testMethod,
TestContextManager testContextManager)
Construct a new
RunAfterTestMethodCallbacks statement. |
RunBeforeTestClassCallbacks(Statement next,
TestContextManager testContextManager)
Construct a new
RunBeforeTestClassCallbacks statement. |
RunBeforeTestExecutionCallbacks(Statement next,
Object testInstance,
Method testMethod,
TestContextManager testContextManager)
Construct a new
RunBeforeTestExecutionCallbacks statement. |
RunBeforeTestMethodCallbacks(Statement next,
Object testInstance,
Method testMethod,
TestContextManager testContextManager)
Construct a new
RunBeforeTestMethodCallbacks statement. |
RunPrepareTestInstanceCallbacks(Statement next,
Object testInstance,
TestContextManager testContextManager)
Construct a new
RunPrepareTestInstanceCallbacks statement. |