类 DefaultBootstrapContext
java.lang.Object
cn.taketoday.test.context.support.DefaultBootstrapContext
- 所有已实现的接口:
BootstrapContext
Default implementation of the
BootstrapContext interface.- 从以下版本开始:
- 4.0
- 作者:
- Sam Brannen
-
字段概要
字段 -
构造器概要
构造器构造器说明DefaultBootstrapContext(Class<?> testClass, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate) Construct a newDefaultBootstrapContextfrom the supplied arguments. -
方法概要
修饰符和类型方法说明Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.Class<?>Get the test class for this bootstrap context.toString()Provide a String representation of this bootstrap context's state.
-
字段详细资料
-
testClass
-
cacheAwareContextLoaderDelegate
-
-
构造器详细资料
-
DefaultBootstrapContext
public DefaultBootstrapContext(Class<?> testClass, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate) Construct a newDefaultBootstrapContextfrom the supplied arguments.- 参数:
testClass- the test class for this bootstrap context; nevernullcacheAwareContextLoaderDelegate- the context loader delegate to use for transparent interaction with theContextCache; nevernull
-
-
方法详细资料
-
getTestClass
Get the test class for this bootstrap context.- 指定者:
getTestClass在接口中BootstrapContext- 返回:
- the test class (never
null)
-
getCacheAwareContextLoaderDelegate
Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.- 指定者:
getCacheAwareContextLoaderDelegate在接口中BootstrapContext- 返回:
- the context loader delegate (never
null)
-
toString
Provide a String representation of this bootstrap context's state.
-