harmony-commits mailing list archives

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

Date

Tue, 08 Jun 2010 12:30:11 GMT

[ https://issues.apache.org/jira/browse/HARMONY-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876660#action_12876660
]
Hudson commented on HARMONY-6545:
---------------------------------
Integrated in Harmony-select-1.5-head-linux-x86_64 #22 (See [http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/22/])
Applying patch from "[#HARMONY-6545] [classlib][prefs] Clear up work of
PreferencesTest fails". Then removed tabs and commented out code.
> [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.