Menu

#1323 False positive case of UseAssertTrueInsteadOfAssertEquals

PMD-5.3.0
closed
None
PMD
3-Major
Bug
5.2.3
2015-04-01
2015-03-20
No

Using TestNG. When I call a method with a boolean parameter within a assertEquals that is statically imported, PMD gets confused.

I have attached a repro.

1 Attachments

Discussion

  • Andreas Dangel

    Andreas Dangel - 2015-03-26
    • status: open --> closed
    • assigned_to: Andreas Dangel
    • Milestone: New Tickets --> PMD-Next
     
  • Andreas Dangel

    Andreas Dangel - 2015-03-26

    Will be fixed with the next version.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.