Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 61945 invoked from network); 4 Jul 2008 13:22:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jul 2008 13:22:36 -0000 Received: (qmail 98176 invoked by uid 500); 4 Jul 2008 13:22:37 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 98157 invoked by uid 500); 4 Jul 2008 13:22:37 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 98148 invoked by uid 99); 4 Jul 2008 13:22:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2008 06:22:37 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2008 13:21:54 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DFBDA234C150 for ; Fri, 4 Jul 2008 06:21:45 -0700 (PDT) Message-ID: <1858815812.1215177705914.JavaMail.jira@brutus> Date: Fri, 4 Jul 2008 06:21:45 -0700 (PDT) From: "Robert Hyerle (JIRA)" To: notifications@ant.apache.org Subject: [jira] Closed: (IVY-851) Updated junit test "XmlReportWriterTest.java" unreliable/fails: unmappable character for encoding UTF8 In-Reply-To: <1236792455.1214922285157.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-851?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Robert Hyerle closed IVY-851. ----------------------------- Checked out new revision, performed "ant clean", then "ant" to re-compile a= nd run tests. Javac warning no longer present and unit test passes. > Updated junit test "XmlReportWriterTest.java" unreliable/fails: unmappabl= e character for encoding UTF8 > -------------------------------------------------------------------------= ----------------------------- > > Key: IVY-851 > URL: https://issues.apache.org/jira/browse/IVY-851 > Project: Ivy > Issue Type: Bug > Components: Core > Affects Versions: 2.0-RC1 > Environment: Fedora 9; i386; Sun jdk1.5.0_15; LANG=3Den_US.utf8 > Reporter: Robert Hyerle > Priority: Minor > Fix For: 2.0-RC1 > > > Checked out version 671603, ran "ant" with the following results: > 1) when building, XmlReportWriterTest.java gets the following warning: > [javac] /home/hyerle/usr/ivy/live/ivy/test/java/org/apache/ivy/plugin= s/report/XmlReportWriterTest.java:74: warning: unmappable character for enc= oding UTF8 > [javac] String expectedOrg =3D "organisation=3D\"sp=EF=BF=BDc= ial\""; > [javac] > 2) when running the junit tests, one gets the following failure: > [junit] Running org.apache.ivy.plugins.report.XmlReportWriterTest > [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 1,626 sec > [junit] Test org.apache.ivy.plugins.report.XmlReportWriterTest FAILED > This is reported as: > XML doesn't contain the organisation > junit.framework.AssertionFailedError: XML doesn't contain the organisatio= n > at org.apache.ivy.plugins.report.XmlReportWriterTest.testWriteOrigin(XmlR= eportWriterTest.java:80) > This is presumably because the mapping of the compiled string "special" (= accent on the 'e') without a valid mapping does not match the contents of t= he test report ("test/repositories/1/special-encoding-root-ivy.xml"). > This test was checked in on 29-may as revision 661275 by gscokart. > It is unclear to me if the test is broken for certain configurations, or = only certain LANG configurations are supported, or the original bug (IVY-81= 6) was never completely fixed. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.