<Swing Dev> [12] RFR [TEST][JDK-8210055] Enable different look and feel tests in SwingSet3 demo tests
Muneer Kolarkunnu
abdul.kolarkunnu at oracle.com
Mon Sep 17 05:46:04 UTC 2018
Hi All,
Please review the fix to add support for testing for all the available look and feels for the DialogDemoTest,WindowDemoTest and SwingSet2DemoTest.
Task: https://bugs.openjdk.java.net/browse/JDK-8210055
Webrev Link: http://cr.openjdk.java.net/~akolarkunnu/8210055/webrev.00/
Summary: We use "availableLookAndFeels" dataProvider from TestHelpers class to run the test iteratively using all the available look and feels.
But there were some issues while running these tests directly on different look and feels.
Issues:
SwingSet2DemoTest: In SwingSet 2 application, it was creating some menus only once, because of that removed check in the review. For different look and feel tests it will be loading application multiple times, but some menus were not getting created.
DialogDemoTest and WindowDemoTest: Added isShown() check to get exact active Window for each look and feel test.
Please see the bug description for the exception stack traces.
Regards,
Muneer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180916/7acbad73/attachment.html>
More information about the swing-dev
mailing list