pmd: cleanup redundant test classes

* the two test suites are already integrated in DesignRulesTest and CouplingRulesTest
This commit is contained in:
Andreas Dangel
2012-10-06 18:55:50 +02:00
parent da6e8fc05e
commit 99daea42a5
2 changed files with 0 additions and 46 deletions

View File

@@ -1,23 +0,0 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.rule.coupling;
import net.sourceforge.pmd.testframework.SimpleAggregatorTst;
import org.junit.Before;
public class LawOfDemeterRuleTest extends SimpleAggregatorTst {
private static final String RULESET = "java-coupling";
@Before
public void setUp() {
addRule(RULESET, "LawOfDemeter");
}
public static junit.framework.Test suite() {
return new junit.framework.JUnit4TestAdapter(LawOfDemeterRuleTest.class);
}
}

View File

@@ -1,23 +0,0 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.rule.design;
import net.sourceforge.pmd.testframework.SimpleAggregatorTst;
import org.junit.Before;
public class GodClassRuleTest extends SimpleAggregatorTst {
private static final String RULESET = "java-design";
@Before
public void setUp() {
addRule(RULESET, "GodClass");
}
public static junit.framework.Test suite() {
return new junit.framework.JUnit4TestAdapter(GodClassRuleTest.class);
}
}