I checked out JFreeChart from Sourceforge.net using SVN. Now I'm trying to run the unit tests but they do not compile due to an (IMHO) invalid classpath in the ant build file. In ant/build.xml the classpath for compiling the tests is defined as follows:
Code: Select all
<classpath>
<path refid="build.classpath"/>
<pathelement location="${junit.jar}"/>
<pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}.jar"/>
<pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}-experimental.jar"/>
<pathelement location="${basedir}/build-tests"/>
</classpath>
Further on, when I correct the classpath problems and run the tests with Java 6, some of them do not pass. The compiler says
Code: Select all
The method assertEquals(Object, Object) in the type Assert is not applicable for the arguments (double, double)
Any ideas?
- martin