tim-group / test-driven-detectors4findbugs

Test-Driven Detectors For FindBugs. Utility project to ease the development of custom plugin detectors for FindBugs.
Other
17 stars 17 forks source link

BugMatcher not propagated by Detector --> Detector2 delegation method #17

Closed GrimmiMeloni closed 11 years ago

GrimmiMeloni commented 11 years ago

DetectorAssert features several "adaptor" style methods, which basically convert a Detector into a Detector2 and then delegate the actual logic to the Detector2 based implementation.

I found an occurence where the BugMatcher handed to

DetectorAssert.assertBugReported(...)

is not properly handed over.

I will attach a pull request.

GrimmiMeloni commented 11 years ago

added the pull request. But somehow github seems to have turned this into yet another issue.

If someone knows how to clean this up, please do.

The pull request is now tracked as issue #18

Grundlefleck commented 11 years ago

Fixed by pr #17

Thanks