forked from phoedos/pmd
javadoc comments added
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5574 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -43,10 +43,17 @@ public abstract class SimpleAggregatorTst extends RuleTst {
|
||||
|
||||
private List<Rule> rules = new ArrayList<Rule>();
|
||||
|
||||
/**
|
||||
* Add new XML tests associated with the rule to the test suite. This should
|
||||
* be called from the setup method.
|
||||
*/
|
||||
protected void addRule(String ruleSet, String ruleName) {
|
||||
rules.add(findRule(ruleSet, ruleName));
|
||||
}
|
||||
|
||||
/**
|
||||
* Run a set of tests for all rules added in the setup method.
|
||||
*/
|
||||
@Test
|
||||
public void testAll() {
|
||||
for (Rule r : rules) {
|
||||
|
Reference in New Issue
Block a user