01: package test.net.sourceforge.pmd.rules.coupling;
02:
03: import org.junit.Before;
04:
05: import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst;
06:
07: public class CouplingRulesTest extends SimpleAggregatorTst {
08:
09: @Before
10: public void setUp() {
11: addRule("coupling", "CouplingBetweenObjects");
12: addRule("coupling", "ExcessiveImports");
13: addRule("coupling", "LooseCoupling");
14: }
15:
16: public static junit.framework.Test suite() {
17: return new junit.framework.JUnit4TestAdapter(
18: CouplingRulesTest.class);
19: }
20: }
|