Return-Path: X-Original-To: apmail-creadur-dev-archive@www.apache.org Delivered-To: apmail-creadur-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80761D69A for ; Sun, 16 Sep 2012 17:04:38 +0000 (UTC) Received: (qmail 60992 invoked by uid 500); 16 Sep 2012 17:04:38 -0000 Delivered-To: apmail-creadur-dev-archive@creadur.apache.org Received: (qmail 60924 invoked by uid 500); 16 Sep 2012 17:04:37 -0000 Mailing-List: contact dev-help@creadur.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@creadur.apache.org Delivered-To: mailing list dev@creadur.apache.org Received: (qmail 60914 invoked by uid 99); 16 Sep 2012 17:04:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2012 17:04:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robertburrelldonkin@blueyonder.co.uk designates 81.103.221.52 as permitted sender) Received: from [81.103.221.52] (HELO mtaout04-winn.ispmail.ntl.com) (81.103.221.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2012 17:04:29 +0000 Received: from know-smtpout-1.server.virginmedia.net ([62.254.123.1]) by mtaout04-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120916170406.MCIU18581.mtaout04-winn.ispmail.ntl.com@know-smtpout-1.server.virginmedia.net> for ; Sun, 16 Sep 2012 18:04:06 +0100 Received: from [94.168.210.106] (helo=[10.0.0.88]) by know-smtpout-1.server.virginmedia.net with esmtpa (Exim 4.63) (envelope-from ) id 1TDIEv-0004OQ-3C for dev@creadur.apache.org; Sun, 16 Sep 2012 18:02:37 +0100 Message-ID: <505604FE.7020206@blueyonder.co.uk> Date: Sun, 16 Sep 2012 17:57:34 +0100 From: Robert Burrell Donkin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120909 Thunderbird/10.0.7 MIME-Version: 1.0 To: dev@creadur.apache.org Subject: Re: Unit test failure in trunk References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=GaEGOwq9FwezmTggA+b6yC6zDZF2HYaK6RN/tSqdnVA= c=1 sm=0 a=nVLO1SdNiKkA:10 a=nK4eIAF-gcgA:10 a=3NElcqgl2aoA:10 a=8nJEP1OIZ-IA:10 a=mV9VRH-2AAAA:8 a=Qw4XsgCVmwNbKqliHjwA:9 a=wPNLvfGTeEIA:10 a=88iI8knYSJUA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Virus-Checked: Checked by ClamAV on apache.org On 08/30/12 22:11, Olivier Lamy wrote: > any idea ? Hi Olivier Apologies for being slow (I've been AFK for last couple of weeks) > My env: > Java version: 1.6.0_33, vendor: Apple Inc. > Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > Default locale: fr_FR, platform encoding: MacRoman > OS name: "mac os x", version: "10.8", arch: "x86_64", family: "mac" The tests run on trunk for me with Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100) Java version: 1.6.0_24 Java home: /opt/icedtea-bin-6.1.11.4/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux" version: "3.3.8-gentoo" arch: "amd64" Family: "unix" :-/ > 2012/8/29 Olivier Lamy: >> Hi Folks, >> I wanted to have a look @ RAT-118 in order to improve report of the >> maven plugin. Sounds great :-) >> But I have a unit test failure in trunk: >> Failed tests: >> realBinaryContent(org.apache.rat.document.impl.guesser.BinaryGuesserTest) >> >> I wonder if it's due to my env ? Quite possibly. I wonder whether this could be a platform encoding issue. I'll take a look at the code... >> assertTrue(BinaryGuesser.isBinary(new FileDocument(new >> File("src/test/resources/binaries/Image-png.not")))); >> >> I don't know exactly what is the content of this file :-) Quite possibly an image file... Robert