Update (old) changelog for new rules with PMD 5.5.1

This commit is contained in:
Andreas Dangel
2016-07-28 19:44:04 +02:00
parent 5207d48bb2
commit 3e43fd8eb1
3 changed files with 22 additions and 2 deletions

View File

@ -9,7 +9,7 @@
</description>
<rule name="ApexUnitTestClassShouldHaveAsserts"
since="2.0"
since="5.5.1"
message="Apex unit tests should System.assert() or assertEquals() or assertNotEquals()"
class="net.sourceforge.pmd.lang.apex.rule.apexunit.ApexUnitTestClassShouldHaveAsserts"
externalInfoUrl="${pmd.website.baseurl}/rules/apex/apexunit.html#ApexUnitTestClassShouldHaveAsserts">
@ -33,7 +33,7 @@ public class Foo {
</example>
</rule>
<rule name="ApexUnitTestShouldNotUseSeeAllDataTrue"
since="2.0"
since="5.5.1"
message="Apex unit tests should not use @isTest(seeAllData = true)"
class="net.sourceforge.pmd.lang.apex.rule.apexunit.ApexUnitTestShouldNotUseSeeAllDataTrue"
externalInfoUrl="${pmd.website.baseurl}/rules/apex/apexunit.html#ApexUnitTestShouldNotUseSeeAllDataTrue">

View File

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<ruleset name="551"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<description>
This ruleset contains links to rules that are new in PMD v5.5.1
</description>
<rule ref="rulesets/apex/apexunit.xml/ApexUnitTestClassShouldHaveAsserts" />
<rule ref="rulesets/apex/apexunit.xml/ApexUnitTestShouldNotUseSeeAllDataTrue" />
</ruleset>

View File

@ -6,6 +6,11 @@ http://sourceforge.net/projects/pmd/files/pmd/
## 27-July-2016 - 5.5.1
**New Rules:**
* New rules for Salesforce.com Apex:
* apex-apexunit: ApexUnitTestClassShouldHaveAsserts, ApexUnitTestShouldNotUseSeeAllDataTrue
**Pull Requests:**
* [#101](https://github.com/pmd/pmd/pull/101): \[java] Improve multithreading performance: do not lock on classloader