Class AbstractRuleSetFactoryTest
- java.lang.Object
-
- net.sourceforge.pmd.test.lang.rule.AbstractRuleSetFactoryTest
-
public abstract class AbstractRuleSetFactoryTest extends Object
Base test class to verify the language's rulesets. This class should be subclassed for each language.
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>
validXPathClassNames
-
Constructor Summary
Constructors Constructor Description AbstractRuleSetFactoryTest()
AbstractRuleSetFactoryTest(String... languagesToSkip)
Constructor used when a module that depends on another module wants to filter out the dependee's rulesets.AbstractRuleSetFactoryTest(net.sourceforge.pmd.lang.Language... languagesToSkip)
-
-
-
Constructor Detail
-
AbstractRuleSetFactoryTest
public AbstractRuleSetFactoryTest()
-
AbstractRuleSetFactoryTest
public AbstractRuleSetFactoryTest(String... languagesToSkip)
Constructor used when a module that depends on another module wants to filter out the dependee's rulesets.- Parameters:
languagesToSkip
-Language
s terse names that appear in the classpath via a dependency, but should be skipped because they aren't the primary language which the concrete instance of this class is testing.
-
AbstractRuleSetFactoryTest
public AbstractRuleSetFactoryTest(net.sourceforge.pmd.lang.Language... languagesToSkip)
-
-
Method Detail
-
hasCorrectEncoding
public static boolean hasCorrectEncoding(String fileName) throws IOException
- Throws:
IOException
-
-