Page 1 of 1

JCommon 1.0.18 won't pass unit tests

Posted: Wed Apr 16, 2014 12:56 am
by spyhunter99
The current download from forge for 1.0.18 won't pass it's own unit tests using JDK 1.6u45 x64. Any ideas on how to fix this? I want to upload to maven central but I'm a bit concerned about the failed unit test

Re: JCommon 1.0.18 won't pass unit tests

Posted: Wed Apr 16, 2014 8:13 am
by david.gilbert
Which test fails for you?

There are pretty much only bug fixes between 1.0.18 and 1.0.22, I would recommend using the latest version.

Re: JCommon 1.0.18 won't pass unit tests

Posted: Wed Apr 16, 2014 8:22 am
by david.gilbert
I see two failures:

- testGradientPaintEquals();
- testTexturePaintEquals();

Looking in the code I would expect these tests to fail. I will correct them for the next release.

Re: JCommon 1.0.18 won't pass unit tests

Posted: Thu Nov 11, 2021 7:18 am
by alarawany
I think you cannot fix it that easy