|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.testframework.RuleTst
net.sourceforge.pmd.testframework.SimpleAggregatorTst
public abstract class SimpleAggregatorTst
Standard methods for (simple) testcases.
Constructor Summary | |
---|---|
SimpleAggregatorTst()
|
Method Summary | |
---|---|
protected void |
addRule(String ruleSet,
String ruleName)
Add new XML tests associated with the rule to the test suite. |
protected 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,
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. |
Methods inherited from class net.sourceforge.pmd.testframework.RuleTst |
---|
extractTestsFromXml, extractTestsFromXml, extractTestsFromXml, findRule, getCleanRuleName, runTest, runTestFromString, runTestFromString, runTestFromString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleAggregatorTst()
Method Detail |
---|
protected void setUp()
addRule(String, String)
public void runTests(Rule rule)
public void runTests(Rule rule, String testsFileName)
public void runTests(TestDescriptor[] tests)
protected void addRule(String ruleSet, String ruleName)
protected List<Rule> getRules()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |