You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/09/04 15:23:23 UTC
[jira] Resolved: (HARMONY-1377) [classlib][swing][test] unit test
j.s.t.JTextComponentTest.testSetGetColors fails
[ http://issues.apache.org/jira/browse/HARMONY-1377?page=all ]
Mark Hindess resolved HARMONY-1377.
-----------------------------------
Resolution: Fixed
Applied in r440068. (And test exclusion removed). Please confirm that this has been done as expected.
> [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