JavaScript is disabled on your browser.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
E
F
G
I
M
N
P
R
S
T
V
A
AbstractAntTestHelper
- Class in
net.sourceforge.pmd.ant
Quite an ugly classe, arguably useful for just 2 units test - nevertheless as there is a workaround that must be shared by both tests (PMD and CPD's) I felt compelled to move it to a single classes.
AbstractAntTestHelper()
- Constructor for class net.sourceforge.pmd.ant.
AbstractAntTestHelper
AbstractLanguageVersionTest
- Class in
net.sourceforge.pmd
AbstractLanguageVersionTest(String, String, String, LanguageVersion)
- Constructor for class net.sourceforge.pmd.
AbstractLanguageVersionTest
AbstractTokenizerTest
- Class in
net.sourceforge.pmd.testframework
AbstractTokenizerTest()
- Constructor for class net.sourceforge.pmd.testframework.
AbstractTokenizerTest
addRule(String, String)
- Method in class net.sourceforge.pmd.testframework.
SimpleAggregatorTst
Add new XML tests associated with the rule to the test suite.
antTestScriptFilename
- Variable in class net.sourceforge.pmd.ant.
AbstractAntTestHelper
B
BaseCLITest
- Class in
net.sourceforge.pmd.cli
BaseCLITest()
- Constructor for class net.sourceforge.pmd.cli.
BaseCLITest
buildTokenizer()
- Method in class net.sourceforge.pmd.testframework.
AbstractTokenizerTest
C
checkStatusCode()
- Method in class net.sourceforge.pmd.cli.
BaseCLITest
createTestOutputFile(String)
- Method in class net.sourceforge.pmd.cli.
BaseCLITest
E
expectedTokenCount
- Variable in class net.sourceforge.pmd.testframework.
AbstractTokenizerTest
extractTestsFromXml(Rule)
- Method in class net.sourceforge.pmd.testframework.
RuleTst
Extract a set of tests from an XML file.
extractTestsFromXml(Rule, String)
- Method in class net.sourceforge.pmd.testframework.
RuleTst
extractTestsFromXml(Rule, String, String)
- Method in class net.sourceforge.pmd.testframework.
RuleTst
Extract a set of tests from an XML file with the given name.
F
filter(Filter)
- Method in class net.sourceforge.pmd.testframework.
PMDTestRunner
findRule(String, String)
- Method in class net.sourceforge.pmd.testframework.
RuleTst
Find a rule in a certain ruleset by name
G
getCleanRuleName(Rule)
- Method in class net.sourceforge.pmd.testframework.
RuleTst
getResourceAsStream tries to find the XML file in weird locations if the ruleName includes the package, so we strip it here.
getCode()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getDescription()
- Method in class net.sourceforge.pmd.testframework.
PMDTestRunner
getDescription()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getExpectedLineNumbers()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getExpectedMessages()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getLanguageVersion()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getNumberInDocument()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getNumberOfProblemsExpected()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getProperties()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getReinitializeRule()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getRule()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
getRules()
- Method in class net.sourceforge.pmd.testframework.
SimpleAggregatorTst
Gets all configured rules.
getSampleCode()
- Method in class net.sourceforge.pmd.testframework.
AbstractTokenizerTest
getStatusCode()
- Method in class net.sourceforge.pmd.cli.
BaseCLITest
I
inRegressionTestMode()
- Static method in class net.sourceforge.pmd.testframework.
TestDescriptor
Checks whether we are testing for regression problems only.
isRegressionTest()
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
M
mvnWorkaround
- Variable in class net.sourceforge.pmd.ant.
AbstractAntTestHelper
N
net.sourceforge.pmd
- package net.sourceforge.pmd
net.sourceforge.pmd.ant
- package net.sourceforge.pmd.ant
net.sourceforge.pmd.cli
- package net.sourceforge.pmd.cli
net.sourceforge.pmd.lang
- package net.sourceforge.pmd.lang
net.sourceforge.pmd.testframework
- package net.sourceforge.pmd.testframework
P
ParserOptionsTest
- Class in
net.sourceforge.pmd.lang
ParserOptionsTest()
- Constructor for class net.sourceforge.pmd.lang.
ParserOptionsTest
pathToTestScript
- Variable in class net.sourceforge.pmd.ant.
AbstractAntTestHelper
PMDTestRunner
- Class in
net.sourceforge.pmd.testframework
A test runner for rule tests.
PMDTestRunner(Class<? extends SimpleAggregatorTst>)
- Constructor for class net.sourceforge.pmd.testframework.
PMDTestRunner
Creates a new
PMDTestRunner
for the given test class.
R
RuleTst
- Class in
net.sourceforge.pmd.testframework
Advanced methods for test cases
RuleTst()
- Constructor for class net.sourceforge.pmd.testframework.
RuleTst
run(RunNotifier)
- Method in class net.sourceforge.pmd.testframework.
PMDTestRunner
runPMDWith(String[])
- Method in class net.sourceforge.pmd.cli.
BaseCLITest
runTest(String[], String)
- Method in class net.sourceforge.pmd.cli.
BaseCLITest
runTest(TestDescriptor)
- Method in class net.sourceforge.pmd.testframework.
RuleTst
Run the rule on the given code, and check the expected number of violations.
runTestFromString(String, Rule, Report, LanguageVersion)
- Method in class net.sourceforge.pmd.testframework.
RuleTst
Run the rule on the given code and put the violations in the report.
runTests(Rule)
- Method in class net.sourceforge.pmd.testframework.
SimpleAggregatorTst
Run a set of tests defined in an XML test-data file for a rule.
runTests(Rule, String)
- Method in class net.sourceforge.pmd.testframework.
SimpleAggregatorTst
Run a set of tests defined in a XML test-data file.
runTests(TestDescriptor[])
- Method in class net.sourceforge.pmd.testframework.
SimpleAggregatorTst
Run a set of tests of a certain sourceType.
S
setExpectedLineNumbers(List<Integer>)
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
setExpectedMessages(List<String>)
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
setNumberInDocument(int)
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
setProperties(Properties)
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
setRegressionTest(boolean)
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
setReinitializeRule(boolean)
- Method in class net.sourceforge.pmd.testframework.
TestDescriptor
setUp()
- Method in class net.sourceforge.pmd.ant.
AbstractAntTestHelper
setUp()
- Static method in class net.sourceforge.pmd.cli.
BaseCLITest
setup()
- Method in class net.sourceforge.pmd.cli.
BaseCLITest
setUp()
- Method in class net.sourceforge.pmd.testframework.
SimpleAggregatorTst
Configure the rule tests to be executed.
SimpleAggregatorTst
- Class in
net.sourceforge.pmd.testframework
Standard methods for (simple) testcases.
SimpleAggregatorTst()
- Constructor for class net.sourceforge.pmd.testframework.
SimpleAggregatorTst
SOURCE_FOLDER
- Static variable in class net.sourceforge.pmd.cli.
BaseCLITest
sourceCode
- Variable in class net.sourceforge.pmd.testframework.
AbstractTokenizerTest
StreamUtil
- Class in
net.sourceforge.pmd.testframework
StreamUtil()
- Constructor for class net.sourceforge.pmd.testframework.
StreamUtil
suite()
- Static method in class net.sourceforge.pmd.
AbstractLanguageVersionTest
suite()
- Static method in class net.sourceforge.pmd.lang.
ParserOptionsTest
T
tearDown()
- Method in class net.sourceforge.pmd.cli.
BaseCLITest
TEST_OUPUT_DIRECTORY
- Static variable in class net.sourceforge.pmd.cli.
BaseCLITest
TestDescriptor
- Class in
net.sourceforge.pmd.testframework
Stores the information required to run a complete test.
TestDescriptor()
- Constructor for class net.sourceforge.pmd.testframework.
TestDescriptor
TestDescriptor(String, String, int, Rule)
- Constructor for class net.sourceforge.pmd.testframework.
TestDescriptor
TestDescriptor(String, String, int, Rule, LanguageVersion)
- Constructor for class net.sourceforge.pmd.testframework.
TestDescriptor
testEqualsHashcode()
- Method in class net.sourceforge.pmd.lang.
ParserOptionsTest
testFindVersionsForLanguageNameAndVersion()
- Method in class net.sourceforge.pmd.
AbstractLanguageVersionTest
testGetLanguageVersionForTerseName()
- Method in class net.sourceforge.pmd.
AbstractLanguageVersionTest
testSuppressMarker()
- Method in class net.sourceforge.pmd.lang.
ParserOptionsTest
tokenizer
- Variable in class net.sourceforge.pmd.testframework.
AbstractTokenizerTest
tokenizeTest()
- Method in class net.sourceforge.pmd.testframework.
AbstractTokenizerTest
toString(InputStream)
- Static method in class net.sourceforge.pmd.testframework.
StreamUtil
V
verifyOptionsEqualsHashcode(ParserOptions, ParserOptions, ParserOptions, ParserOptions)
- Static method in class net.sourceforge.pmd.lang.
ParserOptionsTest
A
B
C
E
F
G
I
M
N
P
R
S
T
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2002-2014
InfoEther
. All Rights Reserved.