Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7479

Test fails in non-English environments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.12.4, 2.13.2, 2.14.0
    • camel-jaxb
    • None
    • MacOS, Java 1.7.0_40, German language

    • Unknown

    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()).

      Attachments

        Activity

          People

            gzurowski Gregor Zurowski
            Peter Keller Peter Keller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: