harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Krivenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2580) [classlib][swing] javax.swing.JFileChooser.getName() returns class name instead of null
Date Tue, 27 Feb 2007 11:45:05 GMT

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

Sergey Krivenko updated HARMONY-2580:
-------------------------------------

    Attachment: Harmony-2580-JFileChooserTest.patch

A patch to JFileChooserTest

> [classlib][swing] javax.swing.JFileChooser.getName() returns class name instead of null
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2580
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2580
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>            Priority: Minor
>         Attachments: Harmony-2580-DefaultTableCellRenderer.patch, Harmony-2580-JFileChooser.patch,
Harmony-2580-JFileChooserTest.patch
>
>
> The same result for javax.swing.table.DefaultTableCellRenderer
> Test case:
> --------------
> import javax.swing.JFileChooser;
> import javax.swing.table.DefaultTableCellRenderer;
> import junit.framework.TestCase;
> public class TheTest extends TestCase {
>     public static void main(String args[]) {
>         junit.textui.TestRunner.run(TheTest.class);
>     }
>     public void testcase1() {
>         JFileChooser fc = new JFileChooser();
>         assertNull(fc.getName());
>     }
>     public void testcase2() {
>         DefaultTableCellRenderer cr = new DefaultTableCellRenderer();
>         assertNull(cr.getName());
>     }
> }

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