程序包 cn.taketoday.framework.test.context
package cn.taketoday.framework.test.context
Classes and annotations related to configuring Infra
ApplicationContext for
tests.-
类说明Utility class to find a class annotated with a particular annotation in a hierarchy.Cache implementation based on
LinkedHashMap.ApplicationContextInitializerthat can be used with theContextConfiguration.initializers()to trigger loading ofConfigDatasuch as application.properties.TestURLClassLoaderthat can filter the classes and resources it can load.Filter to restrict the classes that can be loaded.Filter to restrict the resources that can be loaded.Filter to restrict the packages that can be loaded.ContextCustomizerto allow@Importannotations to be used directly on test classes.The key used to ensure correct application context caching.BeanDefinitionRegistryPostProcessorto cleanup temporary configuration added to load imports.@Configurationregistered to trigger theImportsContextCustomizer.ImportsSelector.ImportSelectorthat returns the original test class so that direct@Importannotations are processed.ContextCustomizerFactoryto allow@Importannotations to be used directly on test classes.AContextLoaderthat can be used to test Infra applications (those that normally startup usingApplication).Adapts aContextCustomizerto aApplicationContextInitializerso that it can be triggered viaApplication.ApplicationContextInitializerused to set the parent context.Inner class to configureWebMergedContextConfiguration.Annotation that can be specified on a test class that runs Infra based tests.An enumeration web environment modes.Entry point for AOT processing of a Infra application's tests.ContextCustomizerto track application arguments that are used in aInfraTest.TestContextBootstrapperfor Infra.ContextCustomizerto track the web environment that is used in aInfraTest.Encapsulates the merged context configuration declared on a test class and all of its superclasses for a reactive web application.@Componentthat can be used when a bean is intended only for tests, and should be excluded from Infra's component scanning.@Configurationthat can be used to define additional beans or customizations for a test.Callback interface trigger fromInfraTestContextBootstrapperthat can be used to post-process the list of defaultTestExecutionListenerclasses to be used by a test.