## Uses of Class
net.sourceforge.pmd.testframework.TestDescriptor

Packages that use TestDescriptor
Package | Description
--- | ---
net.sourceforge.pmd.testframework |

### Uses of TestDescriptor in net.sourceforge.pmd.testframework

Methods in net.sourceforge.pmd.testframework that return TestDescriptor
Modifier and Type | Method and Description
--- | ---
`TestDescriptor[]` | RuleTst.`extractTestsFromXml(Rule rule)` Extract a set of tests from an XML file.
`TestDescriptor[]` | RuleTst.`extractTestsFromXml(Rule rule, String testsFileName)`
`TestDescriptor[]` | RuleTst.`extractTestsFromXml(Rule rule, String testsFileName, String baseDirectory)` Extract a set of tests from an XML file with the given name.

Methods in net.sourceforge.pmd.testframework with parameters of type TestDescriptor
Modifier and Type | Method and Description
--- | ---
`void` | RuleTst.`runTest(TestDescriptor test)` Run the rule on the given code, and check the expected number of violations.
`void` | SimpleAggregatorTst.`runTests(TestDescriptor[] tests)` Run a set of tests of a certain sourceType.