View Javadoc

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    * Created with IntelliJ IDEA.
10   * User: lsymms
11   * Date: 5/24/13
12   * Time: 11:55 AM
13   * To change this template use File | Settings | File Templates.
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  }