You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey A. Ivanov (JIRA)" <ji...@apache.org> on 2006/11/16 11:02:37 UTC

[jira] Created: (HARMONY-2205) [classlib][swing][test] unit test fails: j.s.text.PlainViewI18N_LayoutTest.testViewLayout

[classlib][swing][test] unit test fails: j.s.text.PlainViewI18N_LayoutTest.testViewLayout
-----------------------------------------------------------------------------------------

                 Key: HARMONY-2205
                 URL: http://issues.apache.org/jira/browse/HARMONY-2205
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey A. Ivanov


Unit test j.s.text.PlainViewI18N_LayoutTest.testViewLayout() fails:

testViewLayout(javax.swing.text.PlainViewI18N_LayoutTest)
junit.framework.AssertionFailedError: Start expected:<6> but was:<2>
	at javax.swing.text.PlainViewI18N_LayoutTest.testViewLayout(PlainViewI18N_LayoutTest.java:88)


It fails due to incomplete support for bidirectional text, that is bidi-level of text runs is not processed properly. To be precise the layout is incorrect where bidi-level is greater or equal to 2.

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

        

[jira] Updated: (HARMONY-2205) [classlib][swing][test] unit test fails: j.s.text.PlainViewI18N_LayoutTest.testViewLayout

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2205?page=all ]

Alexey A. Ivanov updated HARMONY-2205:
--------------------------------------

    Attachment: HTest2205.java
                Harmony.png
                RI.png

This test application shows the difference in rendering.
The Hebrew character runs are to be turned around numbers in text:

In memory the string looks like this "ab \u05DC \u05DD 12 \u05DE \u05DF cd"
but it is to be rendered like "ab \u05DF \u05DE 12 \u05DD \u05DC cd".
(I added spaces in the string for readability.)

> [classlib][swing][test] unit test fails: j.s.text.PlainViewI18N_LayoutTest.testViewLayout
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2205
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2205
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Attachments: Harmony.png, HTest2205.java, RI.png
>
>
> Unit test j.s.text.PlainViewI18N_LayoutTest.testViewLayout() fails:
> testViewLayout(javax.swing.text.PlainViewI18N_LayoutTest)
> junit.framework.AssertionFailedError: Start expected:<6> but was:<2>
> 	at javax.swing.text.PlainViewI18N_LayoutTest.testViewLayout(PlainViewI18N_LayoutTest.java:88)
> It fails due to incomplete support for bidirectional text, that is bidi-level of text runs is not processed properly. To be precise the layout is incorrect where bidi-level is greater or equal to 2.

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

        

[jira] Commented: (HARMONY-2205) [classlib][swing][test] unit test fails: j.s.text.PlainViewI18N_LayoutTest.testViewLayout

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2205?page=comments#action_12450330 ] 
            
Alexey A. Ivanov commented on HARMONY-2205:
-------------------------------------------

Currently this test is in exclude list.

> [classlib][swing][test] unit test fails: j.s.text.PlainViewI18N_LayoutTest.testViewLayout
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2205
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2205
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>
> Unit test j.s.text.PlainViewI18N_LayoutTest.testViewLayout() fails:
> testViewLayout(javax.swing.text.PlainViewI18N_LayoutTest)
> junit.framework.AssertionFailedError: Start expected:<6> but was:<2>
> 	at javax.swing.text.PlainViewI18N_LayoutTest.testViewLayout(PlainViewI18N_LayoutTest.java:88)
> It fails due to incomplete support for bidirectional text, that is bidi-level of text runs is not processed properly. To be precise the layout is incorrect where bidi-level is greater or equal to 2.

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