Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8356812

Create an automated version of TextLayout/TestControls

XMLWordPrintable

    • 2d

      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.

            dgredler Daniel Gredler
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: