Package | Description |
---|---|
net.sourceforge.pmd.testframework |
Modifier and Type | Method | Description |
---|---|---|
TestDescriptor[] |
RuleTst.extractTestsFromXml(Rule rule) |
Extract a set of tests from an XML file.
|
TestDescriptor[] |
RuleTst.extractTestsFromXml(Rule rule,
java.lang.String testsFileName) |
|
TestDescriptor[] |
RuleTst.extractTestsFromXml(Rule rule,
java.lang.String testsFileName,
java.lang.String baseDirectory) |
Extract a set of tests from an XML file with the given name.
|
Modifier and Type | Method | Description |
---|---|---|
protected java.util.List<TestDescriptor> |
RuleTestRunner.getChildren() |
Modifier and Type | Method | Description |
---|---|---|
protected org.junit.runner.Description |
RuleTestRunner.describeChild(TestDescriptor testCase) |
|
protected boolean |
RuleTestRunner.isIgnored(TestDescriptor child) |
|
protected void |
RuleTestRunner.runChild(TestDescriptor testCase,
org.junit.runner.notification.RunNotifier notifier) |
|
void |
RuleTst.runTest(TestDescriptor test) |
Run the rule on the given code, and check the expected number of
violations.
|
void |
RuleTst.runTestFromString(TestDescriptor test,
Rule rule,
Report report) |
|
void |
SimpleAggregatorTst.runTests(TestDescriptor[] tests) |
Run a set of tests of a certain sourceType.
|
Copyright © 2002–2018 PMD. All rights reserved.