程序包的使用
cn.taketoday.test.context.support
程序包
说明
Classes and annotations related to configuring Infra
ApplicationContext for
tests.Mockito integration for tests.
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.
-
类说明Abstract application context loader that provides a basis for all concrete implementations of the
ContextLoaderSPI.Abstract implementation of theTestContextBootstrapperinterface which provides most of the behavior required by a bootstrapper.Default implementation of theTestContextBootstrapperSPI. -
-
-
-
类说明Abstract application context loader that provides a basis for all concrete implementations of the
ContextLoaderSPI.AbstractDelegatingSmartContextLoaderserves as an abstract base class for implementations of theSmartContextLoaderSPI that delegate to a set of candidate SmartContextLoaders (i.e., one that supports XML configuration files or Groovy scripts and one that supports annotated classes) to determine which context loader is appropriate for a given test class's configuration.Abstract 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.Abstract, generic extension ofAbstractContextLoaderthat loads aGenericApplicationContext.Abstract implementation of theTestContextBootstrapperinterface which provides most of the behavior required by a bootstrapper.Abstract ordered implementation of theTestExecutionListenerAPI.Enumeration of modes that dictate whether explicitly declared factories are merged with the default factories when@ContextCustomizerFactoriesis declared on a class that does not inherit factories from a superclass or enclosing class.Default implementation of theActiveProfilesResolverstrategy that resolves active bean definition profiles based solely on profiles configured declaratively viaActiveProfiles.profiles()orActiveProfiles.value().Default implementation of theTestContextinterface.ContextCustomizerto support@DynamicPropertySourcemethods.MergedTestPropertySourcesencapsulates the merged property sources declared on a test class and all of its superclasses via@TestPropertySource.Strategy for providing named properties — for example, for looking up key-value pairs in a generic fashion.TestPropertySourceAttributesencapsulates attributes declared via@TestPropertySourceannotations. -
-
类说明Abstract application context loader that provides a basis for all concrete implementations of the
ContextLoaderSPI.AbstractDelegatingSmartContextLoaderserves as an abstract base class for implementations of theSmartContextLoaderSPI that delegate to a set of candidate SmartContextLoaders (i.e., one that supports XML configuration files or Groovy scripts and one that supports annotated classes) to determine which context loader is appropriate for a given test class's configuration.Abstract implementation of theTestContextBootstrapperinterface which provides most of the behavior required by a bootstrapper.Abstract ordered implementation of theTestExecutionListenerAPI.Default implementation of theTestContextBootstrapperSPI.