Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
UTs should not use ROOT locale when they test violation/error message #3989
from #3896 and its PR.
Usage of ROOT in this cases will not do localization at all. It is not really a test for fully localized resources.
The reason of problem is that for this Tests using getCheckMessage from base test class(BaseCheckTestSupport), that do load of file as resource NOT as localized bundle. Checks to loading by ResourceBundle class that is why they are localized.
referenced this issue
Mar 13, 2017
Issue is assigned to @Luolc .
@Luolc , I pushed by draft/ugly experiment to fix - branch "i3896-locale-for-UTs" - https://github.com/checkstyle/checkstyle/tree/i3896-locale-for-UTs .