• Phillip Webb's avatar
    Add @ImportAutoConfiguration annotation for tests · 9a537070
    Phillip Webb authored
    Add a new `@ImportAutoConfiguration` annotation that can be used by
    tests that wish to selectively import certain auto-configuration
    classes. Also add `@AutoConfigurationPackage` so that package
    registration is decoupled from `@EnableAutoConfiguration`.
    
    An added benefit of the change is @EnableAutoConfigurationImportSelector
    can now be subclassed to provide custom annotation support if needed.
    
    Fixes gh-3660
    See gh-2772
    9a537070
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...