Skip to content

Examples Validation: content is same in all for single Check #17177

@romani

Description

@romani

Main value that we put in all examples is that all java code looks same
and only comment are changing position.
See images at #13345

It would be awesome to have junit validation for it to ensure that all examples are same.

Quick idea:
We can do parse all exmples for Check by checkstyle AST printer (without comment AST Nodes) and make sure AST is same

any other ideas are welcome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions