diff --git a/pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/empty/EmptyRulesTest.java b/pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/empty/EmptyRulesTest.java new file mode 100644 index 0000000000..2f4a80e207 --- /dev/null +++ b/pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/empty/EmptyRulesTest.java @@ -0,0 +1,22 @@ +/** + * BSD-style license; for more info see http://pmd.sourceforge.net/license.html + */ + +package net.sourceforge.pmd.lang.apex.rule.empty; + +import net.sourceforge.pmd.testframework.SimpleAggregatorTst; + +public class EmptyRulesTest extends SimpleAggregatorTst { + + private static final String RULESET = "apex-empty"; + + @Override + public void setUp() { + addRule(RULESET, "EmptyCatchBlock"); + addRule(RULESET, "EmptyFinallyBlock"); + addRule(RULESET, "EmptyIfStmt"); + addRule(RULESET, "EmptyStaticInitializer"); + addRule(RULESET, "EmptyTryBlock"); + addRule(RULESET, "EmptyWhileStmt"); + } +}