Looks fine.
On 07/09/2018 00:13, Muneer Kolarkunnu wrote:
Hi All,
Please review the fix to add support for testing for all the available
look and feels for the TextFieldDemoTest.
Task: https://bugs.openjdk.java.net/browse/JDK-8210056
Webrev Link:http://cr.openjdk.java.net/~akolarkunnu/8210056/webrev.00/
<http://cr.openjdk.java.net/%7Eakolarkunnu/8210056/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 this test directly on different
look and feels.
Issues:
In MotifLookAndFeel it was failing because the ‘passwords not match’
color is not white.
In NimbusLookAndFeel it was failing because the
password1.getBackground() returns javax.swing.plaf.nimbus.DerivedColor
object.
Please see the bug description for the exception stack trace.
Regards,
Muneer
--
Best regards, Sergey.