pmd: cleanup redundant test classes
* the two test suites are already integrated in DesignRulesTest and CouplingRulesTest
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
@@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user