<Swing Dev> [12] RFR [TEST][JDK-8210056] Enable different look and feel tests in SwingSet3 demo test TextFieldDemoTest
    Muneer Kolarkunnu 
    abdul.kolarkunnu at oracle.com
       
    Fri Sep  7 07:13:46 UTC 2018
    
    
  
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/
 
 
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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180907/ead1d7f0/attachment.html>
    
    
More information about the swing-dev
mailing list