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.
Base test class to verify the language's rulesets.
Constructor used when a module that depends on another module wants to filter out the dependee's rulesets.
Deprecated.
Add new XML tests associated with the rule to the test suite.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Returns the current temporary file.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Find a rule in a certain ruleset by name todo make this static
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Gets all configured rules.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Checks whether this test class has additionally unit test methods.
Deprecated.
Setups the XML parser with validation.
Deprecated.
Checks whether we are testing for regression problems only.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
A JUnit Runner, that combines the default
JUnit4
and our custom
RuleTestRunner
.
Code to be executed if the rule is reinitialised.
A JUnit Runner, that executes all declared rule tests in the class.
Advanced methods for test cases
Deprecated.
Deprecated.
Returns the log output.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Run a set of tests defined in an XML test-data file for a rule.
Run a set of tests defined in a XML test-data file.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Configure the rule tests to be executed.
Deprecated.
Simple setup for a rule unit test, capable of testing multiple rules.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Checks all rulesets of all languages on the classpath and verifies that all required attributes for all rules are specified.
Deprecated.
Deprecated.
Deprecated.
Verifies that all rulesets are valid XML according to the DTD.
Deprecated.
Verify that the equals and hashCode methods work as expected.
If a rulesets.properties file still exists, test it as well.
Reads and writes the rulesets to make sure, that no data is lost if the rulests are processed.
Makes sure, that for each language a "categories.properties" file exists.
Deprecated.
SuppressMarker should be initially null and changeable.
Verifies that all rulesets are valid XML according to the xsd schema.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
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