harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6545) [classlib][prefs]Clear up work of PreferencesTest fails
Date Tue, 08 Jun 2010 08:49:13 GMT

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


Mime
View raw message