Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-1866

[classlib][swing][test] j.s.t.StyleConstantsTest fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M11
    • Classlib
    • None
    • Novice

    Description

      From time to time unit test test javax.swing.text.StyleConstantsTest fails.
      The reason of failure is comparing of text representation of AttributeSet with a string, which is not robust since the order of attribute keys (which are used to generate string representation) may change, thus leading the test to fail.

      Attachments

        1. H1866-build.xml.patch
          0.8 kB
          Alexey A. Ivanov
        2. H1866-StyleConstantsTest.patch
          3 kB
          Alexey A. Ivanov
        3. H1866-StyleConstantsTest.patch
          3 kB
          Alexey A. Ivanov
        4. H1866-StyleConstantsTest.patch
          3 kB
          Alexey A. Ivanov

        Issue Links

          Activity

            People

              hindessm Mark Hindess
              aaivanov Alexey A. Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: