harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2205) [classlib][swing][test] unit test fails: j.s.text.PlainViewI18N_LayoutTest.testViewLayout
Date Thu, 16 Nov 2006 10:33:40 GMT
     [ 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

        

Mime
View raw message