1 package org.kuali.student.sonar.database;
2
3 import org.junit.Test;
4 import static org.junit.Assert.fail;
5 import org.kuali.student.sonar.database.plugin.DatabseIntegrityRulesRepository;
6 import org.sonar.api.rules.XMLRuleParser;
7
8
9
10
11
12
13
14
15 public class TestSonarRuleRepository {
16
17 @Test
18 public void testRuleDefs() {
19 XMLRuleParser parser = new XMLRuleParser();
20
21 DatabseIntegrityRulesRepository repo = new DatabseIntegrityRulesRepository(parser);
22 repo.createRules();
23 }
24 }