<Swing Dev> [12] RFR [TEST][JDK-8210055] Enable different look and feel tests in SwingSet3 demo tests
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Sep 17 21:41:41 UTC 2018
Hi, Muneer.
Can you please take a look to this test:
open/test/jdk/sanity/client/SwingSet/src/SwingSet2DemoTest.java
On macOS before the fix, this test shown the frame for long period of
time without any actions and then completes w/o errors. After the fix it
fails because of timeout.
On 16/09/2018 22:46, Muneer Kolarkunnu wrote:
> 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/
> <http://cr.openjdk.java.net/%7Eakolarkunnu/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
>
--
Best regards, Sergey.
More information about the swing-dev
mailing list