diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-05-27 14:27:34 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-05-28 09:29:05 +0200 |
commit | 386e6a13b460e25ad032004d3635b071bf91e104 (patch) | |
tree | fd223fb5d79b39e6882ab83e5bf5dec5f5fed0db /sonar-batch/src/test/java/org/sonar | |
parent | 92f01954fc68bcbe8004b1e8433a469ca67118e7 (diff) | |
download | sonarqube-386e6a13b460e25ad032004d3635b071bf91e104.tar.gz sonarqube-386e6a13b460e25ad032004d3635b071bf91e104.zip |
SONAR-6370 drop core plugin
The core plugin was highly coupled with core, so it did not respect classloader isolation
as other plugins.
Diffstat (limited to 'sonar-batch/src/test/java/org/sonar')
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginPredicateTest.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginPredicateTest.java b/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginPredicateTest.java index 57176404845..511d29d9244 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginPredicateTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginPredicateTest.java @@ -59,22 +59,6 @@ public class BatchPluginPredicateTest { } @Test - public void accept_core_plugin_even_if_not_in_inclusions() { - when(mode.isPreview()).thenReturn(true); - settings.setProperty(CoreProperties.PREVIEW_INCLUDE_PLUGINS, "checkstyle,pmd,findbugs"); - BatchPluginPredicate predicate = new BatchPluginPredicate(settings, mode); - assertThat(predicate.apply("core")).isTrue(); - } - - @Test - public void accept_core_plugin_even_if_declared_in_exclusions() { - when(mode.isPreview()).thenReturn(true); - settings.setProperty(CoreProperties.PREVIEW_EXCLUDE_PLUGINS, "core,findbugs"); - BatchPluginPredicate predicate = new BatchPluginPredicate(settings, mode); - assertThat(predicate.apply("core")).isTrue(); - } - - @Test public void verify_both_inclusions_and_exclusions() { when(mode.isPreview()).thenReturn(true); settings |