接口的使用
org.springframework.test.context.BootstrapContext
使用BootstrapContext的程序包 程序包 说明 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.support Support classes for the Spring TestContext Framework.org.springframework.test.context中BootstrapContext的使用
返回BootstrapContext的org.springframework.test.context中的方法 修饰符和类型 方法 说明 BootstrapContextTestContextBootstrapper. getBootstrapContext()Get theBootstrapContextassociated with this bootstrapper.参数类型为BootstrapContext的org.springframework.test.context中的方法 修饰符和类型 方法 说明 voidTestContextBootstrapper. setBootstrapContext(BootstrapContext bootstrapContext)Set theBootstrapContextto be used by this bootstrapper.org.springframework.test.context.support中BootstrapContext的使用
实现BootstrapContext的org.springframework.test.context.support中的类 修饰符和类型 类 说明 classDefaultBootstrapContextDefault implementation of theBootstrapContextinterface.返回BootstrapContext的org.springframework.test.context.support中的方法 修饰符和类型 方法 说明 BootstrapContextAbstractTestContextBootstrapper. getBootstrapContext()参数类型为BootstrapContext的org.springframework.test.context.support中的方法 修饰符和类型 方法 说明 voidAbstractTestContextBootstrapper. setBootstrapContext(BootstrapContext bootstrapContext)