Package | Description |
---|---|
org.springframework.test.context |
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
|
org.springframework.test.context.support |
Support classes for the Spring TestContext Framework.
|
org.springframework.test.context.transaction |
Transactional support classes for the Spring TestContext
Framework.
|
org.springframework.test.context.web |
Web support classes for the Spring TestContext Framework.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Class<? extends TestExecutionListener>> |
TestContextManager.getDefaultTestExecutionListenerClasses()
Determine the default
TestExecutionListener classes. |
List<TestExecutionListener> |
TestContextManager.getTestExecutionListeners()
Get the current
TestExecutionListeners
registered for this TestContextManager . |
Modifier and Type | Method and Description |
---|---|
void |
TestContextManager.registerTestExecutionListeners(TestExecutionListener... testExecutionListeners)
Register the supplied
TestExecutionListeners
by appending them to the set of listeners used by this TestContextManager . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTestExecutionListener
Abstract implementation of the
TestExecutionListener interface which
provides empty method stubs. |
class |
DependencyInjectionTestExecutionListener
TestExecutionListener which provides support for dependency
injection and initialization of test instances. |
class |
DirtiesContextTestExecutionListener
TestExecutionListener which provides support for marking the
ApplicationContext associated with a test as dirty for
both test classes and test methods configured with the @DirtiesContext annotation. |
Modifier and Type | Class and Description |
---|---|
class |
TransactionalTestExecutionListener
TestExecutionListener that provides support for executing tests
within transactions by honoring the
@Transactional
and @NotTransactional annotations. |
Modifier and Type | Class and Description |
---|---|
class |
ServletTestExecutionListener
TestExecutionListener which provides mock Servlet API support to
WebApplicationContexts loaded by the Spring
TestContext Framework. |
Copyright © 2015. All rights reserved.