KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > net > sourceforge > pmd > rules > junit > JUnitSpellingRuleTest


1
2  /**
3   * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
4   */

5  package test.net.sourceforge.pmd.rules.junit;
6  
7  import net.sourceforge.pmd.Rule;
8  import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst;
9  
10  public class JUnitSpellingRuleTest extends SimpleAggregatorTst {
11  
12      private Rule rule;
13  
14      public void setUp() {
15          rule = findRule("junit", "JUnitSpelling");
16      }
17  
18      public void testAll() {
19          runTests(rule);
20      }
21  }
22
Popular Tags