use of org.sonar.scanner.rule.RuleFinderCompatibility in project sonarqube by SonarSource.
the class RuleFinderCompatibilityTest method prepare.
@Before
public void prepare() {
RulesBuilder builder = new RulesBuilder();
builder.add(RuleKey.of("repo1", "rule1"));
builder.add(RuleKey.of("repo1", "rule2")).setInternalKey("rule2_internal");
builder.add(RuleKey.of("repo2", "rule1"));
rules = builder.build();
ruleFinder = new RuleFinderCompatibility(rules);
}
Aggregations