Skip to content

Tests failed on non-English Windows. #367

Open
@asakaxgit

Description

@asakaxgit

Most of tests failed due to mis-detection of locale.
Many tests of FilterTest are strongly relied on Language of occuring messages.
Expected messages in expected.txt are written in English.
So we need to fix tests to fixed locale as English, or respect running machine's language.

%FAILED 3,testDefaultStrategy(com.puppycrawl.tools.checkstyle.filters.SuppressionJavaPatchFilterTest)
%EXPECTS
C:\Users\ASakashita\source\repos\patch-filters\src\test\resources\com\puppycrawl\tools\checkstyle\filters\suppressionjavapatchfilter\DefaultStrategy\Test.java:16:5: Init blocks, constructors, fields and methods should be before inner types.
%EXPECTE
%ACTUALS
C:\Users\ASakashita\source\repos\patch-filters\src\test\resources\com\puppycrawl\tools\checkstyle\filters\suppressionjavapatchfilter\DefaultStrategy\Test.java:16:5: 初期化ブロック、コンストラクター、フィールド、メソッドは内部型の前にある必要があります。
%ACTUALE
%TRACES 

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions