checkstyle icon indicating copy to clipboard operation
checkstyle copied to clipboard

Add support of filtered violation messages to BDD Inputs

Open romani opened this issue 1 year ago • 0 comments

detected at https://github.com/checkstyle/checkstyle/pull/15452/files#r1705754697

We need to add support of verification of what violation was filtered.

consider https://github.com/checkstyle/checkstyle/blob/master/src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/parenpad/InputParenPadTryWithResourcesAndSuppression.java#L17

ideally we should have violation message at line try ( AutoCloseable a = null) {} // filtered violation to be something like try ( AutoCloseable a = null) {} // filtered violation 'is followed by whitespace'

romani avatar Aug 20 '24 12:08 romani