camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor Zurowski (JIRA)" <>
Subject [jira] [Commented] (CAMEL-7479) Test fails in non-English environments
Date Thu, 05 Jun 2014 04:54:02 GMT


Gregor Zurowski commented on CAMEL-7479:

Fix successfully tested by running unit tests with languages en, de, sv, zh and using the
following Maven configuration:

      <argLine>-Duser.language=de</argLine> <!-- replace language code here

> Test fails in non-English environments
> --------------------------------------
>                 Key: CAMEL-7479
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jaxb, camel-test
>         Environment: MacOS, Java 1.7.0_40, German language
>            Reporter: Peter Keller
>            Assignee: Gregor Zurowski
> Some Java exception messages are language specific and JUnit tests evaluating theses
messages fail in a non-English environment.
> Such assertions are done in {{JaxbDataFormatSchemaValidationSpringTest}} and {{JaxbDataFormatSchemaValidationTest}}:
> * The assertion "Invalid content was found" fails for the German message "Ungültiger
Content wurde beginnend mit Element "age" gefunden" ({{#testMarshallWithValidationException()}})
> * The assertion "The content of element 'person' is not complete" fails for the German
message "Content des Elements "person" ist nicht vollständig" ({{#testUnmarshallWithValidationException()}}).

This message was sent by Atlassian JIRA

View raw message