harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1377) [classlib][swing][test] unit test j.s.t.JTextComponentTest.testSetGetColors fails
Date Mon, 04 Sep 2006 12:09:22 GMT
[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


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

        

Mime
View raw message