You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tharindu Mathew (JIRA)" <ji...@apache.org> on 2008/08/16 20:43:46 UTC

[jira] Updated: (HARMONY-5950) Fixes problems that failed DefaultEditorKit_Actions_MultithreadedTest

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

Tharindu Mathew updated HARMONY-5950:
-------------------------------------

    Attachment: DefaultEditorKit_Actions_MultithreadedTestFix.patch

The testSelectWordActionPerformed has the following assertion:

assertEquals("resulted string", "  ", c.getSelectedText()); //2 whitespaces

This is not possible since the com.ibm.icu.text.BreakIterator (in TextUtils-> getWordStart method) recognizes the next word by a space which should be the case. Therefore, this was corrected to check for one whitespace.

> Fixes problems that failed DefaultEditorKit_Actions_MultithreadedTest
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-5950
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5950
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tharindu Mathew
>         Attachments: DefaultEditorKit_Actions_MultithreadedTestFix.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.