Create an automated version of TextLayout/TestControls

XMLWordPrintable

    • 2d
    • b26

      The java/awt/font/TextLayout/TestControls.java test can be partially automated.

      The test paints different control characters and their widths. The width has to be zero.

      The fact whether the width of a control character is zero or not is easily verifiable in an automated test.

      If the TextLayout/TestControls.java test had been automated, we would've noticed the problem in JDK-8356803 sooner.

      The manual test can exist along side to verify that all the characters are rendered as expected.

            Assignee:
            Daniel Gredler
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: