You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2010/06/08 10:49:13 UTC

[jira] Resolved: (HARMONY-6545) [classlib][prefs]Clear up work of PreferencesTest fails

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

Mark Hindess resolved HARMONY-6545.
-----------------------------------

    Fix Version/s: 5.0M15
       Resolution: Fixed

Thanks.  I've applied your fix at r952571.  I removed tab characters from your changed lines (since we try to use only 4 space indentation in harmony with no tabs) and removed the commented out code (svn records history so we don't have to).

Please confirm (by closing this JIRA) that your patch has been applied as expected.


> [classlib][prefs]Clear up work of PreferencesTest fails
> -------------------------------------------------------
>
>                 Key: HARMONY-6545
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6545
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Chen Wang
>            Assignee: Mark Hindess
>            Priority: Minor
>             Fix For: 5.0M15
>
>         Attachments: HARMONY-6545.diff
>
>
> The error occurs when I run testImportPreferences() method in PreferencesTest.java with junit. If the node in xml files used by PreferencesTest class has been modified before the test case is run, the old node information in the xml files won't be cleared. So when I run the test case, I get a wrong result containg both the new changed node information and the old node information which should be deleted.
> The root cause of the problem is that the clear up work of the test case doesn't delete the old node information each time when the node is modified.

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