Peter Keller created CAMEL-7479:
-----------------------------------

             Summary: Test fails in non-English environments
                 Key: CAMEL-7479
                 URL: https://issues.apache.org/jira/browse/CAMEL-7479
             Project: Camel
          Issue Type: Bug
          Components: camel-jaxb, camel-test
         Environment: MacOS, Java 1.7.0_40, German language
            Reporter: Peter Keller


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
(v6.2#6252)

Reply via email to