• Matt Benson's avatar
    Fix logic for disabling plugins in CrshAutoConfiguration · 2a9e6c40
    Matt Benson authored
    Plugin disabling logic was broken by e009d3e4. Prior to this change,
    a plugin would be disabled if it or any of the implemented interfaces
    in its inheritance hierarchy were configured as being disabled. The
    offending commit inverted the logic so that the plugin would be
    enabled if any part of it was NOT configured as being disabled.
    
    This commit restores the logic such that the early return happens only
    in the negative case.
    
    Previously, the tests were written as though
    PluginContext#getPlugin(Class) would consider the specified class
    against the runtime type of the plugin (not an unreasonable
    assumption); rather this method considers the broader 'plugin type'.
    This commit rewrites the test to seek by plugin type and assert the
    absence of the disabled plugins.
    
    Closes gh-5032
    2a9e6c40
Name
Last commit
Last update
.mvn 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...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...