类 InfraTestWebEnvironment
java.lang.Object
cn.taketoday.framework.test.context.InfraTestWebEnvironment
- 所有已实现的接口:
ContextCustomizer
ContextCustomizer to track the web environment that is used in a
InfraTest. The web environment is taken into account when evaluating a
MergedContextConfiguration to determine if a context can be shared between
tests.- 作者:
- Andy Wilkinson, Harry Yang
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidcustomizeContext(cn.taketoday.context.ConfigurableApplicationContext context, MergedContextConfiguration mergedConfig) Customize the suppliedConfigurableApplicationContextafter bean definitions have been loaded into the context but before the context has been refreshed.booleaninthashCode()
-
字段详细资料
-
webEnvironment
-
-
构造器详细资料
-
InfraTestWebEnvironment
InfraTestWebEnvironment(Class<?> testClass)
-
-
方法详细资料
-
customizeContext
public void customizeContext(cn.taketoday.context.ConfigurableApplicationContext context, MergedContextConfiguration mergedConfig) 从接口复制的说明:ContextCustomizerCustomize the suppliedConfigurableApplicationContextafter bean definitions have been loaded into the context but before the context has been refreshed.- 指定者:
customizeContext在接口中ContextCustomizer- 参数:
context- the context to customizemergedConfig- the merged context configuration
-
equals
-
hashCode
public int hashCode()
-