[
https://issues.apache.org/jira/browse/CAMEL-7479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Keller updated CAMEL-7479:
--------------------------------
Description:
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()}}.
was:
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()}}.
> 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)