[ http://issues.apache.org/jira/browse/HARMONY-1377?page=comments#action_12432586 ]
Alexey A. Ivanov commented on HARMONY-1377:
-------------------------------------------
Thank you, Mark.
Sorry, I forgot about the test exclusion.
> [classlib][swing][test] unit test j.s.t.JTextComponentTest.testSetGetColors fails
> ---------------------------------------------------------------------------------
>
> Key: HARMONY-1377
> URL: http://issues.apache.org/jira/browse/HARMONY-1377
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexey A. Ivanov
> Assigned To: Mark Hindess
> Attachments: JTestComponentTest-1377.patch
>
>
> Unit test j.s.t.JTextComponentTest.testSetGetColors fails:
> javax.swing.text.JTextComponentTest
> testSetGetColors(javax.swing.text.JTextComponentTest)
> junit.framework.AssertionFailedError: expected:<java.awt.Color[r=204,g=204,b=255]>
but was:<javax.swing.plaf.ColorUIResource[r=192,g=224,b=255]>
> <snip>
> at javax.swing.text.JTextComponentTest.testSetGetColors(JTextComponentTest.java:574)
> <snip>
> This is bug in test: color values should not be hard-coded, they should be fetched from
the UIManager.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|