接口的使用
cn.taketoday.test.context.CacheAwareContextLoaderDelegate
程序包
说明
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.
Support for context caching within the TestContext Framework.
Support classes for the TestContext Framework.
Web support classes for the TestContext Framework.
-
cn.taketoday.test.context中CacheAwareContextLoaderDelegate的使用
修饰符和类型字段说明private final CacheAwareContextLoaderDelegateMergedContextConfiguration.cacheAwareContextLoaderDelegate修饰符和类型方法说明private static CacheAwareContextLoaderDelegateBootstrapUtils.createCacheAwareContextLoaderDelegate()BootstrapContext.getCacheAwareContextLoaderDelegate()Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.限定符构造器说明MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends cn.taketoday.context.ApplicationContextInitializer>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends cn.taketoday.context.ApplicationContextInitializer>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends cn.taketoday.context.ApplicationContextInitializer>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends cn.taketoday.context.ApplicationContextInitializer>> contextInitializerClasses, String[] activeProfiles, List<cn.taketoday.core.io.PropertySourceDescriptor> propertySourceDescriptors, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters. -
cn.taketoday.test.context.cache中CacheAwareContextLoaderDelegate的使用
限定符构造器说明(专用程序包)AotMergedContextConfiguration(Class<?> testClass, Class<? extends cn.taketoday.context.ApplicationContextInitializer> contextInitializerClass, MergedContextConfiguration original, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate) -
cn.taketoday.test.context.support中CacheAwareContextLoaderDelegate的使用
修饰符和类型字段说明private final CacheAwareContextLoaderDelegateDefaultBootstrapContext.cacheAwareContextLoaderDelegateprivate final CacheAwareContextLoaderDelegateDefaultTestContext.cacheAwareContextLoaderDelegate修饰符和类型方法说明protected CacheAwareContextLoaderDelegateAbstractTestContextBootstrapper.getCacheAwareContextLoaderDelegate()Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.DefaultBootstrapContext.getCacheAwareContextLoaderDelegate()Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.修饰符和类型方法说明private MergedContextConfigurationAbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(Class<?> testClass, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate) private MergedContextConfigurationAbstractTestContextBootstrapper.buildMergedContextConfiguration(Class<?> testClass, List<ContextConfigurationAttributes> configAttributesList, MergedContextConfiguration parentConfig, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, boolean requireLocationsClassesOrInitializers) Build themerged context configurationfor the suppliedtestClass, context configuration attributes, and parent context configuration.限定符构造器说明DefaultBootstrapContext(Class<?> testClass, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate) Construct a newDefaultBootstrapContextfrom the supplied arguments.DefaultTestContext(Class<?> testClass, MergedContextConfiguration mergedConfig, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate) Construct a newDefaultTestContextfrom the supplied arguments. -
cn.taketoday.test.context.web中CacheAwareContextLoaderDelegate的使用
限定符构造器说明WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends cn.taketoday.context.ApplicationContextInitializer>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends cn.taketoday.context.ApplicationContextInitializer>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends cn.taketoday.context.ApplicationContextInitializer>> contextInitializerClasses, String[] activeProfiles, List<cn.taketoday.core.io.PropertySourceDescriptor> propertySourceDescriptors, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.