1 package test.net.sourceforge.pmd.rules.coupling; 2 3 import org.junit.Before; 4 5 import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst; 6 7 public class CouplingRulesTest extends SimpleAggregatorTst { 8 9 @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(CouplingRulesTest.class); 18 } 19 }