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