A C D E F G H N P R S T V 
All Classes All Packages

A

AbstractAntTestHelper - Class in net.sourceforge.pmd.test
Base test class for ant tests.
AbstractAntTestHelper() - Constructor for class net.sourceforge.pmd.test.AbstractAntTestHelper
 
AbstractLanguageVersionTest - Class in net.sourceforge.pmd.test
Base test class for LanguageVersion implementations.
AbstractLanguageVersionTest() - Constructor for class net.sourceforge.pmd.test.AbstractLanguageVersionTest
 
AbstractLanguageVersionTest.TestDescriptor - Class in net.sourceforge.pmd.test
 
AbstractRuleSetFactoryTest - Class in net.sourceforge.pmd.test.lang.rule
Base test class to verify the language's rulesets.
AbstractRuleSetFactoryTest() - Constructor for class net.sourceforge.pmd.test.lang.rule.AbstractRuleSetFactoryTest
 
AbstractRuleSetFactoryTest(String...) - Constructor for class net.sourceforge.pmd.test.lang.rule.AbstractRuleSetFactoryTest
Constructor used when a module that depends on another module wants to filter out the dependee's rulesets.
AbstractRuleSetFactoryTest(Language...) - Constructor for class net.sourceforge.pmd.test.lang.rule.AbstractRuleSetFactoryTest
 
addRule(String, String) - Method in class net.sourceforge.pmd.test.SimpleAggregatorTst
Add new XML tests associated with the rule to the test suite.
antTestScriptFilename - Variable in class net.sourceforge.pmd.test.AbstractAntTestHelper
 
assertContains(String, String) - Method in class net.sourceforge.pmd.test.AbstractAntTestHelper
 
assertDoesntContain(String, String) - Method in class net.sourceforge.pmd.test.AbstractAntTestHelper
 
assertOutputContaining(String) - Method in class net.sourceforge.pmd.test.AbstractAntTestHelper
 

C

currentTempFile() - Method in class net.sourceforge.pmd.test.AbstractAntTestHelper
Returns the current temporary file.

D

defaultVersionIs(Language, String) - Static method in class net.sourceforge.pmd.test.AbstractLanguageVersionTest.TestDescriptor
 

E

executeTarget(String) - Method in class net.sourceforge.pmd.test.AbstractAntTestHelper
 

F

findRule(String, String) - Static method in class net.sourceforge.pmd.test.RuleTst
Find a rule in a certain ruleset by name.

G

getExpected() - Method in class net.sourceforge.pmd.test.AbstractLanguageVersionTest.TestDescriptor
 
getLanguage(String) - Static method in class net.sourceforge.pmd.test.AbstractLanguageVersionTest
 
getLog() - Method in class net.sourceforge.pmd.test.AbstractAntTestHelper
 
getName() - Method in class net.sourceforge.pmd.test.AbstractLanguageVersionTest.TestDescriptor
 
getRules() - Method in class net.sourceforge.pmd.test.PmdRuleTst
 
getRules() - Method in class net.sourceforge.pmd.test.RuleTst
 
getRules() - Method in class net.sourceforge.pmd.test.SimpleAggregatorTst
Gets all configured rules.
getSimpleTerseName() - Method in class net.sourceforge.pmd.test.AbstractLanguageVersionTest.TestDescriptor
 
getVersion() - Method in class net.sourceforge.pmd.test.AbstractLanguageVersionTest.TestDescriptor
 

H

hasCorrectEncoding(String) - Static method in class net.sourceforge.pmd.test.lang.rule.AbstractRuleSetFactoryTest
 

N

net.sourceforge.pmd.test - package net.sourceforge.pmd.test
 
net.sourceforge.pmd.test.lang.rule - package net.sourceforge.pmd.test.lang.rule
 

P

pathToTestScript - Variable in class net.sourceforge.pmd.test.AbstractAntTestHelper
 
PmdRuleTst - Class in net.sourceforge.pmd.test
 
PmdRuleTst() - Constructor for class net.sourceforge.pmd.test.PmdRuleTst
 

R

RuleTst - Class in net.sourceforge.pmd.test
Advanced methods for test cases
RuleTst() - Constructor for class net.sourceforge.pmd.test.RuleTst
 
runTests(Rule) - Method in class net.sourceforge.pmd.test.RuleTst
Run a set of tests defined in an XML test-data file for a rule.
runTests(Rule, String) - Method in class net.sourceforge.pmd.test.RuleTst
Run a set of tests defined in a XML test-data file.

S

setUp() - Method in class net.sourceforge.pmd.test.AbstractAntTestHelper
 
setUp() - Method in class net.sourceforge.pmd.test.PmdRuleTst
 
setUp() - Method in class net.sourceforge.pmd.test.RuleTst
 
setUp() - Method in class net.sourceforge.pmd.test.SimpleAggregatorTst
Configure the rule tests to be executed.
SimpleAggregatorTst - Class in net.sourceforge.pmd.test
Simple setup for a rule unit test, capable of testing multiple rules.
SimpleAggregatorTst() - Constructor for class net.sourceforge.pmd.test.SimpleAggregatorTst
 

T

TestDescriptor(String, String, String, LanguageVersion) - Constructor for class net.sourceforge.pmd.test.AbstractLanguageVersionTest.TestDescriptor
TestDescriptor(Language, String) - Constructor for class net.sourceforge.pmd.test.AbstractLanguageVersionTest.TestDescriptor
 

V

validXPathClassNames - Variable in class net.sourceforge.pmd.test.lang.rule.AbstractRuleSetFactoryTest
 
versionDoesNotExist(String, String, String) - Static method in class net.sourceforge.pmd.test.AbstractLanguageVersionTest.TestDescriptor
 
versionDoesNotExist(Language, String) - Static method in class net.sourceforge.pmd.test.AbstractLanguageVersionTest.TestDescriptor
 
A C D E F G H N P R S T V 
All Classes All Packages