public abstract class SimpleAggregatorTst extends RuleTst
Constructor | Description |
---|---|
SimpleAggregatorTst() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
addRule(java.lang.String ruleSet,
java.lang.String ruleName) |
Add new XML tests associated with the rule to the test suite.
|
protected java.util.List<Rule> |
getRules() |
Gets all configured rules.
|
void |
runTests(Rule rule) |
Run a set of tests defined in an XML test-data file for a rule.
|
void |
runTests(Rule rule,
java.lang.String testsFileName) |
Run a set of tests defined in a XML test-data file.
|
void |
runTests(TestDescriptor[] tests) |
Run a set of tests of a certain sourceType.
|
protected void |
setUp() |
Configure the rule tests to be executed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extractTestsFromXml, extractTestsFromXml, extractTestsFromXml, findRule, getCleanRuleName, reinitializeRule, runTest, runTestFromString, runTestFromString, runTestFromString
protected void setUp()
addRule(String, String)
public void runTests(Rule rule)
public void runTests(Rule rule, java.lang.String testsFileName)
public void runTests(TestDescriptor[] tests)
protected void addRule(java.lang.String ruleSet, java.lang.String ruleName)
protected java.util.List<Rule> getRules()
Copyright © 2002–2018 PMD. All rights reserved.