aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-08-14 14:49:49 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-08-18 09:36:10 +0200
commit2a5eea17c29c46566a13f84eead54b202a9bae83 (patch)
tree6e360aeea61672f86d090e52f281f6319953d4e2 /plugins
parent48bb07308a21354e7f904a03b0c593158bde82b5 (diff)
downloadsonarqube-2a5eea17c29c46566a13f84eead54b202a9bae83.tar.gz
sonarqube-2a5eea17c29c46566a13f84eead54b202a9bae83.zip
Migrate batch ITs
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java10
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/AbstractDeprecatedXooRuleSensor.java2
2 files changed, 11 insertions, 1 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java
index cffaa39b8af..fe8a123a6da 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/XooPlugin.java
@@ -19,8 +19,12 @@
*/
package org.sonar.xoo;
-import org.sonar.xoo.rule.Xoo2BasicProfile;
+import org.sonar.xoo.rule.OneBlockerIssuePerFileSensor;
+import org.sonar.xoo.rule.HasTagSensor;
+import org.sonar.xoo.rule.OneIssuePerModuleSensor;
+import org.sonar.xoo.rule.OneIssuePerFileSensor;
+import org.sonar.xoo.rule.Xoo2BasicProfile;
import org.sonar.api.SonarPlugin;
import org.sonar.xoo.coverage.ItCoverageSensor;
import org.sonar.xoo.coverage.OverallCoverageSensor;
@@ -84,6 +88,7 @@ public class XooPlugin extends SonarPlugin {
XooTokenizer.class,
// sensors
+ HasTagSensor.class,
MeasureSensor.class,
SyntaxHighlightingSensor.class,
SymbolReferencesSensor.class,
@@ -91,7 +96,10 @@ public class XooPlugin extends SonarPlugin {
RandomAccessSensor.class,
DeprecatedResourceApiSensor.class,
+ OneBlockerIssuePerFileSensor.class,
OneIssuePerLineSensor.class,
+ OneIssuePerFileSensor.class,
+ OneIssuePerModuleSensor.class,
OneIssueOnDirPerFileSensor.class,
CreateIssueByInternalKeySensor.class,
MultilineIssuesSensor.class,
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/AbstractDeprecatedXooRuleSensor.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/AbstractDeprecatedXooRuleSensor.java
index 31eeefdbcb3..63290dd1254 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/AbstractDeprecatedXooRuleSensor.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/AbstractDeprecatedXooRuleSensor.java
@@ -19,6 +19,8 @@
*/
package org.sonar.xoo.rule;
+import org.sonar.api.batch.rule.ActiveRule;
+
import org.sonar.api.batch.Sensor;
import org.sonar.api.batch.SensorContext;
import org.sonar.api.batch.fs.FileSystem;