use of org.sonar.db.rule.RuleRepositoryDto in project sonarqube by SonarSource.
the class CompareActionMediumTest method createRepository.
private void createRepository(String repositoryKey, String repositoryLanguage, String repositoryName) {
RuleRepositoryDto dto = new RuleRepositoryDto(repositoryKey, repositoryLanguage, repositoryName);
db.ruleRepositoryDao().insert(session, asList(dto));
session.commit();
}
Aggregations