You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Dolgov (JIRA)" <ji...@apache.org> on 2006/12/11 10:08:22 UTC
[jira] Updated: (HARMONY-2580) [classlib][swing]
javax.swing.JFileChooser.getName() returns class name instead of null
[ 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