Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8249618 normalize usage of @ignore and ProblemList
  3. JDK-8249689

java/awt/font/TextLayout/ use @ignore w/o bug id

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 11, 15, 16
    • client-libs

      java/awt/font/TextLayout/TestTibetan.java, TestOldHangul.java, VariationSelectorTest.java, and TestVS.java have '@ignore Requires a special font installed'; canonically, @ignore should be followed by the id of the bug which describes the problem and will be used to eventually fix it.

      the more appropriate solutions for a situation when tests have special requirements:
       - use `@requires` to check that the necessary conditions are met. in this case, this might including the creation of new at-requires property (in /test/lib/jtreg-ext/requires/VMProps.java or better a separate EnvProps class) which check that the fonts are installed;
       - using custom check login in tests and throwing jtreg.SkippedException;
       - using '/manual' jtreg option, which will exclude tests from automated runs, yet will still be possible for "manual" execution by direct jtreg invocation (and I believe even thru run-test framework).

            shurailine Aleksandre Iline
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: