@AutoConfiguration(after=MockMvcAutoConfiguration.class) @ConditionalOnClass(value=org.openqa.selenium.htmlunit.HtmlUnitDriver.class) @ConditionalOnProperty(prefix="spring.test.mockmvc.webdriver", name="enabled", matchIfMissing=true) public class MockMvcWebDriverAutoConfiguration extends ObjectSE
WebDriver
MockMVC 統合の自動構成。コンストラクターと説明 |
---|
MockMvcWebDriverAutoConfiguration() |
修飾子と型 | メソッドと説明 |
---|---|
org.openqa.selenium.htmlunit.HtmlUnitDriver | htmlUnitDriver(MockMvcHtmlUnitDriverBuilder builder) |
MockMvcHtmlUnitDriverBuilder | mockMvcHtmlUnitDriverBuilder(MockMvc mockMvc, Environment environment) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@Bean @ConditionalOnMissingBean(value={org.openqa.selenium.WebDriver.class,org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder.class}) @ConditionalOnBean(value=org.springframework.test.web.servlet.MockMvc.class) public MockMvcHtmlUnitDriverBuilder mockMvcHtmlUnitDriverBuilder(MockMvc mockMvc, Environment environment)
@Bean @ConditionalOnMissingBean(value=org.openqa.selenium.WebDriver.class) @ConditionalOnBean(value=org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder.class) public org.openqa.selenium.htmlunit.HtmlUnitDriver htmlUnitDriver(MockMvcHtmlUnitDriverBuilder builder)