接口的使用
cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.MockMvcServerSpec
程序包
说明
Support for testing Web MVC applications via
WebTestClient
with MockMvc for server request
handling.-
cn.taketoday.test.web.servlet.client中MockMvcWebTestClient.MockMvcServerSpec的使用
修饰符和类型类说明(专用程序包) classBase class for implementations ofMockMvcWebTestClient.MockMvcServerSpecthat simply delegates to aConfigurableMockMvcBuildersupplied by the concrete subclasses.static interfaceBase specification for configuringMockMvc, and a simple facade aroundConfigurableMockMvcBuilder.修饰符和类型接口说明static interfaceSpecification for configuringMockMvcto test one or more controllers directly, and a simple facade aroundStandaloneMockMvcBuilder.修饰符和类型类说明(专用程序包) classBase class for implementations ofMockMvcWebTestClient.MockMvcServerSpecthat simply delegates to aConfigurableMockMvcBuildersupplied by the concrete subclasses.(专用程序包) classSimple wrapper around aDefaultMockMvcBuilder.(专用程序包) classSimple wrapper around aStandaloneMockMvcBuilderthat implementsMockMvcWebTestClient.ControllerSpec.修饰符和类型方法说明static MockMvcWebTestClient.MockMvcServerSpec<?>MockMvcWebTestClient.bindToApplicationContext(cn.taketoday.web.servlet.WebApplicationContext context) Begin creating aWebTestClientby providing aWebApplicationContextwith Web MVC infrastructure and controllers.