接口的使用
cn.taketoday.test.context.TestExecutionListener
使用TestExecutionListener的程序包
程序包
说明
Classes and annotations related to configuring Infra
ApplicationContext for
tests.Mockito integration for tests.
This package contains the 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 Infra TestContext Framework.
Test event support classes for the TestContext Framework.
JDBC support classes for the TestContext Framework,
including support for declarative SQL script execution via
@Sql.Support classes for the TestContext Framework.
Transactional support classes for the TestContext Framework.
Web support classes for the TestContext Framework.
-
cn.taketoday.framework.test.context中TestExecutionListener的使用
返回变量类型为TestExecutionListener的类型的cn.taketoday.framework.test.context中的方法修饰符和类型方法说明protected List<TestExecutionListener>InfraTestContextBootstrapper.getDefaultTestExecutionListeners()TestExecutionListenersPostProcessor.postProcessListeners(List<TestExecutionListener> listeners) Post process the list of defaultTestExecutionListenerclasses to be used.类型变量类型为TestExecutionListener的cn.taketoday.framework.test.context中的方法参数修饰符和类型方法说明TestExecutionListenersPostProcessor.postProcessListeners(List<TestExecutionListener> listeners) Post process the list of defaultTestExecutionListenerclasses to be used. -
cn.taketoday.framework.test.mock.mockito中TestExecutionListener的使用
修饰符和类型类说明classclassTestExecutionListenerto reset any mock beans that have been marked with aMockReset. -
cn.taketoday.test.context中TestExecutionListener的使用
类型参数类型为TestExecutionListener的cn.taketoday.test.context中的字段返回变量类型为TestExecutionListener的类型的cn.taketoday.test.context中的方法修饰符和类型方法说明private List<TestExecutionListener>TestContextManager.getReversedTestExecutionListeners()Get a copy of theTestExecutionListenersregistered for thisTestContextManagerin reverse order.TestContextBootstrapper.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.修饰符和类型方法说明private voidTestContextManager.handleBeforeException(Throwable ex, String callbackName, TestExecutionListener testExecutionListener, Object testInstance, Method testMethod) private voidTestContextManager.logException(Throwable ex, String callbackName, TestExecutionListener testExecutionListener, Class<?> testClass) private voidTestContextManager.logException(Throwable ex, String callbackName, TestExecutionListener testExecutionListener, Object testInstance, Method testMethod) voidTestContextManager.registerTestExecutionListeners(TestExecutionListener... testExecutionListeners) Register the supplied array ofTestExecutionListenersby appending them to the list of listeners used by thisTestContextManager.类型变量类型为TestExecutionListener的cn.taketoday.test.context中的方法参数修饰符和类型方法说明voidTestContextManager.registerTestExecutionListeners(List<TestExecutionListener> testExecutionListeners) Register the supplied list ofTestExecutionListenersby appending them to the list of listeners used by thisTestContextManager. -
cn.taketoday.test.context.aot中TestExecutionListener的使用
修饰符和类型接口说明interfaceAotTestExecutionListeneris an extension of theTestExecutionListenerSPI that allows a listener to optionally provide ahead-of-time (AOT) support. -
cn.taketoday.test.context.event中TestExecutionListener的使用
修饰符和类型类说明classTestExecutionListenerwhich provides support forApplicationEvents.classTestExecutionListenerthat publishes test execution events to theApplicationContextfor the currently executing test. -
cn.taketoday.test.context.jdbc中TestExecutionListener的使用
修饰符和类型类说明classTestExecutionListenerthat provides support for executing SQLscriptsand inlinedstatementsconfigured via the@Sqlannotation. -
cn.taketoday.test.context.support中TestExecutionListener的使用
修饰符和类型类说明classAbstract 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.返回变量类型为TestExecutionListener的类型的cn.taketoday.test.context.support中的方法修饰符和类型方法说明protected List<TestExecutionListener>AbstractTestContextBootstrapper.getDefaultTestExecutionListeners()Get the defaultTestExecutionListenersfor this bootstrapper.final List<TestExecutionListener>AbstractTestContextBootstrapper.getTestExecutionListeners()private List<TestExecutionListener>AbstractTestContextBootstrapper.instantiateListeners(Class<? extends TestExecutionListener>... classes) -
cn.taketoday.test.context.transaction中TestExecutionListener的使用
修饰符和类型类说明classTestExecutionListenerthat provides support for executing tests within test-managed transactions by honoring Framework's@Transactionalannotation. -
cn.taketoday.test.context.web中TestExecutionListener的使用
修饰符和类型类说明classTestExecutionListenerwhich provides mock Servlet API support toWebServletApplicationContextloaded by the Infra TestContext Framework.