-
Bug
-
Resolution: Unresolved
-
P4
-
25
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.
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.
- relates to
-
JDK-8356803 Test TextLayout/TestControls fails on windows & linux: line and paragraph separator show non-zero advance
-
- Open
-