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<[email protected]>:
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