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 Description TestDescriptor[]
RuleTst. extractTestsFromXml(net.sourceforge.pmd.Rule rule)
Extract a set of tests from an XML file.TestDescriptor[]
RuleTst. extractTestsFromXml(net.sourceforge.pmd.Rule rule, String testsFileName)
TestDescriptor[]
RuleTst. extractTestsFromXml(net.sourceforge.pmd.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 that return types with arguments of type TestDescriptor Modifier and Type Method Description protected List<TestDescriptor>
RuleTestRunner. getChildren()
Methods in net.sourceforge.pmd.testframework with parameters of type TestDescriptor 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, net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.Report report)
void
RuleTst. runTests(TestDescriptor[] tests)
Run a set of tests of a certain sourceType.
-