harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2573) [classlib][swing] javax.swing.JEditorPane.isFocusCycleRoot() returns false while RI returns true
Date Mon, 05 Feb 2007 20:25:06 GMT

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

Vasily Zakharov updated HARMONY-2573:
-------------------------------------

    Attachment: Harmony-2573-Make.patch
                Harmony-2573-Test.patch
                Harmony-2573-Fix.patch

Thanks, Alexander, that resolved the problem.

Fix and test patches attached.

Also attached a make patch to remove javax/swing/JEditorPaneTest from make/exclude.common


> [classlib][swing] javax.swing.JEditorPane.isFocusCycleRoot() returns false while RI returns
true
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2573
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2573
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>            Priority: Minor
>         Attachments: Harmony-2573-Fix.patch, Harmony-2573-Make.patch, Harmony-2573-Test.patch
>
>
> Test case:
> --------------
> import javax.swing.JEditorPane;
> import junit.framework.TestCase;
> public class TheTest extends TestCase {
>     public static void main(String args[]) {
>         junit.textui.TestRunner.run(TheTest.class);
>     }
>     public void testcase1() {
>         JEditorPane ep = new JEditorPane();
>         assertTrue(ep.isFocusCycleRoot());
>     }
> }
> Harmony output:
> -----------------
> .F
> Time: 1.262
> There was 1 failure:
> 1) testcase1(TheTest)junit.framework.AssertionFailedError
> 	at TheTest.testcase1(TheTest.java:13)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 	at TheTest.main(TheTest.java:8)
> FAILURES!!!
> Tests run: 1,  Failures: 1,  Errors: 0

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