类 WebTestClientContextCustomizerFactory
java.lang.Object
cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizerFactory
- 所有已实现的接口:
ContextCustomizerFactory
ContextCustomizerFactory for WebTestClient.- 作者:
- Stephane Nicoll, Andy Wilkinson, Anugrah Singhal
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明createContextCustomizer(Class<?> testClass, List<ContextConfigurationAttributes> configAttributes) Create aContextCustomizerthat should be used to customize aConfigurableApplicationContextbefore it is refreshed.
-
字段详细资料
-
webClientPresent
private static final boolean webClientPresent
-
-
构造器详细资料
-
WebTestClientContextCustomizerFactory
WebTestClientContextCustomizerFactory()
-
-
方法详细资料
-
createContextCustomizer
public ContextCustomizer createContextCustomizer(Class<?> testClass, List<ContextConfigurationAttributes> configAttributes) 从接口复制的说明:ContextCustomizerFactoryCreate aContextCustomizerthat should be used to customize aConfigurableApplicationContextbefore it is refreshed.- 指定者:
createContextCustomizer在接口中ContextCustomizerFactory- 参数:
testClass- the test classconfigAttributes- the list of context configuration attributes for the test class, ordered bottom-up (i.e., as if we were traversing up the class hierarchy); nevernullor empty- 返回:
- a
ContextCustomizerornullif no customizer should be used
-