On Mon, 15 Oct 2018 at 23:04, Aleksander Ściborek <aleksanderscibo...@gmail.com> wrote: > > Github indicates 1.67 KB, on my computer it shows 1,7 KB but this is > probably just rounded value
That looks OK. However, the assertion message means that the code detected a size of 0. No idea why that should be. I think you will have to amend the test case to show extra info, e.g. the value of getClass().getResource("/test-file-simple-utf8.bin").getFile() and then check the size of that file. > On Mon, 15 Oct 2018 at 23:54, sebb <seb...@gmail.com> wrote: > > > On Mon, 15 Oct 2018 at 22:44, Aleksander Ściborek > > <aleksanderscibo...@gmail.com> wrote: > > > > > > Ok, so this is list of errors: > > > FileUtilsTestCase.testContentEqualsIgnoreEOL:672 > > > > > IOUtilsTestCase.testResourceToByteArray_ExistingResourceAtRootPackage:1251 > > > expected:<0> but was:<1705> > > > > What is the size of the following file: > > > > src/test/resources/test-file-utf8.bin > > > > > > > > > IOUtilsTestCase.testResourceToByteArray_ExistingResourceAtRootPackage_WithClassLoader:1258 > > > expected:<0> but was:<1705> > > > > > IOUtilsTestCase.testResourceToByteArray_ExistingResourceAtSubPackage:1265 > > > expected:<0> but was:<6> > > > > > IOUtilsTestCase.testResourceToByteArray_ExistingResourceAtSubPackage_WithClassLoader:1272 > > > expected:<0> but was:<6> > > > IOUtilsTestCase.testResourceToString_ExistingResourceAtRootPackage:1168 > > > expected:<0> but was:<5> > > > > > IOUtilsTestCase.testResourceToString_ExistingResourceAtRootPackage_WithClassLoader:1180 > > > expected:<0> but was:<5> > > > IOUtilsTestCase.testResourceToString_ExistingResourceAtSubPackage:1188 > > > expected:<0> but was:<6> > > > > > IOUtilsTestCase.testResourceToString_ExistingResourceAtSubPackage_WithClassLoader:1200 > > > expected:<0> but was:<6> > > > > > > Details of maven java etc: > > > > > > Apache Maven 3.5.2 > > > Maven home: /usr/share/maven > > > Java version: 1.8.0_181, vendor: Oracle Corporation > > > Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre > > > Default locale: en_US, platform encoding: UTF-8 > > > OS name: "linux", version: "4.15.0-36-generic", arch: "amd64", family: > > > "unix" > > > > > > > > > On Mon, 15 Oct 2018 at 22:55, Aleksander Ściborek < > > > aleksanderscibo...@gmail.com> wrote: > > > > > > > Ok. soon I will add more information, but actually you can see that it > > > > fails on github: https://travis-ci.org/apache/commons-io > > > > > > > > On Mon, 15 Oct 2018 at 22:51, sebb <seb...@gmail.com> wrote: > > > > > > > >> On Mon, 15 Oct 2018 at 21:11, Aleksander Ściborek > > > >> <aleksanderscibo...@gmail.com> wrote: > > > >> > > > > >> > Hi, > > > >> > I had forked commons-io and pulled it from github and later on I > > run mvn > > > >> > clean package. I've got 9 failures - One from FileUtilsTestCase and > > more > > > >> > from IOUtilsTestCase. > > > >> > > > >> It works for me using the following software. > > > >> > > > >> Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; > > > >> 2018-06-17T19:33:14+01:00) > > > >> Maven home: /opt/apache-maven-3.5.4 > > > >> Java version: 1.8.0_151, vendor: Oracle Corporation, runtime: > > > >> /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre > > > >> Default locale: en_GB, platform encoding: UTF-8 > > > >> OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac" > > > >> > > > >> You'll have to provide more information. > > > >> - the actual errors > > > >> - Maven version > > > >> - Java provider and version > > > >> - OS and version > > > >> > > > >> > > > >> > Aleksander > > > >> > > > >> --------------------------------------------------------------------- > > > >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > > >> For additional commands, e-mail: dev-h...@commons.apache.org > > > >> > > > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > For additional commands, e-mail: dev-h...@commons.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org