mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish contribution
Closes gh-7326
This commit is contained in:
parent
e8b0a64872
commit
ebfd86ea26
@ -36,10 +36,10 @@ import org.springframework.cache.support.NoOpCacheManager;
|
||||
* @author Phillip Webb
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@Target(ElementType.TYPE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Inherited
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.TYPE)
|
||||
@ImportAutoConfiguration
|
||||
public @interface AutoConfigureCache {
|
||||
|
||||
|
@ -36,10 +36,10 @@ import org.springframework.boot.test.autoconfigure.properties.PropertyMapping;
|
||||
* @author Phillip Webb
|
||||
* @see TestDatabaseAutoConfiguration
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Inherited
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
@ImportAutoConfiguration
|
||||
@PropertyMapping("spring.test.database")
|
||||
public @interface AutoConfigureTestDatabase {
|
||||
|
@ -32,10 +32,10 @@ import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
|
||||
* @author Phillip Webb
|
||||
* @see TestEntityManagerAutoConfiguration
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Inherited
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
@ImportAutoConfiguration
|
||||
public @interface AutoConfigureTestEntityManager {
|
||||
|
||||
|
@ -39,10 +39,10 @@ import org.springframework.core.annotation.AliasFor;
|
||||
* @see RestDocsAutoConfiguration
|
||||
* @see RestDocsMockMvcConfigurationCustomizer
|
||||
*/
|
||||
@Target(ElementType.TYPE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Inherited
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.TYPE)
|
||||
@ImportAutoConfiguration
|
||||
@Import(RestDocumentationContextProviderRegistrar.class)
|
||||
@PropertyMapping("spring.test.restdocs")
|
||||
|
@ -41,10 +41,10 @@ import org.springframework.test.web.servlet.MvcResult;
|
||||
* @see MockMvcAutoConfiguration
|
||||
* @see SpringBootMockMvcBuilderCustomizer
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Inherited
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
@ImportAutoConfiguration
|
||||
@PropertyMapping("spring.test.mockmvc")
|
||||
public @interface AutoConfigureMockMvc {
|
||||
|
Loading…
Reference in New Issue
Block a user