aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-xoo-plugin/src/test
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2023-04-21 15:49:12 -0500
committersonartech <sonartech@sonarsource.com>2023-04-24 20:04:24 +0000
commit36f7a5dfc1cb7e14d8632102aec3321fc6232259 (patch)
treed37f3b2b72fa873b79e0104954499decd7c0b716 /plugins/sonar-xoo-plugin/src/test
parentccf7c5c1cd340592c3c1af5577caf0a9db92fb7b (diff)
downloadsonarqube-36f7a5dfc1cb7e14d8632102aec3321fc6232259.tar.gz
sonarqube-36f7a5dfc1cb7e14d8632102aec3321fc6232259.zip
SONAR-19050 Upgrade sonar-plugin-api to v9.16.0.549
Diffstat (limited to 'plugins/sonar-xoo-plugin/src/test')
-rw-r--r--plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/rule/XooRulesDefinitionTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/rule/XooRulesDefinitionTest.java b/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/rule/XooRulesDefinitionTest.java
index d851fb4f26f..ac96be2d050 100644
--- a/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/rule/XooRulesDefinitionTest.java
+++ b/plugins/sonar-xoo-plugin/src/test/java/org/sonar/xoo/rule/XooRulesDefinitionTest.java
@@ -23,9 +23,9 @@ import org.junit.Before;
import org.junit.Test;
import org.sonar.api.SonarEdition;
import org.sonar.api.SonarQubeSide;
+import org.sonar.api.code.CodeCharacteristic;
import org.sonar.api.impl.server.RulesDefinitionContext;
import org.sonar.api.internal.SonarRuntimeImpl;
-import org.sonar.api.rules.RuleCharacteristic;
import org.sonar.api.server.debt.DebtRemediationFunction;
import org.sonar.api.server.rule.RulesDefinition;
import org.sonar.api.utils.Version;
@@ -120,7 +120,7 @@ public class XooRulesDefinitionTest {
public void define_xoo_rule_with_characteristic() {
RulesDefinition.Repository repo = context.repository("xoo");
RulesDefinition.Rule oneCodeSmellIssuePerLine = repo.rule("OneCodeSmellIssuePerLine");
- assertThat(oneCodeSmellIssuePerLine.characteristic()).isEqualTo(RuleCharacteristic.STRUCTURED);
+ assertThat(oneCodeSmellIssuePerLine.characteristic()).isEqualTo(CodeCharacteristic.STRUCTURED);
}
private RulesDefinition.Repository getRepository() {