Skip to content

Commit

Permalink
Ignore some design rules for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Mar 30, 2024
1 parent 7fd5b71 commit 9ce1325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/pmd-tests-configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<exclude name="JUnitTestContainsTooManyAsserts"/>
<exclude name="JUnitTestsShouldIncludeAssert"/>
<exclude name="LiteralsFirstInComparisons"/>
<exclude name="LooseCoupling"/>
<exclude name="UnusedPrivateMethod"/>
</rule>
<rule ref="category/java/codestyle.xml">
Expand Down Expand Up @@ -66,7 +67,6 @@
<exclude name="ExcessiveParameterList"/>
<exclude name="FinalFieldCouldBeStatic"/>
<exclude name="LawOfDemeter"/>
<exclude name="LooseCoupling"/>
<exclude name="LoosePackageCoupling"/>
<exclude name="SignatureDeclareThrowsException"/>
<exclude name="SimplifyBooleanReturns"/>
Expand Down

0 comments on commit 9ce1325

Please sign in to comment.