From 3c797da78da8fce31876d8ac02b271e9ef6663a2 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Wed, 1 Nov 2017 13:48:22 +0100 Subject: [PATCH] SONAR-9863 Disabled commercial plugins from PluginsTest They should be reactivated when latest release is using new license manager --- .../sonarqube/tests/plugins/PluginsTest.java | 38 ++++++++----------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/tests/src/test/java/org/sonarqube/tests/plugins/PluginsTest.java b/tests/src/test/java/org/sonarqube/tests/plugins/PluginsTest.java index 50a43e322ec..6df8891ca56 100644 --- a/tests/src/test/java/org/sonarqube/tests/plugins/PluginsTest.java +++ b/tests/src/test/java/org/sonarqube/tests/plugins/PluginsTest.java @@ -35,21 +35,13 @@ import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ErrorCollector; -import org.sonarqube.tests.plugins.checks.AbapCheck; -import org.sonarqube.tests.plugins.checks.CCheck; import org.sonarqube.tests.plugins.checks.Check; -import org.sonarqube.tests.plugins.checks.CobolCheck; -import org.sonarqube.tests.plugins.checks.CppCheck; import org.sonarqube.tests.plugins.checks.FlexCheck; import org.sonarqube.tests.plugins.checks.GroovyCheck; import org.sonarqube.tests.plugins.checks.JavaCheck; import org.sonarqube.tests.plugins.checks.JavascriptCheck; import org.sonarqube.tests.plugins.checks.PhpCheck; -import org.sonarqube.tests.plugins.checks.PliCheck; -import org.sonarqube.tests.plugins.checks.PlsqlCheck; import org.sonarqube.tests.plugins.checks.PythonCheck; -import org.sonarqube.tests.plugins.checks.RpgCheck; -import org.sonarqube.tests.plugins.checks.SwiftCheck; import org.sonarqube.tests.plugins.checks.Validation; import org.sonarqube.tests.plugins.checks.WebCheck; @@ -67,9 +59,9 @@ public class PluginsTest { "swift", "vb", "vbnet"); private static final List CHECKS = Arrays.asList( - new AbapCheck(), - new CCheck(), new CppCheck(), - new CobolCheck(), + // FIXME plsql is disabled as latest release is not using new license manager new AbapCheck(), + // FIXME cpp is disabled as latest release is not using new license manager new CCheck(), new CppCheck(), + // FIXME cobol is disabled as latest release is not using new license manager new CobolCheck(), // FIXME css plugin is temporary disabled as for the moment incompatible with the web plugin // new CssCheck(), new FlexCheck(), @@ -77,11 +69,11 @@ public class PluginsTest { new JavaCheck(), new JavascriptCheck(), new PhpCheck(), - new PliCheck(), - new PlsqlCheck(), + // FIXME pli is disabled as latest release is not using new license manager new PliCheck(), + // FIXME plsql is disabled as latest release is not using new license manager new PlsqlCheck(), new PythonCheck(), - new RpgCheck(), - new SwiftCheck(), + // FIXME rpg is disabled as latest release is not using new license manager new RpgCheck(), + // FIXME swift is disabled as latest release is not using new license manager new SwiftCheck(), // SONAR-7618 Visual Basic 2.2 not compatible with CE not loading @ServerSide // new VbCheck(), new WebCheck()); @@ -95,16 +87,16 @@ public class PluginsTest { // FIXME JSON plugin is temporarily disabled as for the moment the github repo doesn't exist anymore installPlugin(builder, "JSON");; installPlugin(builder, "Sonargraph"); - installPlugin(builder, "abap"); + // FIXME abap is disabled as latest release is not using new license manager installPlugin(builder, "abap"); // FIXME AEM Rules plugin is disabled because it is no more compatible with SonarQube 6.4 (ClassNotFoundException: com.google.common.base.Functions) installPlugin(builder, "aemrules"); installPlugin(builder, "android"); installPlugin(builder, "authbitbucket"); installPlugin(builder, "authgithub"); installPlugin(builder, "checkstyle"); installPlugin(builder, "clover"); - installPlugin(builder, "cobol"); + // FIXME cobol is disabled as latest release is not using new license manager installPlugin(builder, "cobol"); installPlugin(builder, "codecrackercsharp"); - installPlugin(builder, "cpp"); + // FIXME cpp is disabled as latest release is not using new license manager installPlugin(builder, "cpp"); installPlugin(builder, "csharp"); // FIXME css plugin is temporarily disabled as for the moment incompatible with the web plugin installPlugin(builder, "css"); // FIXME erlang plugin is temporarily disabled because it is not compatible with SQ 6.4 until usage of Colorizer API is removed @@ -132,14 +124,14 @@ public class PluginsTest { installPlugin(builder, "php"); installPlugin(builder, "pitest"); // SONAR-7618 SonarPLI release 1.5.0.702 not compatible with CE not loading @ServerSide. To be reset to LATEST_RELEASE as soon as SonarPLI 1.5.1 is released. - installPlugin(builder, new URL("https://sonarsource.bintray.com/CommercialDistribution/sonar-pli-plugin/sonar-pli-plugin-1.5.1.872.jar")); + // FIXME pli is disabled as latest release is not using new license manager installPlugin(builder, new URL("https://sonarsource.bintray.com/CommercialDistribution/sonar-pli-plugin/sonar-pli-plugin-1.5.1.872.jar")); // SONAR-7618 SonarPLSQL 2.9.0.901 not compatible with CE not loading @ServerSide. To be reset to LATEST_RELEASE as soon as SonarPLSQL 2.9.1 is released. - installPlugin(builder, new URL("https://sonarsource.bintray.com/CommercialDistribution/sonar-plsql-plugin/sonar-plsql-plugin-2.9.1.1051.jar")); + // FIXME plsql is disabled as latest release is not using new license manager installPlugin(builder, new URL("https://sonarsource.bintray.com/CommercialDistribution/sonar-plsql-plugin/sonar-plsql-plugin-2.9.1.1051.jar")); installPlugin(builder, "pmd"); // FIXME puppet plugin is temporarily disabled because it is not compatible with SQ 6.4 until usage of Colorizer API is removed installPlugin(builder, "python"); installPlugin(builder, "rci"); - installPlugin(builder, "rpg"); + // FIXME rpg is disabled as latest release is not using new license manager installPlugin(builder, "rpg"); installPlugin(builder, "scmclearcase"); installPlugin(builder, "scmcvs"); installPlugin(builder, "scmgit"); @@ -151,10 +143,10 @@ public class PluginsTest { installPlugin(builder, "softvis3d"); installPlugin(builder, "sonargraphintegration"); installPlugin(builder, "status"); - installPlugin(builder, "swift"); + // FIXME swift is disabled as latest release is not using new license manager installPlugin(builder, "swift"); // SONAR-7618 Visual Basic 2.2 not compatible with CE not loading @ServerSide // installPlugin(builder, "vb"); - installPlugin(builder, "vbnet"); + // FIXME vbnet is disabled as latest release is not using new license manager installPlugin(builder, "vbnet"); installPlugin(builder, "web"); installPlugin(builder, "xanitizer"); installPlugin(builder, "xml"); -- 2.39.5