A B C D E F G H I J L M N O P R S T U V W Y
所有类 所有程序包
所有类 所有程序包
所有类 所有程序包
A
- addFilters() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- If filters from the application context should be registered with MockMVC.
- afterTestMethod(TestContext) - 类 中的方法org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
- AnnotationCustomizableTypeExcludeFilter - org.springframework.boot.test.autoconfigure.filter中的类
- Abstract base class for a
TypeExcludeFilter
that can be customized using an annotation. - AnnotationCustomizableTypeExcludeFilter() - 类 的构造器org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- AnnotationCustomizableTypeExcludeFilter.FilterType - org.springframework.boot.test.autoconfigure.filter中的枚举
- AnnotationsPropertySource - org.springframework.boot.test.autoconfigure.properties中的类
EnumerablePropertySource
to adapt annotations marked with@PropertyMapping
.- AnnotationsPropertySource(Class<?>) - 类 的构造器org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- AnnotationsPropertySource(String, 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
- 已过时。Replace any DataSource bean (auto-configured or manually defined).
- anyMatches(MetadataReader, MetadataReaderFactory) - 类 中的方法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
- 已过时。Only replace auto-configured DataSource.
- AutoConfigureCache - org.springframework.boot.test.autoconfigure.core中的注释类型
- Annotation that can be applied to a test class to enable and configure auto-configuration of caching.
- AutoConfigureDataJpa - org.springframework.boot.test.autoconfigure.orm.jpa中的注释类型
Auto-configuration imports
for typical Data JPA tests.- AutoConfigureDataMongo - org.springframework.boot.test.autoconfigure.data.mongo中的注释类型
Auto-configuration imports
for typical Data MongoDB tests.- AutoConfigureJdbc - org.springframework.boot.test.autoconfigure.jdbc中的注释类型
Auto-configuration imports
for typical jdbc tests.- AutoConfigureJson - org.springframework.boot.test.autoconfigure.json中的注释类型
Auto-configuration imports
for typical JSON tests.- AutoConfigureJsonTesters - 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 - 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 - 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 - 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 - 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 - org.springframework.boot.test.autoconfigure.orm.jpa中的注释类型
- 已过时。as of 1.5 in favor of
AutoConfigureTestDatabase
- AutoConfigureTestDatabase.Replace - org.springframework.boot.test.autoconfigure.jdbc中的枚举
- What the test database can replace.
- AutoConfigureTestDatabase.Replace - org.springframework.boot.test.autoconfigure.orm.jpa中的枚举
- 已过时。
- AutoConfigureTestEntityManager - org.springframework.boot.test.autoconfigure.orm.jpa中的注释类型
- Annotation that can be applied to a test class to enable auto-configuration of a
TestEntityManager
. - AutoConfigureWebClient - 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 - org.springframework.boot.test.autoconfigure.web.servlet中的注释类型
Auto-configuration imports
for typical Spring MVC tests.
B
- basicJsonTesterFactoryBean() - 类 中的方法org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration
- beforeTestMethod(TestContext) - 类 中的方法org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
C
- cacheProvider() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.core.AutoConfigureCache
- clear() - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Clear the persistence context, causing all managed entities to become detached.
- components() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- Specifies the components to test.
- connection() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase
- The type of connection to be established when
replacing
the data source. - connection() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestDatabase
- 已过时。The type of connection to be established when
replacing
the data source. - containsProperty(String) - 类 中的方法org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- controllers() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Specifies the controllers to test.
- customize(MockMvcRestDocumentationConfigurer) - 接口 中的方法org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcConfigurationCustomizer
- Customize the given
configurer
. - customize(ConfigurableMockMvcBuilder<?>) - 接口 中的方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcBuilderCustomizer
- Customize the given
builder
. - customize(ConfigurableMockMvcBuilder<?>) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
D
- DataJpaTest - org.springframework.boot.test.autoconfigure.orm.jpa中的注释类型
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical JPA test. - DataMongoTest - org.springframework.boot.test.autoconfigure.data.mongo中的注释类型
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical MongoDB test. - dataSource() - 类 中的方法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) - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- detach(Object) - 类 中的方法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() - 类 中的静态方法org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration
- enabled() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.json.AutoConfigureJsonTesters
- If
BasicJsonTester
,JacksonTester
andGsonTester
beans should be registered. - enabled() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.OverrideAutoConfiguration
- The value of the
enabled override property
. - enabled() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.client.AutoConfigureMockRestServiceServer
- If
MockServerRestTemplateCustomizer
should be enabled andMockRestServiceServer
beans should be registered. - equals(Object) - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- equals(Object) - 类 中的方法org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- exclude(MetadataReader, MetadataReaderFactory) - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- EXCLUDE - org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- excludeAutoConfiguration() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.json.JsonTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Auto-configuration exclusions that should be applied for this test.
- excludeFilters() - 注释类型 中的方法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() - 注释类型 中的方法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() - 注释类型 中的方法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() - 注释类型 中的方法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() - 注释类型 中的方法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() - 注释类型 中的方法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 - org.springframework.boot.test.autoconfigure.filter中的类
- Utility to load
TypeFilters
from@Filter
annotations. - FilterAnnotations(ClassLoader, ComponentScan.Filter[]) - 类 的构造器org.springframework.boot.test.autoconfigure.filter.FilterAnnotations
- find(Class<E>, Object) - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Find by primary key.
- flush() - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Synchronize the persistence context to the underlying database.
G
- getComponentIncludes() - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- getDefaultIncludes() - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- getEntityManager() - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Return the underlying
EntityManager
that's actually used to perform all operations. - getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType) - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- getId(Object) - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Return the ID of the given entity.
- getId(Object, Class<T>) - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Return the ID of the given entity cast to a specific type.
- getPrint() - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- getProperty(String) - 类 中的方法org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- getPropertyNames() - 类 中的方法org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
H
- hasAnnotation() - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- hashCode() - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- hashCode() - 类 中的方法org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- htmlUnitDriver(MockMvcHtmlUnitDriverBuilder) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration
- htmlUnitWebClient(MockMvcWebClientBuilder) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration
I
- include(MetadataReader, MetadataReaderFactory) - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- INCLUDE - org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- includeFilters() - 注释类型 中的方法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() - 注释类型 中的方法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() - 注释类型 中的方法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() - 注释类型 中的方法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() - 注释类型 中的方法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() - 注释类型 中的方法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() - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- isEmpty() - 类 中的方法org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- isPrintOnlyOnFailure() - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- isTypeOrAnnotated(MetadataReader, MetadataReaderFactory, Class<?>) - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- isUseDefaultFilters() - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- iterator() - 类 中的方法org.springframework.boot.test.autoconfigure.filter.FilterAnnotations
J
- JdbcTest - org.springframework.boot.test.autoconfigure.jdbc中的注释类型
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical jdbc test. - jsonMarshalTestersBeanPostProcessor() - 类 中的静态方法org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration
- JsonTest - org.springframework.boot.test.autoconfigure.json中的注释类型
- Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical JSON test. - JsonTestersAutoConfiguration - org.springframework.boot.test.autoconfigure.json中的类
- Auto-configuration for Json testers.
- JsonTestersAutoConfiguration() - 类 的构造器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) - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- merge(E) - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Merge the state of the given entity into the current persistence context.
- mockMvc(MockMvcBuilder) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- MockMvcAutoConfiguration - org.springframework.boot.test.autoconfigure.web.servlet中的类
- Auto-configuration for
MockMvc
. - mockMvcBuilder(List<MockMvcBuilderCustomizer>) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- MockMvcBuilderCustomizer - org.springframework.boot.test.autoconfigure.web.servlet中的接口
- A customizer for a
ConfigurableMockMvcBuilder
. - mockMvcHtmlUnitDriverBuilder(MockMvc) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration
- MockMvcPrint - org.springframework.boot.test.autoconfigure.web.servlet中的枚举
- MVC print options specified from
AutoConfigureMockMvc
. - MockMvcSecurityAutoConfiguration - org.springframework.boot.test.autoconfigure.web.servlet中的类
- Auto-configuration for Spring Security's testing support.
- MockMvcSecurityAutoConfiguration() - 类 的构造器org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityAutoConfiguration
- MockMvcWebClientAutoConfiguration - org.springframework.boot.test.autoconfigure.web.servlet中的类
- Auto-configuration for HtmlUnit
WebClient
MockMVC integration. - mockMvcWebClientBuilder(MockMvc) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration
- MockMvcWebDriverAutoConfiguration - org.springframework.boot.test.autoconfigure.web.servlet中的类
- Auto-configuration for Selenium
WebDriver
MockMVC integration. - mockRestServiceServer(MockServerRestTemplateCustomizer) - 类 中的方法org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
- MockRestServiceServerAutoConfiguration - org.springframework.boot.test.autoconfigure.web.client中的类
- Auto-configuration for
MockRestServiceServer
support. - MockRestServiceServerAutoConfiguration() - 类 的构造器org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
- mockServerRestTemplateCustomizer() - 类 中的方法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
- 已过时。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 - 程序包 org.springframework.boot.test.autoconfigure
- Test auto-configuration support.
- org.springframework.boot.test.autoconfigure.core - 程序包 org.springframework.boot.test.autoconfigure.core
- Auto-configuration for core parts common to most Spring Boot applications.
- org.springframework.boot.test.autoconfigure.data.mongo - 程序包 org.springframework.boot.test.autoconfigure.data.mongo
- org.springframework.boot.test.autoconfigure.filter - 程序包 org.springframework.boot.test.autoconfigure.filter
- Helper utilities for using
TypeExcludeFilter
with auto-configured tests. - org.springframework.boot.test.autoconfigure.jdbc - 程序包 org.springframework.boot.test.autoconfigure.jdbc
- org.springframework.boot.test.autoconfigure.json - 程序包 org.springframework.boot.test.autoconfigure.json
- Auto-configuration for JSON tests.
- org.springframework.boot.test.autoconfigure.orm.jpa - 程序包 org.springframework.boot.test.autoconfigure.orm.jpa
- Auto-configuration for Data JPA tests.
- org.springframework.boot.test.autoconfigure.properties - 程序包 org.springframework.boot.test.autoconfigure.properties
- Support for mapping annotation attribute values in the Spring
Environment
. - org.springframework.boot.test.autoconfigure.restdocs - 程序包 org.springframework.boot.test.autoconfigure.restdocs
- org.springframework.boot.test.autoconfigure.web.client - 程序包 org.springframework.boot.test.autoconfigure.web.client
- Auto-configuration for web clients.
- org.springframework.boot.test.autoconfigure.web.servlet - 程序包 org.springframework.boot.test.autoconfigure.web.servlet
- Auto-configuration for Spring MVC tests.
- outputDir() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The output directory to which generated snippets will be written.
- OverrideAutoConfiguration - org.springframework.boot.test.autoconfigure中的注释类型
- Annotation that can be used to override
@EnableAutoConfiguration
.
P
- persist(E) - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Make an instance managed and persistent.
- persistAndFlush(E) - 类 中的方法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) - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Make an instance managed and persistent then return it's ID.
- persistAndGetId(Object, Class<T>) - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Make an instance managed and persistent then return it's ID.
- persistFlushFind(E) - 类 中的方法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) - 类 中的方法org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
- print() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- How
MvcResult
information should be printed after each MockMVC invocation. - printOnlyOnFailure() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- If
MvcResult
information should be printed only if the test fails. - PropertyMapping - org.springframework.boot.test.autoconfigure.properties中的注释类型
- Indicates that attributes from a test annotation should be mapped into a
PropertySource
.
R
- refresh(E) - 类 中的方法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() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.client.AutoConfigureWebClient
- If a
RestTemplate
bean should be registered. - remove(Object) - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Remove the entity instance.
- replace() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase
- Determines what type of existing DataSource beans can be replaced.
- replace() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestDatabase
- 已过时。Determines what type of existing DataSource beans can be replaced.
- RestClientTest - 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 - org.springframework.boot.test.autoconfigure.restdocs中的类
Auto-configuration
for Spring REST Docs.- RestDocsAutoConfiguration() - 类 的构造器org.springframework.boot.test.autoconfigure.restdocs.RestDocsAutoConfiguration
- RestDocsMockMvcConfigurationCustomizer - org.springframework.boot.test.autoconfigure.restdocs中的接口
- A customizer for
MockMvcRestDocumentationConfigurer
. - restDocsMockMvcConfigurer(ObjectProvider<RestDocsMockMvcConfigurationCustomizer>, RestDocumentationContextProvider) - 类 中的方法org.springframework.boot.test.autoconfigure.restdocs.RestDocsAutoConfiguration
- RestDocsTestExecutionListener - 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() - 类 的构造器org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
- restDocumentationConfigurer(MockMvcRestDocumentationConfigurer, ObjectProvider<RestDocumentationResultHandler>) - 类 中的方法org.springframework.boot.test.autoconfigure.restdocs.RestDocsAutoConfiguration
- restTemplate(RestTemplateBuilder) - 类 中的方法org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration
S
- secure() - 注释类型 中的方法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() - 注释类型 中的方法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) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- setBeanClassLoader(ClassLoader) - 类 中的方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- setPrint(MockMvcPrint) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- setPrintOnlyOnFailure(boolean) - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- showSql() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
- If SQL output should be logged.
- skip() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.properties.PropertyMapping
- Determines if mapping should be skipped.
- SkipPropertyMapping - org.springframework.boot.test.autoconfigure.properties中的枚举
- Enum used to control when
PropertyMapping
is skipped. - SpringBootDependencyInjectionTestExecutionListener - org.springframework.boot.test.autoconfigure中的类
- Alternative
DependencyInjectionTestExecutionListener
prints theConditionEvaluationReport
when the context cannot be prepared. - SpringBootDependencyInjectionTestExecutionListener() - 类 的构造器org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
- springBootMockMvcBuilderCustomizer() - 类 中的方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- SpringBootMockMvcBuilderCustomizer - org.springframework.boot.test.autoconfigure.web.servlet中的类
MockMvcBuilderCustomizer
for a typical Spring Boot application.- SpringBootMockMvcBuilderCustomizer(WebApplicationContext) - 类 的构造器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 - org.springframework.boot.test.autoconfigure.jdbc中的类
- Auto-configuration for a test database.
- testEntityManager(EntityManagerFactory) - 类 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration
- TestEntityManager - org.springframework.boot.test.autoconfigure.orm.jpa中的类
- Alternative to
EntityManager
for use in JPA tests. - TestEntityManager(EntityManagerFactory) - 类 的构造器org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
- Create a new
TestEntityManager
instance for the givenEntityManagerFactory
. - TestEntityManagerAutoConfiguration - org.springframework.boot.test.autoconfigure.orm.jpa中的类
- Auto-configuration for
TestEntityManager
. - TestEntityManagerAutoConfiguration() - 类 的构造器org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration
- TypeExcludeFilters - 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() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The host to be used in documented URIs.
- uriPort() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The port to be used in documented URIs.
- uriScheme() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The scheme (typically
http
orhttps
) to be used in documented URIs. - useDefaultFilters() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.json.JsonTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Determines if default filtering should be used with
@SpringBootApplication
.
V
- value() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.filter.TypeExcludeFilters
- Specifies
TypeExcludeFilter
classes that should be applied to@SpringBootApplication
component scanning. - value() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.properties.PropertyMapping
- Defines the property mapping.
- value() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
- The output directory to which generated snippets will be written.
- value() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.client.RestClientTest
- Specifies the components to test.
- value() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
- Specifies the controllers to test.
- valueOf(String) - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- 返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
- 返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestDatabase.Replace
- 已过时。返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
- 返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
- 返回带有指定名称的该类型的枚举常量。
- values() - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
- values() - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
- 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
- values() - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestDatabase.Replace
- 已过时。按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
- values() - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
- 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
- values() - 枚举 中的静态方法org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
- 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
W
- webClientEnabled() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- If a
WebClient
should be auto-configured when HtmlUnit is on the classpath. - WebClientRestTemplateAutoConfiguration - org.springframework.boot.test.autoconfigure.web.client中的类
- Auto-configuration for a web-client
RestTemplate
. - WebClientRestTemplateAutoConfiguration() - 类 的构造器org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration
- webDriverEnabled() - 注释类型 中的方法org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
- If a
WebDriver
should be auto-configured when Selenium is on the classpath. - WebMvcTest - 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.
所有类 所有程序包