2016-06-09 09:55:12 +10:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset name="Custom ruleset (for tests)"
|
2019-10-14 16:00:19 +02:00
|
|
|
xmlns="http://pmd.sf.net/ruleset/1.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
|
|
|
|
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
|
|
|
|
<description>
|
|
|
|
Rules for the test harness code aka "androidTest" and "test".
|
|
|
|
</description>
|
|
|
|
|
|
|
|
<!-- ideally these would be promoted to rules.xml -->
|
|
|
|
<rule ref="category/java/bestpractices.xml/ConstantsInInterface"/>
|
|
|
|
<rule ref="category/java/bestpractices.xml/UseCollectionIsEmpty"/>
|
|
|
|
<rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingMethodName"/>
|
|
|
|
<rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingTypeName"/>
|
2016-06-09 09:55:12 +10:00
|
|
|
|
|
|
|
</ruleset>
|