You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a french system (LANG FR_fr) and I got into trouble trying to run tests on the Compiler project. The test messages are compared against localized message, therefore making test case fail.
Example in ASPrrivateConstructorTests, test testConstructorMustBePublicProblem_withInternalConstructor_andAllowPrivateConstructorsDisabled
[ERROR] ASPrivateConstructorTests.testConstructorMustBePublicProblem_withInternalConstructor_andAllowPrivateConstructorsDisabled:110->ASFeatureTestsBase.compileAndExpectErrors:175
Expected: is "A constructor can only be declared public\n"
got: "Un constructeur ne peut être déclaré que public.\n"
This can be easily fix by setting this variable to EN_us, but maybe this should be a default in the test configuration.
I have tried adding configuration to the maven-surefire-plugin without success. What I have tried so far (in compiler/pom.xml) :
I am using a french system (LANG FR_fr) and I got into trouble trying to run tests on the Compiler project. The test messages are compared against localized message, therefore making test case fail.
Example in
ASPrrivateConstructorTests
, testtestConstructorMustBePublicProblem_withInternalConstructor_andAllowPrivateConstructorsDisabled
This can be easily fix by setting this variable to EN_us, but maybe this should be a default in the test configuration.
I have tried adding configuration to the
maven-surefire-plugin
without success. What I have tried so far (incompiler/pom.xml
) :and
and
Maybe there is something that I am missing here.
The text was updated successfully, but these errors were encountered: