接口的使用
org.springframework.test.context.TestContextBootstrapper
使用TestContextBootstrapper的程序包 程序包 说明 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.web Web support classes for the Spring TestContext Framework.org.springframework.test.context中TestContextBootstrapper的使用
返回变量类型为TestContextBootstrapper的类型的org.springframework.test.context中的方法 修饰符和类型 方法 说明 Class<? extends TestContextBootstrapper>value()TheTestContextBootstrapperto use to bootstrap the Spring TestContext Framework.参数类型为TestContextBootstrapper的org.springframework.test.context中的构造器 构造器 说明 TestContextManager(TestContextBootstrapper testContextBootstrapper)Construct a newTestContextManagerusing the suppliedTestContextBootstrapperand register the necessaryTestExecutionListeners.org.springframework.test.context.support中TestContextBootstrapper的使用
实现TestContextBootstrapper的org.springframework.test.context.support中的类 修饰符和类型 类 说明 classAbstractTestContextBootstrapperAbstract implementation of theTestContextBootstrapperinterface which provides most of the behavior required by a bootstrapper.classDefaultTestContextBootstrapperDefault implementation of theTestContextBootstrapperSPI.org.springframework.test.context.web中TestContextBootstrapper的使用
实现TestContextBootstrapper的org.springframework.test.context.web中的类 修饰符和类型 类 说明 classWebTestContextBootstrapperWeb-specific implementation of theTestContextBootstrapperSPI.