forked from phoedos/pmd
Small code enhancements, basically reordering variable declarations, constructors and variable modifiers
This commit is contained in:
@@ -6,16 +6,18 @@ package net.sourceforge.pmd.testframework;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import net.sourceforge.pmd.Rule;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import net.sourceforge.pmd.Rule;
|
||||
|
||||
/**
|
||||
* Standard methods for (simple) testcases.
|
||||
*/
|
||||
@RunWith(PMDTestRunner.class)
|
||||
public abstract class SimpleAggregatorTst extends RuleTst {
|
||||
|
||||
private List<Rule> rules = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Configure the rule tests to be executed. Implement this method in
|
||||
* subclasses by calling adRule.
|
||||
@@ -53,8 +55,6 @@ public abstract class SimpleAggregatorTst extends RuleTst {
|
||||
}
|
||||
}
|
||||
|
||||
private List<Rule> rules = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Add new XML tests associated with the rule to the test suite. This should
|
||||
* be called from the setup method.
|
||||
|
Reference in New Issue
Block a user