A B C D E F G H I J L M N O P R S T U V W Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- If filters from the application context should be registered with MockMVC.
- afterTestMethod(TestContext) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
- AnnotationCustomizableTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.filter
- Abstract base class for a
TypeExcludeFilter
that can be customized using an annotation. - AnnotationCustomizableTypeExcludeFilter() - Constructor for class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- AnnotationCustomizableTypeExcludeFilter.FilterType - Enum in org.springframework.boot.test.autoconfigure.filter
- AnnotationsPropertySource - Class in org.springframework.boot.test.autoconfigure.properties
EnumerablePropertySource
to adapt annotations marked with@PropertyMapping
.- AnnotationsPropertySource(Class<?>) - Constructor for class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- AnnotationsPropertySource(String, Class<?>) - Constructor for class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- ANY - org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
- Replace any DataSource bean (auto-configured or manually defined).
- anyMatches(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.FilterAnnotations
- AUTO_CONFIGURED - org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
- Only replace auto-configured DataSource.
- AutoConfigureCache - Annotation Type in org.springframework.boot.test.autoconfigure.core
- Annotation that can be applied to a test class to configure a test
CacheManager
if none has been defined yet. - AutoConfigureDataJdbc - Annotation Type in org.springframework.boot.test.autoconfigure.data.jdbc
Auto-configuration imports
for typical Data JDBC tests.- AutoConfigureDataJpa - Annotation Type in org.springframework.boot.test.autoconfigure.orm.jpa
Auto-configuration imports
for typical Data JPA tests.- AutoConfigureDataLdap - Annotation Type in org.springframework.boot.test.autoconfigure.data.ldap
Auto-configuration imports
for typical Data LDAP tests.- AutoConfigureDataMongo - Annotation Type in org.springframework.boot.test.autoconfigure.data.mongo
Auto-configuration imports
for typical Data MongoDB tests.- AutoConfigureDataNeo4j - Annotation Type in org.springframework.boot.test.autoconfigure.data.neo4j
Auto-configuration imports
for typical Data Neo4j tests.- AutoConfigureDataRedis - Annotation Type in org.springframework.boot.test.autoconfigure.data.redis
Auto-configuration imports
for typical Data redis tests.- AutoConfigureJdbc - Annotation Type in org.springframework.boot.test.autoconfigure.jdbc
Auto-configuration imports
for typical jdbc tests.- AutoConfigureJooq - Annotation Type in org.springframework.boot.test.autoconfigure.jooq
Auto-configuration imports
for typical jOOQ tests.- AutoConfigureJson - Annotation Type in org.springframework.boot.test.autoconfigure.json
Auto-configuration imports
for typical JSON tests.- AutoConfigureJsonTesters - Annotation Type in org.springframework.boot.test.autoconfigure.json
- Annotation that can be applied to a test class to enable and configure auto-configuration of JSON testers.
- AutoConfigureMockMvc - Annotation Type in org.springframework.boot.test.autoconfigure.web.servlet
- Annotation that can be applied to a test class to enable and configure auto-configuration of
MockMvc
. - AutoConfigureMockRestServiceServer - Annotation Type in org.springframework.boot.test.autoconfigure.web.client
- Annotation that can be applied to a test class to enable and configure auto-configuration of a single
MockRestServiceServer
. - AutoConfigureRestDocs - Annotation Type in org.springframework.boot.test.autoconfigure.restdocs
- Annotation that can be applied to a test class to enable and configure auto-configuration of Spring REST Docs.
- AutoConfigureTestDatabase - Annotation Type in org.springframework.boot.test.autoconfigure.jdbc
- Annotation that can be applied to a test class to configure a test database to use instead of any application defined or auto-configured
DataSource
. - AutoConfigureTestDatabase.Replace - Enum in org.springframework.boot.test.autoconfigure.jdbc
- What the test database can replace.
- AutoConfigureTestEntityManager - Annotation Type in org.springframework.boot.test.autoconfigure.orm.jpa
- Annotation that can be applied to a test class to enable auto-configuration of a
TestEntityManager
. - AutoConfigureWebClient - Annotation Type in org.springframework.boot.test.autoconfigure.web.client
- Annotation that can be applied to a test class to enable and configure auto-configuration of web clients.
- AutoConfigureWebFlux - Annotation Type in org.springframework.boot.test.autoconfigure.web.reactive
Auto-configuration imports
for typical Spring WebFlux tests.- AutoConfigureWebMvc - Annotation Type in org.springframework.boot.test.autoconfigure.web.servlet
Auto-configuration imports
for typical Spring MVC tests.- AutoConfigureWebTestClient - Annotation Type in org.springframework.boot.test.autoconfigure.web.reactive
- Annotation that can be applied to a test class to enable a
WebTestClient
.
B
- basicJsonTesterFactoryBean() - Method in class org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration
- beforeTestMethod(TestContext) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
C
- cacheProvider() - Method in annotation type org.springframework.boot.test.autoconfigure.core.AutoConfigureCache
- clear() - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Clear the persistence context, causing all managed entities to become detached.
- components() - Method in annotation type org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- Specifies the components to test.
- connection() - Method in annotation type org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase
- The type of connection to be established when
replacing
the data source. - containsProperty(String) - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- controllers() - Method in annotation type org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
- Specifies the controllers to test.
- controllers() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Specifies the controllers to test.
- customize(MockMvcRestDocumentationConfigurer) - Method in interface org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcConfigurationCustomizer
- Customize the given
configurer
. - customize(RestAssuredRestDocumentationConfigurer) - Method in interface org.springframework.boot.test.autoconfigure.restdocs.RestDocsRestAssuredConfigurationCustomizer
- Customize the given
configurer
. - customize(WebTestClientRestDocumentationConfigurer) - Method in interface org.springframework.boot.test.autoconfigure.restdocs.RestDocsWebTestClientConfigurationCustomizer
- Customize the given
configurer
. - customize(WebTestClient.Builder) - Method in class org.springframework.boot.test.autoconfigure.web.reactive.SpringBootWebTestClientBuilderCustomizer
- customize(WebTestClient.Builder) - Method in interface org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientBuilderCustomizer
- Customize the given
builder
. - customize(ConfigurableMockMvcBuilder<?>) - Method in interface org.springframework.boot.test.autoconfigure.web.servlet.MockMvcBuilderCustomizer
- Customize the given
builder
. - customize(ConfigurableMockMvcBuilder<?>) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
D
- DataJdbcTest - Annotation Type in org.springframework.boot.test.autoconfigure.data.jdbc
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical Data JDBC test. - DataJpaTest - Annotation Type in org.springframework.boot.test.autoconfigure.orm.jpa
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical JPA test. - DataLdapTest - Annotation Type in org.springframework.boot.test.autoconfigure.data.ldap
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical LDAP test. - DataMongoTest - Annotation Type in org.springframework.boot.test.autoconfigure.data.mongo
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical MongoDB test. - DataNeo4jTest - Annotation Type in org.springframework.boot.test.autoconfigure.data.neo4j
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical Neo4j test. - DataRedisTest - Annotation Type in org.springframework.boot.test.autoconfigure.data.redis
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical Data Redis test. - dataSource() - Method in class org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration
- DEFAULT - org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
- Use the default print setting (
MockMvcPrint.SYSTEM_OUT
unless explicitly overridden). - defaultInclude(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- detach(Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Remove the given entity from the persistence context, causing a managed entity to become detached.
- dispatcherServlet(MockMvc) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- dispatcherServletPath() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
E
- embeddedDataSourceBeanFactoryPostProcessor() - Static method in class org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration
- enabled() - Method in annotation type org.springframework.boot.test.autoconfigure.json.AutoConfigureJsonTesters
- If
BasicJsonTester
,JacksonTester
,JsonbTester
andGsonTester
beans should be registered. - enabled() - Method in annotation type org.springframework.boot.test.autoconfigure.OverrideAutoConfiguration
- The value of the
enabled override property
. - enabled() - Method in annotation type org.springframework.boot.test.autoconfigure.web.client.AutoConfigureMockRestServiceServer
- If
MockServerRestTemplateCustomizer
should be enabled andMockRestServiceServer
beans should be registered. - equals(Object) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- equals(Object) - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- exclude(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- EXCLUDE - org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.jooq.JooqTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.json.JsonTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Auto-configuration exclusions that should be applied for this test.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.jooq.JooqTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.json.JsonTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
F
- FilterAnnotations - Class in org.springframework.boot.test.autoconfigure.filter
- Utility to load
TypeFilters
from@Filter
annotations. - FilterAnnotations(ClassLoader, ComponentScan.Filter[]) - Constructor for class org.springframework.boot.test.autoconfigure.filter.FilterAnnotations
- find(Class<E>, Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Find by primary key.
- flush() - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Synchronize the persistence context to the underlying database.
G
- getComponentIncludes() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- getEntityManager() - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Return the underlying
EntityManager
that's actually used to perform all operations. - getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- getId(Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Return the ID of the given entity.
- getId(Object, Class<T>) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Return the ID of the given entity cast to a specific type.
- getOrder() - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
- getPrint() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- getProperty(String) - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- getPropertyNames() - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- getUriHost() - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- getUriPort() - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- getUriScheme() - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
H
- hasAnnotation() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- hashCode() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- hashCode() - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- htmlUnitDriver(MockMvcHtmlUnitDriverBuilder) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration
- htmlUnitWebClient(MockMvcWebClientBuilder) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration
I
- include(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- INCLUDE - org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.jooq.JooqTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.json.JsonTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
- A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.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.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- isEmpty() - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- isPrintOnlyOnFailure() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- isTypeOrAnnotated(MetadataReader, MetadataReaderFactory, Class<?>) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- isUseDefaultFilters() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- iterator() - Method in class org.springframework.boot.test.autoconfigure.filter.FilterAnnotations
J
- JdbcTest - Annotation Type in org.springframework.boot.test.autoconfigure.jdbc
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical jdbc test. - JooqTest - Annotation Type in org.springframework.boot.test.autoconfigure.jooq
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical jOOQ test. - jsonMarshalTestersBeanPostProcessor() - Static method in class org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration
- JsonTest - Annotation Type in org.springframework.boot.test.autoconfigure.json
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical JSON test. - JsonTestersAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.json
- Auto-configuration for Json testers.
- JsonTestersAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration
L
- LOG_DEBUG - org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
- Log MVC interactions at the
DEBUG
level.
M
- match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- merge(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Merge the state of the given entity into the current persistence context.
- mockMvc(MockMvcBuilder) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- MockMvcAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.servlet
- Auto-configuration for
MockMvc
. - mockMvcBuilder(List<MockMvcBuilderCustomizer>) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- MockMvcBuilderCustomizer - Interface in org.springframework.boot.test.autoconfigure.web.servlet
- A customizer for a
ConfigurableMockMvcBuilder
. - mockMvcHtmlUnitDriverBuilder(MockMvc) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration
- MockMvcPrint - Enum in org.springframework.boot.test.autoconfigure.web.servlet
- MVC print options specified from
AutoConfigureMockMvc
. - MockMvcSecurityAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.servlet
- Auto-configuration for Spring Security's testing support.
- MockMvcSecurityAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityAutoConfiguration
- MockMvcWebClientAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.servlet
- Auto-configuration for HtmlUnit
WebClient
MockMVC integration. - mockMvcWebClientBuilder(MockMvc) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration
- MockMvcWebDriverAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.servlet
- Auto-configuration for Selenium
WebDriver
MockMVC integration. - mockRestServiceServer(MockServerRestTemplateCustomizer) - Method in class org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
- MockRestServiceServerAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.client
- Auto-configuration for
MockRestServiceServer
support. - MockRestServiceServerAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
- mockServerRestTemplateCustomizer() - Method in class org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
N
- NO - org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
- Don't skip mapping the property.
- NONE - org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
- Don't replace the application default DataSource.
- NONE - org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
- Do not print MVC interactions.
O
- ON_DEFAULT_VALUE - org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
- Skip mapping the property when the default attribute value is specified.
- org.springframework.boot.test.autoconfigure - package org.springframework.boot.test.autoconfigure
- Test auto-configuration support.
- org.springframework.boot.test.autoconfigure.core - package org.springframework.boot.test.autoconfigure.core
- Auto-configuration for core parts common to most Spring Boot applications.
- org.springframework.boot.test.autoconfigure.data.jdbc - package org.springframework.boot.test.autoconfigure.data.jdbc
- Auto-configuration for Data JDBC tests.
- org.springframework.boot.test.autoconfigure.data.ldap - package org.springframework.boot.test.autoconfigure.data.ldap
- Auto-configuration for Data LDAP tests.
- org.springframework.boot.test.autoconfigure.data.mongo - package org.springframework.boot.test.autoconfigure.data.mongo
- Auto-configuration for Data Mongo tests.
- org.springframework.boot.test.autoconfigure.data.neo4j - package org.springframework.boot.test.autoconfigure.data.neo4j
- Auto-configuration for Data Neo4j tests.
- org.springframework.boot.test.autoconfigure.data.redis - package org.springframework.boot.test.autoconfigure.data.redis
- Auto-configuration for Data Redis tests.
- org.springframework.boot.test.autoconfigure.filter - package org.springframework.boot.test.autoconfigure.filter
- Helper utilities for using
TypeExcludeFilter
with auto-configured tests. - org.springframework.boot.test.autoconfigure.jdbc - package org.springframework.boot.test.autoconfigure.jdbc
- Auto-configuration for JDBC tests.
- org.springframework.boot.test.autoconfigure.jooq - package org.springframework.boot.test.autoconfigure.jooq
- Auto-configuration for jOOQ tests.
- org.springframework.boot.test.autoconfigure.json - package org.springframework.boot.test.autoconfigure.json
- Auto-configuration for JSON tests.
- org.springframework.boot.test.autoconfigure.orm.jpa - package org.springframework.boot.test.autoconfigure.orm.jpa
- Auto-configuration for Data JPA tests.
- org.springframework.boot.test.autoconfigure.properties - package org.springframework.boot.test.autoconfigure.properties
- Support for mapping annotation attribute values in the Spring
Environment
. - org.springframework.boot.test.autoconfigure.restdocs - package org.springframework.boot.test.autoconfigure.restdocs
- Auto-configuration for tests using Spring REST Docs.
- org.springframework.boot.test.autoconfigure.web.client - package org.springframework.boot.test.autoconfigure.web.client
- Auto-configuration for web clients.
- org.springframework.boot.test.autoconfigure.web.reactive - package org.springframework.boot.test.autoconfigure.web.reactive
- Auto-configuration for reactive web tests.
- org.springframework.boot.test.autoconfigure.web.servlet - package org.springframework.boot.test.autoconfigure.web.servlet
- Auto-configuration for Spring MVC tests.
- outputDir() - Method in annotation type org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The output directory to which generated snippets will be written.
- OverrideAutoConfiguration - Annotation Type in org.springframework.boot.test.autoconfigure
- Annotation that can be used to override
@EnableAutoConfiguration
.
P
- persist(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Make an instance managed and persistent.
- persistAndFlush(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Make an instance managed and persistent then synchronize the persistence context to the underlying database.
- persistAndGetId(Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Make an instance managed and persistent then return it's ID.
- persistAndGetId(Object, Class<T>) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Make an instance managed and persistent then return it's ID.
- persistFlushFind(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Make an instance managed and persistent, synchronize the persistence context to the underlying database and finally find the persisted entity by its ID.
- prepareTestInstance(TestContext) - Method in class org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
- print() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- How
MvcResult
information should be printed after each MockMVC invocation. - printOnlyOnFailure() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- If
MvcResult
information should be printed only if the test fails. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.jooq.JooqTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.json.JsonTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Properties in form key=value that should be added to the Spring
Environment
before the test runs. - PropertyMapping - Annotation Type in org.springframework.boot.test.autoconfigure.properties
- Indicates that attributes from a test annotation should be mapped into a
PropertySource
.
R
- refresh(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Refresh the state of the instance from the database, overwriting changes made to the entity, if any.
- registerRestTemplate() - Method in annotation type org.springframework.boot.test.autoconfigure.web.client.AutoConfigureWebClient
- If a
RestTemplate
bean should be registered. - remove(Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Remove the entity instance.
- replace() - Method in annotation type org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase
- Determines what type of existing DataSource beans can be replaced.
- RestClientTest - Annotation Type in org.springframework.boot.test.autoconfigure.web.client
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical Spring rest client test. - RestDocsAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.restdocs
Auto-configuration
for Spring REST Docs.- RestDocsAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.restdocs.RestDocsAutoConfiguration
- RestDocsMockMvcConfigurationCustomizer - Interface in org.springframework.boot.test.autoconfigure.restdocs
- A customizer for
MockMvcRestDocumentationConfigurer
. - RestDocsProperties - Class in org.springframework.boot.test.autoconfigure.restdocs
- Configuration properties for Spring REST Docs.
- RestDocsProperties() - Constructor for class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- RestDocsRestAssuredConfigurationCustomizer - Interface in org.springframework.boot.test.autoconfigure.restdocs
- A customizer for
RestAssuredRestDocumentationConfigurer
. - RestDocsTestExecutionListener - Class in org.springframework.boot.test.autoconfigure.restdocs
- A
TestExecutionListener
for Spring REST Docs that removes the need for a@Rule
when using JUnit or manual before and after test calls when using TestNG. - RestDocsTestExecutionListener() - Constructor for class org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
- RestDocsWebTestClientConfigurationCustomizer - Interface in org.springframework.boot.test.autoconfigure.restdocs
- A customizer for
WebTestClientRestDocumentationConfigurer
. - restTemplate(RestTemplateBuilder) - Method in class org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration
S
- secure() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- Deprecated.since 2.1.0 in favor of Spring Security's testing support
- secure() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Deprecated.since 2.1.0 in favor of Spring Security's testing support
- setAddFilters(boolean) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- setPrint(MockMvcPrint) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- setPrintOnlyOnFailure(boolean) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- setTimeout(Duration) - Method in class org.springframework.boot.test.autoconfigure.web.reactive.SpringBootWebTestClientBuilderCustomizer
- setUriHost(String) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- setUriPort(Integer) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- setUriScheme(String) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- showSql() - Method in annotation type org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
- If SQL output should be logged.
- skip() - Method in annotation type org.springframework.boot.test.autoconfigure.properties.PropertyMapping
- Determines if mapping should be skipped.
- SkipPropertyMapping - Enum in org.springframework.boot.test.autoconfigure.properties
- Enum used to control when
PropertyMapping
is skipped. - SpringBootDependencyInjectionTestExecutionListener - Class in org.springframework.boot.test.autoconfigure
- Alternative
DependencyInjectionTestExecutionListener
prints theConditionEvaluationReport
when the context cannot be prepared. - SpringBootDependencyInjectionTestExecutionListener() - Constructor for class org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
- springBootMockMvcBuilderCustomizer() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- SpringBootMockMvcBuilderCustomizer - Class in org.springframework.boot.test.autoconfigure.web.servlet
MockMvcBuilderCustomizer
for a typical Spring Boot application.- SpringBootMockMvcBuilderCustomizer(WebApplicationContext) - Constructor for class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- Create a new
SpringBootMockMvcBuilderCustomizer
instance. - springBootWebTestClientBuilderCustomizer(ObjectProvider<CodecCustomizer>) - Method in class org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration
- SpringBootWebTestClientBuilderCustomizer - Class in org.springframework.boot.test.autoconfigure.web.reactive
WebTestClientBuilderCustomizer
for a typical Spring Boot application.- SpringBootWebTestClientBuilderCustomizer(Collection<CodecCustomizer>) - Constructor for class org.springframework.boot.test.autoconfigure.web.reactive.SpringBootWebTestClientBuilderCustomizer
- Create a new
SpringBootWebTestClientBuilderCustomizer
that will configure the builder's codecs using the givencodecCustomizers
. - SYSTEM_ERR - org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
- Print MVC interactions to
System.err
. - SYSTEM_OUT - org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
- Print MVC interactions to
System.out
.
T
- TestDatabaseAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.jdbc
- Auto-configuration for a test database.
- testEntityManager(EntityManagerFactory) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration
- TestEntityManager - Class in org.springframework.boot.test.autoconfigure.orm.jpa
- Alternative to
EntityManager
for use in JPA tests. - TestEntityManager(EntityManagerFactory) - Constructor for class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Create a new
TestEntityManager
instance for the givenEntityManagerFactory
. - TestEntityManagerAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.orm.jpa
- Auto-configuration for
TestEntityManager
. - TestEntityManagerAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration
- timeout() - Method in annotation type org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient
- The timeout duration for the client (in any format handled by
Duration.parse(CharSequence)
). - TypeExcludeFilters - Annotation Type in org.springframework.boot.test.autoconfigure.filter
- Annotation that can be on tests to define a set of
TypeExcludeFilter
classes that should be applied to@SpringBootApplication
component scanning.
U
- uriHost() - Method in annotation type org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The host to be used in documented URIs.
- uriPort() - Method in annotation type org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The port to be used in documented URIs.
- uriScheme() - Method in annotation type org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The scheme (typically
http
orhttps
) to be used in documented URIs. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.jooq.JooqTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.json.JsonTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Determines if default filtering should be used with
@SpringBootApplication
.
V
- value() - Method in annotation type org.springframework.boot.test.autoconfigure.filter.TypeExcludeFilters
- Specifies
TypeExcludeFilter
classes that should be applied to@SpringBootApplication
component scanning. - value() - Method in annotation type org.springframework.boot.test.autoconfigure.properties.PropertyMapping
- Defines the property mapping.
- value() - Method in annotation type org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The output directory to which generated snippets will be written.
- value() - Method in annotation type org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- Specifies the components to test.
- value() - Method in annotation type org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
- Specifies the controllers to test.
- value() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Specifies the controllers to test.
- valueOf(String) - Static method in enum org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
- Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
- Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
- Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
- Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
- Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
- Returns an array containing the constants of this enum type, in the order they are declared.
W
- webClientEnabled() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- If a
WebClient
should be auto-configured when HtmlUnit is on the classpath. - WebClientRestTemplateAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.client
- Auto-configuration for a web-client
RestTemplate
. - WebClientRestTemplateAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration
- webDriverEnabled() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- If a
WebDriver
should be auto-configured when Selenium is on the classpath. - WebFluxTest - Annotation Type in org.springframework.boot.test.autoconfigure.web.reactive
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical Spring WebFlux test. - WebMvcTest - Annotation Type in org.springframework.boot.test.autoconfigure.web.servlet
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical Spring MVC test. - webTestClient(ApplicationContext, List<WebTestClientBuilderCustomizer>, List<MockServerConfigurer>) - Method in class org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration
- WebTestClientAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.reactive
- Auto-configuration for
WebTestClient
. - WebTestClientAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration
- WebTestClientBuilderCustomizer - Interface in org.springframework.boot.test.autoconfigure.web.reactive
- A customizer for a
WebTestClient.Builder
.
Y
- YES - org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
- Skip mapping the property.
All Classes All Packages