Improve usage of test/jdk/java/text/testlib/TestUtils.java locale methods

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 27
    • Affects Version/s: 26
    • Component/s: core-libs
    • b01

      The internal test class provides methods which are utilities for checking locale-dependent attributes.

      i18n tests use these methods to determine if they should skip a test for a given locale. If so, these tests simply print a message to output and return. There is no obvious indication that a test was skipped, and you have to manually search through the standard output stream.

      It would be better to either skip or abort them, which would improve diagnostics. E.g.

      [ JUnit Tests: found 1189, started 1189, succeeded 1185, failed 0, aborted 4, skipped 0]

            Assignee:
            Justin Lu
            Reporter:
            Justin Lu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: