Package | Description |
---|---|
org.springframework.test.web.servlet.htmlunit |
Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit. |
org.springframework.test.web.servlet.htmlunit.webdriver |
Server-side support for testing Spring MVC applications with
MockMvc
and the Selenium HtmlUnitDriver . |
org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder implementations. |
Modifier and Type | Method and Description |
---|---|
static MockMvcWebClientBuilder |
MockMvcWebClientBuilder.webAppContextSetup(WebApplicationContext context,
MockMvcConfigurer configurer)
Create a new
MockMvcWebClientBuilder based on the supplied
WebApplicationContext and MockMvcConfigurer . |
Constructor and Description |
---|
MockMvcWebClientBuilder(WebApplicationContext context,
MockMvcConfigurer configurer) |
MockMvcWebConnectionBuilderSupport(WebApplicationContext context,
MockMvcConfigurer configurer)
Create a new instance using the supplied
WebApplicationContext
and MockMvcConfigurer . |
Modifier and Type | Method and Description |
---|---|
static MockMvcHtmlUnitDriverBuilder |
MockMvcHtmlUnitDriverBuilder.webAppContextSetup(WebApplicationContext context,
MockMvcConfigurer configurer)
Create a new
MockMvcHtmlUnitDriverBuilder based on the supplied
WebApplicationContext and MockMvcConfigurer . |
Constructor and Description |
---|
MockMvcHtmlUnitDriverBuilder(WebApplicationContext context,
MockMvcConfigurer configurer) |
Modifier and Type | Class and Description |
---|---|
class |
MockMvcConfigurerAdapter
An empty method implementation of
MockMvcConfigurer . |
class |
SharedHttpSessionConfigurer
MockMvcConfigurer that stores and re-uses the HTTP session across
multiple requests performed through the same MockMvc instance. |
Modifier and Type | Method and Description |
---|---|
<T extends B> |
ConfigurableMockMvcBuilder.apply(MockMvcConfigurer configurer)
Add a
MockMvcConfigurer that automates MockMvc setup and
configures it for some specific purpose (e.g. |
<T extends B> |
AbstractMockMvcBuilder.apply(MockMvcConfigurer configurer) |