1   
2    /***
3     * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
4     */
5    package> test.net.sourceforge.pmd.rules;
6    
7    import net.sourceforge.pmd.Rule;
8    import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst;
9    
10   public class ShortVariableRuleTest extends SimpleAggregatorTst {
11       private Rule rule;
12   
13       public void setUp() {
14           rule = findRule("naming", "ShortVariable");
15           rule.addProperty("pluginname", "true");
16       }
17   
18       public void testAll() {
19           runTests(rule);
20       }
21   }