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).
- ANY - org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestDatabase.Replace
- Deprecated.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.
- AUTO_CONFIGURED - org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestDatabase.Replace
- Deprecated.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 enable and configure auto-configuration of caching.
- AutoConfigureDataJpa - Annotation Type in org.springframework.boot.test.autoconfigure.orm.jpa
Auto-configuration imports
for typical Data JPA tests.- AutoConfigureDataMongo - Annotation Type in org.springframework.boot.test.autoconfigure.data.mongo
Auto-configuration imports
for typical Data MongoDB tests.- AutoConfigureJdbc - Annotation Type in org.springframework.boot.test.autoconfigure.jdbc
Auto-configuration imports
for typical jdbc 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 - Annotation Type in org.springframework.boot.test.autoconfigure.orm.jpa
- Deprecated.as of 1.5 in favor of
AutoConfigureTestDatabase
- AutoConfigureTestDatabase.Replace - Enum in org.springframework.boot.test.autoconfigure.jdbc
- What the test database can replace.
- AutoConfigureTestDatabase.Replace - Enum in org.springframework.boot.test.autoconfigure.orm.jpa
- Deprecated.
- 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.
- AutoConfigureWebMvc - Annotation Type in org.springframework.boot.test.autoconfigure.web.servlet
Auto-configuration imports
for typical Spring MVC tests.
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. - connection() - Method in annotation type org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestDatabase
- Deprecated.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.servlet.WebMvcTest
- Specifies the controllers to test.
- customize(MockMvcRestDocumentationConfigurer) - Method in interface org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcConfigurationCustomizer
- Customize the given
configurer
. - 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
- 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. - 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. - 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.
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
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.mongo.DataMongoTest
- 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.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.servlet.WebMvcTest
- Auto-configuration exclusions that should be applied for this test.
- 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.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.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.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.
- 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
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.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.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.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.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. - 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.orm.jpa.AutoConfigureTestDatabase.Replace
- Deprecated.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.mongo - package org.springframework.boot.test.autoconfigure.data.mongo
- 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
- 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
- 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.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. - 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.
- replace() - Method in annotation type org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestDatabase
- Deprecated.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
. - restDocsMockMvcConfigurer(ObjectProvider<RestDocsMockMvcConfigurationCustomizer>, RestDocumentationContextProvider) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsAutoConfiguration
- 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
- restDocumentationConfigurer(MockMvcRestDocumentationConfigurer, ObjectProvider<RestDocumentationResultHandler>) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsAutoConfiguration
- 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
- If Spring Security's
MockMvc
support should be auto-configured when it is on the classpath. - secure() - Method in annotation type org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- If Spring Security's
MockMvc
support should be auto-configured when it is on the classpath. - 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
- 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. - 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
- 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.mongo.DataMongoTest
- 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.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.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.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.orm.jpa.AutoConfigureTestDatabase.Replace
- Deprecated.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.orm.jpa.AutoConfigureTestDatabase.Replace
- Deprecated.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. - 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.
Y
- YES - org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
- Skip mapping the property.
All Classes All Packages