Uses of Package
org.springframework.test.web.servlet.setup
Packages that use org.springframework.test.web.servlet.setup
Package
Description
AssertJ support for MockMvc.
Support for testing Spring MVC applications via
RestTestClient with
MockMvc for server request handling.Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit.Server-side support for testing Spring MVC applications with
MockMvc
and the Selenium HtmlUnitDriver.Contains built-in
MockMvcBuilder implementations.-
Classes in org.springframework.test.web.servlet.setup used by org.springframework.test.web.servlet.assertjClassDescriptionA concrete implementation of
AbstractMockMvcBuilderthat provides theWebApplicationContextsupplied to it as a constructor argument.AMockMvcBuilderthat accepts@Controllerregistrations thus allowing full control over the instantiation and initialization of controllers and their dependencies similar to plain unit tests, and also making it possible to test one controller at a time. -
Classes in org.springframework.test.web.servlet.setup used by org.springframework.test.web.servlet.clientClassDescriptionA concrete implementation of
AbstractMockMvcBuilderthat provides theWebApplicationContextsupplied to it as a constructor argument.Contract for customizing aConfigurableMockMvcBuilderin some specific way, for example, a 3rd party library that wants to provide shortcuts for setting up a MockMvc.AMockMvcBuilderthat acceptsRouterFunctionregistrations thus allowing full control over the instantiation and initialization of router functions and their dependencies similar to plain unit tests, and also making it possible to test one function at a time.AMockMvcBuilderthat accepts@Controllerregistrations thus allowing full control over the instantiation and initialization of controllers and their dependencies similar to plain unit tests, and also making it possible to test one controller at a time. -
Classes in org.springframework.test.web.servlet.setup used by org.springframework.test.web.servlet.htmlunitClassDescriptionContract for customizing a
ConfigurableMockMvcBuilderin some specific way, for example, a 3rd party library that wants to provide shortcuts for setting up a MockMvc. -
Classes in org.springframework.test.web.servlet.setup used by org.springframework.test.web.servlet.htmlunit.webdriverClassDescriptionContract for customizing a
ConfigurableMockMvcBuilderin some specific way, for example, a 3rd party library that wants to provide shortcuts for setting up a MockMvc. -
Classes in org.springframework.test.web.servlet.setup used by org.springframework.test.web.servlet.setupClassDescriptionAbstract implementation of
MockMvcBuilderwith common methods for configuring filters, default request properties, global expectations and global result actions.Defines common methods for building aMockMvc.A concrete implementation ofAbstractMockMvcBuilderthat provides theWebApplicationContextsupplied to it as a constructor argument.Contract for customizing aConfigurableMockMvcBuilderin some specific way, for example, a 3rd party library that wants to provide shortcuts for setting up a MockMvc.AMockMvcBuilderthat acceptsRouterFunctionregistrations thus allowing full control over the instantiation and initialization of router functions and their dependencies similar to plain unit tests, and also making it possible to test one function at a time.MockMvcConfigurerthat stores and re-uses the HTTP session across multiple requests performed through the sameMockMvcinstance.AMockMvcBuilderthat accepts@Controllerregistrations thus allowing full control over the instantiation and initialization of controllers and their dependencies similar to plain unit tests, and also making it possible to test one controller at a time.