harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-3351) [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI
Date Wed, 13 Jun 2007 01:43:26 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Qiu closed HARMONY-3351.
-----------------------------


Thanks Alexey .
Verified by Sean.

> [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null
rather than get "" in RI
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3351
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3351
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Ubuntu
>            Reporter: Sean Qiu
>            Assignee: Alexey Petrenko
>            Priority: Minor
>
> After set the title of Fram to null, invoking the getTitle() will get null in harmony
while RI will get empty String "".
> >>>>>>>>>>>
> public class FrameRTest extends TestCase {
>     /**
>      * @tests java.awt.Frame#setTitle(String)
>      */
>     public void test_setTitleLjava_lang_String() {
>         Frame frame = new Frame();
>         frame.setTitle(null);
>         assertEquals("", frame.getTitle());
>     }
> }
> >>>>>>>>>>>
> Result
> RI: Pass
> Hr: Fail

-- 
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