[TestBug] LocalDateTimeStringConverterTest fails with German Locale

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: jfx17
    • Component/s: javafx
    • generic
    • generic

      Local test failure is observed with German Locale

      LocalDateTimeStringConverterTest.testChronologyConsistency, top of failure trace

      org.junit.ComparisonFailure: expected:<...y, January 12, 60 Sh[ō]wa, 12:34:56 PM> but was:<...y, January 12, 60 Sh[o]wa, 12:34:56 PM>
          at org.junit.Assert.assertEquals(Assert.java:123)
          at org.junit.Assert.assertEquals(Assert.java:145)
          at test.javafx.util.converter.LocalDateTimeStringConverterTest.testChronologyConsistency(LocalDateTimeStringConverterTest.java:160)

      It looks like some problem with assumptions of Locale-dependent state.

            Assignee:
            Andy Goryachev
            Reporter:
            Ajit Ghaisas
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: