接口的使用
cn.taketoday.test.context.BootstrapContext
使用BootstrapContext的程序包
程序包
说明
This package contains the TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
Support classes for the TestContext Framework.
-
cn.taketoday.test.context中BootstrapContext的使用
修饰符和类型方法说明(专用程序包) static BootstrapContextBootstrapUtils.createBootstrapContext(Class<?> testClass) Create theBootstrapContextfor the specified test class.TestContextBootstrapper.getBootstrapContext()Get theBootstrapContextassociated with this bootstrapper.修饰符和类型方法说明(专用程序包) static TestContextBootstrapperBootstrapUtils.resolveTestContextBootstrapper(BootstrapContext bootstrapContext) Resolve theTestContextBootstrappertype for the test class in the suppliedBootstrapContext, instantiate it, and provide it a reference to theBootstrapContext.voidTestContextBootstrapper.setBootstrapContext(BootstrapContext bootstrapContext) Set theBootstrapContextto be used by this bootstrapper. -
cn.taketoday.test.context.support中BootstrapContext的使用
修饰符和类型方法说明voidAbstractTestContextBootstrapper.setBootstrapContext(BootstrapContext bootstrapContext)