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:40:11 UTC

[jira] Assigned: (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 reassigned HARMONY-6545:
-------------------------------------

    Assignee: Mark Hindess

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