A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.pmd-code.org/apidocs/pmd-test/6.55.0-SNAPSHOT/index-all.html below:

Index (PMD Test Framework 6.55.0 API)

A B C D E F G H I M N P R S T V 
All Classes All Packages 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
AbstractRuleSetFactoryTest - Class in net.sourceforge.pmd

Base test class to verify the language's rulesets.

AbstractRuleSetFactoryTest() - Constructor for class net.sourceforge.pmd.AbstractRuleSetFactoryTest
 
AbstractRuleSetFactoryTest(String...) - Constructor for class net.sourceforge.pmd.AbstractRuleSetFactoryTest

Constructor used when a module that depends on another module wants to filter out the dependee's rulesets.

AbstractTokenizerTest - Class in net.sourceforge.pmd.testframework
AbstractTokenizerTest() - Constructor for class net.sourceforge.pmd.testframework.AbstractTokenizerTest

Deprecated.

 
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
 
assertContains(String, String) - Method in class net.sourceforge.pmd.ant.AbstractAntTestHelper
 
assertDoesntContain(String, String) - Method in class net.sourceforge.pmd.ant.AbstractAntTestHelper
 
assertOutputContaining(String) - Method in class net.sourceforge.pmd.ant.AbstractAntTestHelper
 
B
BaseCLITest - Class in net.sourceforge.pmd.cli
BaseCLITest() - Constructor for class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

 
BaseCPDCLITest - Class in net.sourceforge.pmd.cli
BaseCPDCLITest() - Constructor for class net.sourceforge.pmd.cli.BaseCPDCLITest

Deprecated.

 
buildRule - Variable in class net.sourceforge.pmd.ant.AbstractAntTestHelper

Deprecated.

buildTokenizer() - Method in class net.sourceforge.pmd.testframework.AbstractTokenizerTest

Deprecated.

 
C
checkStatusCode(int) - Method in class net.sourceforge.pmd.cli.BaseCLITest
containsPattern(String) - Static method in class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

 
createRuleSetReferenceId(String) - Static method in class net.sourceforge.pmd.AbstractRuleSetFactoryTest
createRuleViolation(Rule, RuleContext, Node, String) - Method in class net.sourceforge.pmd.test.lang.DummyLanguageModule.RuleViolationFactory

Deprecated.

 
createRuleViolation(Rule, RuleContext, Node, String, int, int) - Method in class net.sourceforge.pmd.test.lang.DummyLanguageModule.RuleViolationFactory

Deprecated.

 
createTestOutputFile(String) - Method in class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

 
currentTempFile() - Method in class net.sourceforge.pmd.ant.AbstractAntTestHelper

Returns the current temporary file.

D
describeChild(TestDescriptor) - Method in class net.sourceforge.pmd.testframework.RuleTestRunner
 
DummyLanguageModule - Class in net.sourceforge.pmd.test.lang
DummyLanguageModule() - Constructor for class net.sourceforge.pmd.test.lang.DummyLanguageModule

Deprecated.

 
DummyLanguageModule.DummyRuleChainVisitor - Class in net.sourceforge.pmd.test.lang
DummyLanguageModule.Handler - Class in net.sourceforge.pmd.test.lang

Deprecated.

 
DummyLanguageModule.RuleViolationFactory - Class in net.sourceforge.pmd.test.lang

Deprecated.

 
DummyNode - Class in net.sourceforge.pmd.test.lang.ast
 
DummyNode(int) - Constructor for class net.sourceforge.pmd.test.lang.ast.DummyNode
 
DummyRuleChainVisitor() - Constructor for class net.sourceforge.pmd.test.lang.DummyLanguageModule.DummyRuleChainVisitor

Deprecated.

 
E
executeTarget(String) - Method in class net.sourceforge.pmd.ant.AbstractAntTestHelper
 
expectedTokenCount - Variable in class net.sourceforge.pmd.testframework.AbstractTokenizerTest

Deprecated.

 
extractTestsFromXml(Rule) - Method in class net.sourceforge.pmd.testframework.RuleTst

Deprecated.

extractTestsFromXml(Rule, String) - Method in class net.sourceforge.pmd.testframework.RuleTst

Deprecated.

extractTestsFromXml(Rule, String, String) - Method in class net.sourceforge.pmd.testframework.RuleTst

Deprecated.

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 todo make this static

G
getChildren() - Method in class net.sourceforge.pmd.testframework.RuleTestRunner
 
getCleanRuleName(Rule) - Method in class net.sourceforge.pmd.testframework.RuleTst

Deprecated.

getCode() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getDescription() - Method in class net.sourceforge.pmd.testframework.PMDTestRunner
 
getDescription() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getExpectedLineNumbers() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getExpectedMessages() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getLanguageVersion() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getNumberInDocument() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getNumberOfProblemsExpected() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getOutput() - Method in class net.sourceforge.pmd.cli.BaseCPDCLITest
getParser(ParserOptions) - Method in class net.sourceforge.pmd.test.lang.DummyLanguageModule.Handler

Deprecated.

 
getProperties() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getReinitializeRule() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getRule() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getRules() - Method in class net.sourceforge.pmd.testframework.PmdRuleTst
 
getRules() - Method in class net.sourceforge.pmd.testframework.RuleTst
 
getRules() - Method in class net.sourceforge.pmd.testframework.SimpleAggregatorTst

Gets all configured rules.

getRuleViolationFactory() - Method in class net.sourceforge.pmd.test.lang.DummyLanguageModule.Handler

Deprecated.

 
getSampleCode() - Method in class net.sourceforge.pmd.testframework.AbstractTokenizerTest

Deprecated.

 
getStatusCode() - Method in class net.sourceforge.pmd.cli.BaseCLITest
getTestMethodName() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
getXPathNodeName() - Method in class net.sourceforge.pmd.test.lang.ast.DummyNode
 
H
Handler() - Constructor for class net.sourceforge.pmd.test.lang.DummyLanguageModule.Handler

Deprecated.

 
hasUnitTests() - Method in class net.sourceforge.pmd.testframework.RuleTestRunner

Checks whether this test class has additionally unit test methods.

I
indexNodes(List<Node>, RuleContext) - Method in class net.sourceforge.pmd.test.lang.DummyLanguageModule.DummyRuleChainVisitor

Deprecated.

 
init() - Static method in class net.sourceforge.pmd.AbstractRuleSetFactoryTest

Setups the XML parser with validation.

inRegressionTestMode() - Static method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

Checks whether we are testing for regression problems only.

isIgnored(TestDescriptor) - Method in class net.sourceforge.pmd.testframework.RuleTestRunner
 
isRegressionTest() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
isUseAuxClasspath() - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
M
mvnWorkaround - Variable in class net.sourceforge.pmd.ant.AbstractAntTestHelper

Deprecated.

N
NAME - Static variable in class net.sourceforge.pmd.test.lang.DummyLanguageModule

Deprecated.

 
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.test.lang - package net.sourceforge.pmd.test.lang
 
net.sourceforge.pmd.test.lang.ast - package net.sourceforge.pmd.test.lang.ast
 
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

Deprecated.

 
ParserOptionsTestUtils - Class in net.sourceforge.pmd.lang
 
pathToTestScript - Variable in class net.sourceforge.pmd.ant.AbstractAntTestHelper
 
PmdRuleTst - Class in net.sourceforge.pmd.testframework
 
PmdRuleTst() - Constructor for class net.sourceforge.pmd.testframework.PmdRuleTst
 
PMDTestRunner - Class in net.sourceforge.pmd.testframework

A JUnit Runner, that combines the default

JUnit4

and our custom

RuleTestRunner

.

PMDTestRunner(Class<? extends SimpleAggregatorTst>) - Constructor for class net.sourceforge.pmd.testframework.PMDTestRunner
 
R
reinitializeRule(Rule) - Method in class net.sourceforge.pmd.testframework.RuleTst

Code to be executed if the rule is reinitialised.

RuleTestRunner - Class in net.sourceforge.pmd.testframework

A JUnit Runner, that executes all declared rule tests in the class.

RuleTestRunner(Class<? extends RuleTst>) - Constructor for class net.sourceforge.pmd.testframework.RuleTestRunner
 
RuleTst - Class in net.sourceforge.pmd.testframework

Advanced methods for test cases

RuleTst() - Constructor for class net.sourceforge.pmd.testframework.RuleTst
 
RuleViolationFactory() - Constructor for class net.sourceforge.pmd.test.lang.DummyLanguageModule.RuleViolationFactory

Deprecated.

 
run(RunNotifier) - Method in class net.sourceforge.pmd.testframework.PMDTestRunner
 
runChild(TestDescriptor, RunNotifier) - Method in class net.sourceforge.pmd.testframework.RuleTestRunner
 
runCPD(String...) - Method in class net.sourceforge.pmd.cli.BaseCPDCLITest
runPMDWith(String[]) - Method in class net.sourceforge.pmd.cli.BaseCLITest
runTest(int, String...) - Method in class net.sourceforge.pmd.cli.BaseCLITest
runTest(String...) - Method in class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

Returns the log output.

runTest(String[], String) - Method in class net.sourceforge.pmd.cli.BaseCLITest
runTest(String[], String, int) - Method in class net.sourceforge.pmd.cli.BaseCLITest
runTest(CPD.StatusCode, String...) - Method in class net.sourceforge.pmd.cli.BaseCPDCLITest

Deprecated.

 
runTest(PMD.StatusCode, String...) - Method in class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

 
runTest(TestDescriptor) - Method in class net.sourceforge.pmd.testframework.RuleTst

Deprecated.

runTestFromString(String, Rule, Report, LanguageVersion) - Method in class net.sourceforge.pmd.testframework.RuleTst

Deprecated.

runTestFromString(String, Rule, Report, LanguageVersion, boolean) - Method in class net.sourceforge.pmd.testframework.RuleTst

Deprecated.

runTestFromString(TestDescriptor, Rule, Report) - Method in class net.sourceforge.pmd.testframework.RuleTst

Deprecated.

runTests(Rule) - Method in class net.sourceforge.pmd.testframework.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.testframework.RuleTst

Run a set of tests defined in a XML test-data file.

runTests(TestDescriptor[]) - Method in class net.sourceforge.pmd.testframework.RuleTst

Deprecated.

S
setExpectedLineNumbers(List<Integer>) - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
setExpectedMessages(List<String>) - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
setNumberInDocument(int) - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
setProperties(Properties) - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
setRegressionTest(boolean) - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
setReinitializeRule(boolean) - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
setup() - Method in class net.sourceforge.pmd.cli.BaseCPDCLITest

Deprecated.

 
setUp() - Method in class net.sourceforge.pmd.ant.AbstractAntTestHelper
 
setUp() - Static method in class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

 
setUp() - Method in class net.sourceforge.pmd.testframework.PmdRuleTst
 
setUp() - Method in class net.sourceforge.pmd.testframework.RuleTst
 
setUp() - Method in class net.sourceforge.pmd.testframework.SimpleAggregatorTst

Configure the rule tests to be executed.

setUseAuxClasspath(boolean) - Method in class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
SimpleAggregatorTst - Class in net.sourceforge.pmd.testframework

Simple setup for a rule unit test, capable of testing multiple rules.

SimpleAggregatorTst() - Constructor for class net.sourceforge.pmd.testframework.SimpleAggregatorTst
 
sort(Sorter) - Method in class net.sourceforge.pmd.testframework.PMDTestRunner
 
SOURCE_FOLDER - Static variable in class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

 
sourceCode - Variable in class net.sourceforge.pmd.testframework.AbstractTokenizerTest

Deprecated.

 
systemErrRule - Variable in class net.sourceforge.pmd.AbstractRuleSetFactoryTest
 
systemErrRule - Variable in class net.sourceforge.pmd.ant.AbstractAntTestHelper

Deprecated.

systemErrRule - Variable in class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

 
systemOutRule - Variable in class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

 
T
teardown() - Method in class net.sourceforge.pmd.cli.BaseCPDCLITest

Deprecated.

 
tempFolder - Variable in class net.sourceforge.pmd.ant.AbstractAntTestHelper

Deprecated.

TERSE_NAME - Static variable in class net.sourceforge.pmd.test.lang.DummyLanguageModule

Deprecated.

 
TEST_OUPUT_DIRECTORY - Static variable in class net.sourceforge.pmd.cli.BaseCLITest

Deprecated.

 
testAllPMDBuiltInRulesMeetConventions() - Method in class net.sourceforge.pmd.AbstractRuleSetFactoryTest

Checks all rulesets of all languages on the classpath and verifies that all required attributes for all rules are specified.

TestDescriptor - Class in net.sourceforge.pmd.testframework
TestDescriptor() - Constructor for class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
TestDescriptor(String, String, int, Rule) - Constructor for class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
TestDescriptor(String, String, int, Rule, LanguageVersion) - Constructor for class net.sourceforge.pmd.testframework.TestDescriptor

Deprecated.

 
testDtd() - Method in class net.sourceforge.pmd.AbstractRuleSetFactoryTest

Verifies that all rulesets are valid XML according to the DTD.

testEqualsHashcode() - Method in class net.sourceforge.pmd.lang.ParserOptionsTest

Deprecated.

Verify that the equals and hashCode methods work as expected.

testFindVersionsForLanguageNameAndVersion() - Method in class net.sourceforge.pmd.AbstractLanguageVersionTest
testGetLanguageVersionForTerseName() - Method in class net.sourceforge.pmd.AbstractLanguageVersionTest
testOldRegisteredRulesets() - Method in class net.sourceforge.pmd.AbstractLanguageVersionTest

If a rulesets.properties file still exists, test it as well.

testReadWriteRoundTrip() - Method in class net.sourceforge.pmd.AbstractRuleSetFactoryTest

Reads and writes the rulesets to make sure, that no data is lost if the rulests are processed.

testRegisteredRulesets() - Method in class net.sourceforge.pmd.AbstractLanguageVersionTest

Makes sure, that for each language a "categories.properties" file exists.

testSuppressMarker() - Method in class net.sourceforge.pmd.lang.ParserOptionsTest

Deprecated.

SuppressMarker should be initially null and changeable.

testVersionsAreDistinct() - Method in class net.sourceforge.pmd.AbstractLanguageVersionTest
 
testXmlSchema() - Method in class net.sourceforge.pmd.AbstractRuleSetFactoryTest

Verifies that all rulesets are valid XML according to the xsd schema.

tokenizer - Variable in class net.sourceforge.pmd.testframework.AbstractTokenizerTest

Deprecated.

 
tokenizeTest() - Method in class net.sourceforge.pmd.testframework.AbstractTokenizerTest

Deprecated.

 
toString() - Method in class net.sourceforge.pmd.test.lang.ast.DummyNode

Deprecated.

V
validXPathClassNames - Variable in class net.sourceforge.pmd.AbstractRuleSetFactoryTest
 
verifyOptionsEqualsHashcode(ParserOptions, ParserOptions, ParserOptions, ParserOptions) - Static method in class net.sourceforge.pmd.lang.ParserOptionsTest

Deprecated.

verifyOptionsEqualsHashcode(ParserOptions, ParserOptions, ParserOptions, ParserOptions) - Static method in class net.sourceforge.pmd.lang.ParserOptionsTestUtils
visit(Rule, Node, RuleContext) - Method in class net.sourceforge.pmd.test.lang.DummyLanguageModule.DummyRuleChainVisitor

Deprecated.

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4