Uses of Interface
org.springframework.test.context.TestExecutionListener
Package
Description
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.
Ahead-of-time (AOT) support for the Spring TestContext Framework.
Test event support classes for the Spring TestContext Framework.
JDBC support classes for the Spring TestContext Framework,
including support for declarative SQL script execution via
@Sql
.Support classes for the Spring TestContext Framework.
Transactional support classes for the Spring TestContext Framework.
Web support classes for the Spring TestContext Framework.
-
Uses of TestExecutionListener in org.springframework.test.context
Modifier and TypeMethodDescriptionTestContextBootstrapper.getTestExecutionListeners()
Get a list of newly instantiatedTestExecutionListeners
for the test class in theBootstrapContext
associated with this bootstrapper.final List<TestExecutionListener>
TestContextManager.getTestExecutionListeners()
Get the currentTestExecutionListeners
registered for thisTestContextManager
.Modifier and TypeMethodDescriptionvoid
TestContextManager.registerTestExecutionListeners
(TestExecutionListener... testExecutionListeners) Register the supplied array ofTestExecutionListeners
by appending them to the list of listeners used by thisTestContextManager
.Modifier and TypeMethodDescriptionvoid
TestContextManager.registerTestExecutionListeners
(List<TestExecutionListener> testExecutionListeners) Register the supplied list ofTestExecutionListeners
by appending them to the list of listeners used by thisTestContextManager
. -
Uses of TestExecutionListener in org.springframework.test.context.aot
Modifier and TypeInterfaceDescriptioninterface
AotTestExecutionListener
is an extension of theTestExecutionListener
SPI that allows a listener to optionally provide ahead-of-time (AOT) support. -
Uses of TestExecutionListener in org.springframework.test.context.event
Modifier and TypeClassDescriptionclass
TestExecutionListener
which provides support forApplicationEvents
.class
TestExecutionListener
that publishes test execution events to theApplicationContext
for the currently executing test. -
Uses of TestExecutionListener in org.springframework.test.context.jdbc
Modifier and TypeClassDescriptionclass
TestExecutionListener
that provides support for executing SQLscripts
and inlinedstatements
configured via the@Sql
annotation. -
Uses of TestExecutionListener in org.springframework.test.context.support
Modifier and TypeClassDescriptionclass
Abstract base class forTestExecutionListener
implementations that provide support for marking theApplicationContext
associated with a test as dirty for both test classes and test methods annotated with the@DirtiesContext
annotation.class
Abstract ordered implementation of theTestExecutionListener
API.class
TestExecutionListener
which provides support for dependency injection and initialization of test instances.class
TestExecutionListener
which provides support for marking theApplicationContext
associated with a test as dirty for both test classes and test methods annotated with the@DirtiesContext
annotation.class
TestExecutionListener
which provides support for marking theApplicationContext
associated with a test as dirty for both test classes and test methods annotated with the@DirtiesContext
annotation.Modifier and TypeMethodDescriptionprotected List<TestExecutionListener>
AbstractTestContextBootstrapper.getDefaultTestExecutionListeners()
Get the defaultTestExecutionListeners
for this bootstrapper.final List<TestExecutionListener>
AbstractTestContextBootstrapper.getTestExecutionListeners()
-
Uses of TestExecutionListener in org.springframework.test.context.transaction
Modifier and TypeClassDescriptionclass
TestExecutionListener
that provides support for executing tests within test-managed transactions by honoring Spring's@Transactional
annotation. -
Uses of TestExecutionListener in org.springframework.test.context.web
Modifier and TypeClassDescriptionclass
TestExecutionListener
which provides mock Servlet API support toWebApplicationContexts
loaded by the Spring TestContext Framework.