接口的使用
org.springframework.test.context.ContextCustomizer
使用ContextCustomizer的程序包 程序包 说明 org.springframework.test.context 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.org.springframework.test.context中ContextCustomizer的使用
返回ContextCustomizer的org.springframework.test.context中的方法 修饰符和类型 方法 说明 ContextCustomizer
ContextCustomizerFactory. createContextCustomizer(Class<?> testClass, List<ContextConfigurationAttributes> configAttributes)
Create aContextCustomizer
that should be used to customize aConfigurableApplicationContext
before it is refreshed.返回变量类型为ContextCustomizer的类型的org.springframework.test.context中的方法 修饰符和类型 方法 说明 Set<ContextCustomizer>
MergedContextConfiguration. getContextCustomizers()
Get the mergedContextCustomizers
that will be applied when the application context is loaded.