Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 10535 invoked from network); 8 Jun 2010 07:31:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jun 2010 07:31:38 -0000 Received: (qmail 74007 invoked by uid 500); 8 Jun 2010 07:31:38 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 73983 invoked by uid 500); 8 Jun 2010 07:31:38 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 73976 invoked by uid 99); 8 Jun 2010 07:31:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 07:31:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 07:31:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o587VEmx025858 for ; Tue, 8 Jun 2010 07:31:14 GMT Message-ID: <29417109.21111275982274234.JavaMail.jira@thor> Date: Tue, 8 Jun 2010 03:31:14 -0400 (EDT) From: "Chen Wang (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-6545) [classlib][prefs]Clear up work of PreferencesTest fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [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 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.