Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addFilters() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc
-
If filters from the application context should be registered with MockMVC.
- afterTestMethod(TestContext) - Method in class org.springframework.boot.webmvc.test.autoconfigure.WebDriverTestExecutionListener
- AutoConfigureMockMvc - Annotation Interface in org.springframework.boot.webmvc.test.autoconfigure
-
Annotation that can be applied to a test class to enable and configure auto-configuration of
MockMvc. - AutoConfigureMockMvc.HtmlUnit - Annotation Interface in org.springframework.boot.webmvc.test.autoconfigure
-
HtmlUnit settings.
- AutoConfigureWebMvc - Annotation Interface in org.springframework.boot.webmvc.test.autoconfigure
-
Auto-configuration importsfor typical Spring MVC tests.
C
- controllers() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest
-
Specifies the controllers to test.
- customize(HtmlUnitDriver) - Method in interface org.springframework.boot.webmvc.test.autoconfigure.MockMvcHtmlUnitDriverCustomizer
-
Customize the MockMvc HtmlUnitDriver.
- customize(ConfigurableMockMvcBuilder) - Method in interface org.springframework.boot.webmvc.test.autoconfigure.MockMvcBuilderCustomizer
-
Customize the given
builder. - customize(ConfigurableMockMvcBuilder) - Method in class org.springframework.boot.webmvc.test.autoconfigure.SpringBootMockMvcBuilderCustomizer
D
- DEFAULT - Enum constant in enum class org.springframework.boot.webmvc.test.autoconfigure.MockMvcPrint
-
Use the default print setting (
MockMvcPrint.SYSTEM_OUTunless explicitly overridden).
E
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeFilters() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
G
- get(String, ObjectFactory) - Method in class org.springframework.boot.webmvc.test.autoconfigure.WebDriverScope
- getConversationId() - Method in class org.springframework.boot.webmvc.test.autoconfigure.WebDriverScope
- getOrder() - Method in class org.springframework.boot.webmvc.test.autoconfigure.WebDriverTestExecutionListener
- getPrint() - Method in class org.springframework.boot.webmvc.test.autoconfigure.SpringBootMockMvcBuilderCustomizer
H
- htmlUnit() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc
-
Settings for the integration between MockMVC and HtmlUnit.
I
- includeFilters() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- isAddFilters() - Method in class org.springframework.boot.webmvc.test.autoconfigure.SpringBootMockMvcBuilderCustomizer
- isPrintOnlyOnFailure() - Method in class org.springframework.boot.webmvc.test.autoconfigure.SpringBootMockMvcBuilderCustomizer
L
- LOG_DEBUG - Enum constant in enum class org.springframework.boot.webmvc.test.autoconfigure.MockMvcPrint
-
Log MVC interactions at the
DEBUGlevel.
M
- MockMvcAutoConfiguration - Class in org.springframework.boot.webmvc.test.autoconfigure
-
Auto-configuration for
MockMvc. - MockMvcAutoConfiguration() - Constructor for class org.springframework.boot.webmvc.test.autoconfigure.MockMvcAutoConfiguration
- MockMvcBuilderCustomizer - Interface in org.springframework.boot.webmvc.test.autoconfigure
-
A customizer for a
ConfigurableMockMvcBuilder. - MockMvcHtmlUnitDriverCustomizer - Interface in org.springframework.boot.webmvc.test.autoconfigure
-
Callback interface that can be implemented by beans wishing to customize the MockMvc
HtmlUnitDriverto fine-tune its auto-configuration. - MockMvcPrint - Enum Class in org.springframework.boot.webmvc.test.autoconfigure
-
MVC print options specified from
@AutoConfigureMockMvc. - MockMvcWebClientAutoConfiguration - Class in org.springframework.boot.webmvc.test.autoconfigure
-
Auto-configuration for HtmlUnit
WebClientMockMVC integration. - MockMvcWebClientAutoConfiguration() - Constructor for class org.springframework.boot.webmvc.test.autoconfigure.MockMvcWebClientAutoConfiguration
- MockMvcWebDriverAutoConfiguration - Class in org.springframework.boot.webmvc.test.autoconfigure
-
Auto-configuration for Selenium
WebDriverMockMVC integration. - MockMvcWebDriverAutoConfiguration() - Constructor for class org.springframework.boot.webmvc.test.autoconfigure.MockMvcWebDriverAutoConfiguration
N
- NAME - Static variable in class org.springframework.boot.webmvc.test.autoconfigure.WebDriverScope
-
WebDriver bean scope name.
- NONE - Enum constant in enum class org.springframework.boot.webmvc.test.autoconfigure.MockMvcPrint
-
Do not print MVC interactions.
O
- org.springframework.boot.webmvc.test.autoconfigure - package org.springframework.boot.webmvc.test.autoconfigure
-
Auto-configuration for Spring MVC tests.
P
- print() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc
-
How
MvcResultinformation should be printed after each MockMVC invocation. - printOnlyOnFailure() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc
-
If
MvcResultinformation should be printed only if the test fails. - properties() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest
-
Properties in form key=value that should be added to the Spring
Environmentbefore the test runs.
R
- registerDestructionCallback(String, Runnable) - Method in class org.springframework.boot.webmvc.test.autoconfigure.WebDriverScope
- remove(String) - Method in class org.springframework.boot.webmvc.test.autoconfigure.WebDriverScope
- resolveContextualObject(String) - Method in class org.springframework.boot.webmvc.test.autoconfigure.WebDriverScope
S
- setAddFilters(boolean) - Method in class org.springframework.boot.webmvc.test.autoconfigure.SpringBootMockMvcBuilderCustomizer
- setPrint(MockMvcPrint) - Method in class org.springframework.boot.webmvc.test.autoconfigure.SpringBootMockMvcBuilderCustomizer
- setPrintOnlyOnFailure(boolean) - Method in class org.springframework.boot.webmvc.test.autoconfigure.SpringBootMockMvcBuilderCustomizer
- SpringBootMockMvcBuilderCustomizer - Class in org.springframework.boot.webmvc.test.autoconfigure
-
MockMvcBuilderCustomizerfor a typical Spring Boot application. - SpringBootMockMvcBuilderCustomizer(WebApplicationContext) - Constructor for class org.springframework.boot.webmvc.test.autoconfigure.SpringBootMockMvcBuilderCustomizer
-
Create a new
SpringBootMockMvcBuilderCustomizerinstance. - SYSTEM_ERR - Enum constant in enum class org.springframework.boot.webmvc.test.autoconfigure.MockMvcPrint
-
Print MVC interactions to
System.err. - SYSTEM_OUT - Enum constant in enum class org.springframework.boot.webmvc.test.autoconfigure.MockMvcPrint
-
Print MVC interactions to
System.out.
U
- url() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc.HtmlUnit
-
The URL that should be used when expanding relative paths.
- useDefaultFilters() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest
-
Determines if default filtering should be used with
@SpringBootApplication.
V
- value() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest
-
Specifies the controllers to test.
- valueOf(String) - Static method in enum class org.springframework.boot.webmvc.test.autoconfigure.MockMvcPrint
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.boot.webmvc.test.autoconfigure.MockMvcPrint
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- webClient() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc.HtmlUnit
-
If a
WebClientshould be auto-configured when HtmlUnit is on the classpath. - webDriver() - Element in annotation interface org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc.HtmlUnit
-
If a
WebDrivershould be auto-configured when Selenium is on the classpath. - WebDriverScope - Class in org.springframework.boot.webmvc.test.autoconfigure
-
A special scope used for
WebDriverbeans. - WebDriverScope() - Constructor for class org.springframework.boot.webmvc.test.autoconfigure.WebDriverScope
- WebDriverTestExecutionListener - Class in org.springframework.boot.webmvc.test.autoconfigure
-
TestExecutionListenerto reset theWebDriverScope. - WebDriverTestExecutionListener() - Constructor for class org.springframework.boot.webmvc.test.autoconfigure.WebDriverTestExecutionListener
- WebMvcTest - Annotation Interface in org.springframework.boot.webmvc.test.autoconfigure
-
Annotation that can be used for a Spring MVC test that focuses only on Spring MVC components.
All Classes and Interfaces|All Packages|Constant Field Values