Uses of Interface
org.springframework.test.context.TestExecutionListener
Packages that use 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.
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
Methods in org.springframework.test.context that return types with arguments of type TestExecutionListenerModifier and TypeMethodDescriptionTestContextBootstrapper.getTestExecutionListeners()Get a list of newly instantiatedTestExecutionListenersfor the test class in theBootstrapContextassociated with this bootstrapper.final List<TestExecutionListener>TestContextManager.getTestExecutionListeners()Get the currentTestExecutionListenersregistered for thisTestContextManager.Methods in org.springframework.test.context with parameters of type TestExecutionListenerModifier and TypeMethodDescriptionvoidTestContextManager.registerTestExecutionListeners(TestExecutionListener... testExecutionListeners) Register the supplied array ofTestExecutionListenersby appending them to the list of listeners used by thisTestContextManager.Method parameters in org.springframework.test.context with type arguments of type TestExecutionListenerModifier and TypeMethodDescriptionvoidTestContextManager.registerTestExecutionListeners(List<TestExecutionListener> testExecutionListeners) Register the supplied list ofTestExecutionListenersby appending them to the list of listeners used by thisTestContextManager. -
Uses of TestExecutionListener in org.springframework.test.context.event
Classes in org.springframework.test.context.event that implement TestExecutionListenerModifier and TypeClassDescriptionclassTestExecutionListenerwhich provides support forApplicationEvents.classTestExecutionListenerthat publishes test execution events to theApplicationContextfor the currently executing test. -
Uses of TestExecutionListener in org.springframework.test.context.jdbc
Classes in org.springframework.test.context.jdbc that implement TestExecutionListenerModifier and TypeClassDescriptionclassTestExecutionListenerthat provides support for executing SQLscriptsand inlinedstatementsconfigured via the@Sqlannotation. -
Uses of TestExecutionListener in org.springframework.test.context.support
Classes in org.springframework.test.context.support that implement TestExecutionListenerModifier and TypeClassDescriptionclassAbstract base class forTestExecutionListenerimplementations that provide support for marking theApplicationContextassociated with a test as dirty for both test classes and test methods annotated with the@DirtiesContextannotation.classAbstract ordered implementation of theTestExecutionListenerAPI.classTestExecutionListenerwhich provides support for dependency injection and initialization of test instances.classTestExecutionListenerwhich provides support for marking theApplicationContextassociated with a test as dirty for both test classes and test methods annotated with the@DirtiesContextannotation.classTestExecutionListenerwhich provides support for marking theApplicationContextassociated with a test as dirty for both test classes and test methods annotated with the@DirtiesContextannotation.Methods in org.springframework.test.context.support that return types with arguments of type TestExecutionListenerModifier and TypeMethodDescriptionprotected Set<Class<? extends TestExecutionListener>>AbstractTestContextBootstrapper.getDefaultTestExecutionListenerClasses()Get the defaultTestExecutionListenerclasses for this bootstrapper.final List<TestExecutionListener>AbstractTestContextBootstrapper.getTestExecutionListeners() -
Uses of TestExecutionListener in org.springframework.test.context.transaction
Classes in org.springframework.test.context.transaction that implement TestExecutionListenerModifier and TypeClassDescriptionclassTestExecutionListenerthat provides support for executing tests within test-managed transactions by honoring Spring's@Transactionalannotation. -
Uses of TestExecutionListener in org.springframework.test.context.web
Classes in org.springframework.test.context.web that implement TestExecutionListenerModifier and TypeClassDescriptionclassTestExecutionListenerwhich provides mock Servlet API support toWebApplicationContextsloaded by the Spring TestContext Framework.