From 9d1e4480d844d40b09c0ddaaeef5f4ff7824e975 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Tue, 30 Aug 2016 11:48:24 +0200 Subject: [PATCH] Fix IT plugin --- .../plugins/project/sonar-project.properties | 5 +--- .../src/test/java/it/plugins/PluginsTest.java | 26 ++++++++++++------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/it/it-projects/plugins/project/sonar-project.properties b/it/it-projects/plugins/project/sonar-project.properties index c0d80855a0a..a0f986a7b67 100644 --- a/it/it-projects/plugins/project/sonar-project.properties +++ b/it/it-projects/plugins/project/sonar-project.properties @@ -5,9 +5,6 @@ sonar.projectVersion=1.0-SNAPSHOT sonar.encoding=UTF-8 sonar.sources=. sonar.inclusions=src/**,ext/** -# PLI temporarily disabled as it does not support multi-language configuration. It still requires -# the property sonar.language to be set to 'pli'. -sonar.exclusions=src/pli/** sonar.test.inclusions=test/** # C @@ -35,6 +32,6 @@ sonar.flex.cobertura.reportPath=reports/flex/coverage.xml sonar.php.coverage.reportPath=target/php/phpunit.coverage.xml sonar.php.tests.reportPath=target/php/phpunit.xml -#PLI - temporarily disabled (see exclusions) +#PLI sonar.pli.marginLeft=2 sonar.pli.marginRight=0 diff --git a/it/it-tests/src/test/java/it/plugins/PluginsTest.java b/it/it-tests/src/test/java/it/plugins/PluginsTest.java index 19474acfc59..423639f1300 100644 --- a/it/it-tests/src/test/java/it/plugins/PluginsTest.java +++ b/it/it-tests/src/test/java/it/plugins/PluginsTest.java @@ -27,16 +27,14 @@ import com.sonar.orchestrator.build.BuildResult; import com.sonar.orchestrator.build.SonarScanner; import it.plugins.checks.CCheck; import it.plugins.checks.Check; -import it.plugins.checks.CobolCheck; import it.plugins.checks.CppCheck; -import it.plugins.checks.CssCheck; import it.plugins.checks.FlexCheck; import it.plugins.checks.GroovyCheck; import it.plugins.checks.JavaCheck; import it.plugins.checks.JavascriptCheck; import it.plugins.checks.PhpCheck; +import it.plugins.checks.PliCheck; import it.plugins.checks.PythonCheck; -import it.plugins.checks.RpgCheck; import it.plugins.checks.SwiftCheck; import it.plugins.checks.Validation; import it.plugins.checks.VbCheck; @@ -72,9 +70,6 @@ public class PluginsTest { // https://jira.sonarsource.com/browse/MAIF-213 "maifcobolplugin", - // waiting for release of ABAP 3.3 - "abap", - // SONAR-7770 Realm plugins cannot be installed as no external configuration is used "crowd", "ldap", "pam"); @@ -89,13 +84,24 @@ public class PluginsTest { // this property must be deactivated in preview mode. "scmstats"); - // TODO new PliCheck() is temporarily disabled as PLI plugin does not support multi-language feature. See sonar-project.properties static final List CHECKS = Arrays.asList( + // waiting for release of ABAP 3.3 (ABAP-287) // new AbapCheck(), new CCheck(), new CppCheck(), - new CobolCheck(), new CssCheck(), - new FlexCheck(), new GroovyCheck(), new JavaCheck(), new JavascriptCheck(), new PhpCheck(), new RpgCheck(), - new PythonCheck(), new SwiftCheck(), + // waiting for new Cobol release (COBOL-1332) + // new CobolCheck(), + // waiting for release of CSS 2.1 (https://github.com/SonarQubeCommunity/sonar-css/issues/261) + // new CssCheck(), + new FlexCheck(), + new GroovyCheck(), + new JavaCheck(), + new JavascriptCheck(), + new PhpCheck(), + new PliCheck(), + new PythonCheck(), + // waiting for new RPG release (RPG-136) + // new RpgCheck(), + new SwiftCheck(), new VbCheck(), new WebCheck()); -- 2.39.5