harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Dolgov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2580) [classlib][swing] javax.swing.JFileChooser.getName() returns class name instead of null
Date Mon, 11 Dec 2006 09:08:22 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2580?page=all ]

Pavel Dolgov updated HARMONY-2580:
----------------------------------

    Description: 
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());
    }
}


  was:
Test case:
--------------
import javax.swing.JFileChooser;

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());
    }
}



> [classlib][swing] javax.swing.JFileChooser.getName() returns class name instead of null
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2580
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2580
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>            Priority: Minor
>
> 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.
-
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