Hi,

some Unit Tests in the "Command Line Interface" test module fail when the 
system language is set to german (and propably russian)

The problem is that the messages of the exceptions from args4j get 
translated, but the unit tests expect english messages. args4j provides 
bundles for german and russian.

For example one problematic line is: assertContains("\"--invalid\" is not a 
valid option", err);
"is not a valid option" get's translated by args4j, so err doesn't contain 
the english phrase

The affected test cases are:
ClassInfoTest: should_print_usage_when_invalid_option_is_given
DumpTest: should_print_usage_when_no_argument_is_given
ExecInfoTest: should_print_usage_when_invalid_argument_is_given
InstrumentTest: should_print_usage_when_no_options_are_given
MergeTest: should_print_usage_when_no_options_are_given
ReportTest: should_print_usage_when_no_options_are_given
MainTest: should_print_usage_when_no_arguments_given

Not sure if this is a problem of JaCoCo or args4j, because it gives a 
translated message for getMessage, although there is a specific method to 
get a localized message: getLocalizedMessage



-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/00fdd674-11bd-463b-b94c-f8d2a200a7eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to