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

Test fails in non-English environments

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.4, 2.13.2, 2.14.0
    • Component/s: camel-jaxb
    • Labels:
      None
    • Environment:

      MacOS, Java 1.7.0_40, German language

    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: