Skip to content

Update Filters Exampes to use verifyFilterWithInlineConfigParser #16738

@romani

Description

@romani

Good example of expected update
https://github.com/checkstyle/checkstyle/pull/16621/files

We need the same update for all Filters at https://github.com/checkstyle/checkstyle/tree/master/src/xdocs-examples/java/com/puppycrawl/tools/checkstyle/filters

Please send separate PRs for each Filter.

  • SeverityMatchFilterExamplesTest.java
  • SuppressWarningsFilterExamplesTest.java
  • SuppressWithNearbyCommentFilterExamplesTest.java
  • SuppressWithNearbyTextFilterExamplesTest.java
  • SuppressWithPlainTextCommentFilterExamplesTest.java
  • SuppressionCommentFilterExamplesTest.java
  • SuppressionSingleFilterExamplesTest.java
  • SuppressionXpathSingleFilterExamplesTest.java

if required, it is ok to create new versions of verifyFilterWithInlineConfigParser to match what we need to validate filtered.
Fiter Exampes that use verifyWithInlineConfigParserSeparateConfigAndTarget might need new method.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions