JCommon 1.0.18 won't pass unit tests

A discussion forum for the JCommon class library.
Locked
spyhunter99
Posts: 2
Joined: Tue Apr 08, 2014 1:07 am
antibot: No, of course not.

JCommon 1.0.18 won't pass unit tests

Post by spyhunter99 » Wed Apr 16, 2014 12:56 am

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

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: JCommon 1.0.18 won't pass unit tests

Post by david.gilbert » Wed Apr 16, 2014 8:13 am

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.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: JCommon 1.0.18 won't pass unit tests

Post by david.gilbert » Wed Apr 16, 2014 8:22 am

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.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

alarawany
Posts: 4
Joined: Sun May 20, 2018 10:54 pm
antibot: No, of course not.

Re: JCommon 1.0.18 won't pass unit tests

Post by alarawany » Thu Nov 11, 2021 7:18 am

I think you cannot fix it that easy
Graduated from Soran University with First Class Degree with Honours in Computer Science

Locked