RFR: 8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program

Abhishek Kumar abhiscxk at openjdk.org
Thu Mar 14 10:25:38 UTC 2024


On Tue, 12 Mar 2024 22:55:02 GMT, Phil Race <prr at openjdk.org> wrote:

> java/awt/List/SetFontTest/SetFontTest.html is a manual applet-based test.
> It can be converted to a main program test using PassFailJFrame

test/jdk/java/awt/List/SetFontTest.java line 42:

> 40: public class SetFontTest {
> 41: 
> 42:     static final String INSTRUCTIONS =

Looks cleaner with `Text Blocks`.

""" 
                    1) Click on the 'Enlarge font' button to enlarge font of the list.
                    2) If you see that the rows of the list overlap one another
                    then the test failed. Otherwise, go to step 3.
                    3) Click on the 'Change mode' button to set multiple-selection mode.
                    4) If you see that the rows of the list overlap one another
                    then the test failed. Otherwise, the test passed.""";

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18255#discussion_r1524600042


More information about the client-libs-dev mailing list