use of org.sonar.ce.task.projectanalysis.issue.RuleRepositoryImpl in project sonarqube by SonarSource.
the class PersistAdHocRulesStepTest method setup.
@Before
public void setup() {
ruleRepository = new RuleRepositoryImpl(adHocRuleCreator, dbClient);
underTest = new PersistAdHocRulesStep(dbClient, ruleRepository);
}
use of org.sonar.ce.task.projectanalysis.issue.RuleRepositoryImpl in project sonarqube by SonarSource.
the class PersistIssuesStepTest method setup.
@Before
public void setup() throws Exception {
protoIssueCache = new ProtoIssueCache(temp.newFile(), System2.INSTANCE);
reportReader.setMetadata(ScannerReport.Metadata.getDefaultInstance());
underTest = new PersistIssuesStep(dbClient, system2, conflictResolver, new RuleRepositoryImpl(adHocRuleCreator, dbClient), protoIssueCache, new IssueStorage(), UuidFactoryImpl.INSTANCE);
}
Aggregations