harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4062) [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText
Date Wed, 06 Jun 2007 09:28:26 GMT
[classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText
-----------------------------------------------------------------------------------------

                 Key: HARMONY-4062
                 URL: https://issues.apache.org/jira/browse/HARMONY-4062
             Project: Harmony
          Issue Type: Bug
            Reporter: Leo Li


Here is a testcase:

public void test(){
                                          PropertyEditor propertyEditor = PropertyEditorManager
				.findEditor(Color.class);		
		propertyEditor.setValue(new Color(0,0,0));
		propertyEditor.setAsText("1,2,3");
		Color newColor = new Color(1, 2, 3);
		assertEquals(newColor, propertyEditor.getValue());
}

RI passes.
Harmony fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message