Uses of Class
org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
Package
Description
Server-side support for testing Spring MVC applications with
MockMvc
and the Selenium HtmlUnitDriver
.-
Uses of MockMvcHtmlUnitDriverBuilder in org.springframework.test.web.servlet.htmlunit.webdriver
Modifier and TypeMethodDescriptionMockMvcHtmlUnitDriverBuilder.javascriptEnabled
(boolean javascriptEnabled) Specify whether JavaScript should be enabled.static MockMvcHtmlUnitDriverBuilder
MockMvcHtmlUnitDriverBuilder.mockMvcSetup
(MockMvc mockMvc) Create a newMockMvcHtmlUnitDriverBuilder
based on the suppliedMockMvc
instance.static MockMvcHtmlUnitDriverBuilder
MockMvcHtmlUnitDriverBuilder.webAppContextSetup
(WebApplicationContext context) Create a newMockMvcHtmlUnitDriverBuilder
based on the suppliedWebApplicationContext
.static MockMvcHtmlUnitDriverBuilder
MockMvcHtmlUnitDriverBuilder.webAppContextSetup
(WebApplicationContext context, MockMvcConfigurer configurer) Create a newMockMvcHtmlUnitDriverBuilder
based on the suppliedWebApplicationContext
andMockMvcConfigurer
.MockMvcHtmlUnitDriverBuilder.withDelegate
(WebConnectionHtmlUnitDriver driver)