Skip to content

Issue #367: Tests failed on non-English Windows#380

Open
Brijeshthummar02 wants to merge 1 commit intocheckstyle:masterfrom
Brijeshthummar02:testsfailed
Open

Issue #367: Tests failed on non-English Windows#380
Brijeshthummar02 wants to merge 1 commit intocheckstyle:masterfrom
Brijeshthummar02:testsfailed

Conversation

@Brijeshthummar02
Copy link
Copy Markdown
Contributor

Issue #367

@Brijeshthummar02
Copy link
Copy Markdown
Contributor Author

@romani ping

Copy link
Copy Markdown
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

items:

testConfigWithEnglishLocale(configPath);
}
finally {
Locale.setDefault(defaultLocale);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please sentup ENGLISH locale of locale of test execution for all, at the beging, find how it was done checkstyle project.

@MiriyalaJayanth-19
Copy link
Copy Markdown
Contributor

@Brijeshthummar02 can i take up the issue.

@Brijeshthummar02
Copy link
Copy Markdown
Contributor Author

@Brijeshthummar02 can i take up the issue.

I am working on it.

@romani
Copy link
Copy Markdown
Member

romani commented Apr 7, 2026

@Brijeshthummar02
Copy link
Copy Markdown
Contributor Author

@Brijeshthummar02
Copy link
Copy Markdown
Contributor Author

@romani

Done, updated this as requested.

I set English locale once for all tests at execution start (not inside each test), using EnglishLocaleTestExecutionExtension with setup in beforeAll and restore in afterAll.

It’s applied globally via JUnit extension auto-detection (META-INF/services/org.junit.jupiter.api.extension.Extension + junit-platform.properties), and I removed the duplicate locale handling from AbstractPatchFilterEvaluationTest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants