aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-xoo-plugin
diff options
context:
space:
mode:
authorJenkins CI <ci@sonarsource.com>2016-04-12 08:07:40 +0200
committerJenkins CI <ci@sonarsource.com>2016-04-12 08:07:40 +0200
commit54bed58ca48aba47636f8bc025d301e3a8523e6f (patch)
treeb2d351e98482ce754c0c30e27a7ff2065ffc52bf /plugins/sonar-xoo-plugin
parentbe0fa093db7176f18bf137af7246e4ec5167f0ab (diff)
parenta6f552abcf9db3361c2ad903606b3365182da76a (diff)
downloadsonarqube-54bed58ca48aba47636f8bc025d301e3a8523e6f.tar.gz
sonarqube-54bed58ca48aba47636f8bc025d301e3a8523e6f.zip
Automatic merge from branch-5.5
* origin/branch-5.5: QA: enable deploy on branch-* add l10n names for reliability_rating and security_rating Add PropertiesDao.deleteById SONAR-7533 Hide sonar.login property in analysis.log sent in the scanner report SONAR-7238 do not display identity provider details when it is "sonarqube" fix bug which prevents to add a quality gate condition for "new_" metric SONAR-7402 clicking on project bubble brings to the project page Fix javadoc errors Exclude protobuf code from SQ analysis Fix some Javadoc warnings Improve javadoc Change return type of Plugin#getSonarQubeVersion()
Diffstat (limited to 'plugins/sonar-xoo-plugin')
-rw-r--r--plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/XooPluginTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/XooPluginTest.java b/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/XooPluginTest.java
index 69cc0823895..76198a3ac70 100644
--- a/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/XooPluginTest.java
+++ b/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/XooPluginTest.java
@@ -21,7 +21,6 @@ package org.sonar.xoo;
import org.junit.Test;
import org.sonar.api.Plugin;
-import org.sonar.api.SonarQubeVersion;
import org.sonar.api.utils.Version;
import org.sonar.xoo.lang.CpdTokenizerSensor;
@@ -32,11 +31,11 @@ public class XooPluginTest {
@Test
public void provide_extensions_for_5_5() {
- Plugin.Context context = new Plugin.Context(new SonarQubeVersion(V5_5));
+ Plugin.Context context = new Plugin.Context(V5_5);
new XooPlugin().define(context);
assertThat(context.getExtensions()).hasSize(39).contains(CpdTokenizerSensor.class);
- context = new Plugin.Context(new SonarQubeVersion(Version.parse("5.4")));
+ context = new Plugin.Context(Version.parse("5.4"));
new XooPlugin().define(context);
assertThat(context.getExtensions()).hasSize(38).doesNotContain(CpdTokenizerSensor.class);
}