mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-java/jfreechart: new package, add 1.0.19-r1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
25
dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch
Normal file
25
dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
--- a/ant/build.xml
|
||||
+++ b/ant/build.xml
|
||||
@@ -40,10 +40,9 @@
|
||||
<available classname="java.lang.Annotation" property="src.version" value="1.5"/>
|
||||
<available classname="java.lang.Annotation" property="target.version" value="1.5"/>
|
||||
<path id="build.classpath">
|
||||
- <fileset dir="${basedir}/lib/">
|
||||
- <include name="${jcommon.name}-${jcommon.version}.jar"/>
|
||||
- <include name="servlet.jar"/>
|
||||
- </fileset>
|
||||
+ <pathelement location="${jcommon.jar}"/>
|
||||
+ <pathelement location="${servlet.jar}"/>
|
||||
+ <pathelement location="${gnujaxp.jar}"/>
|
||||
</path>
|
||||
|
||||
</target>
|
||||
@@ -321,7 +320,7 @@
|
||||
|
||||
<!-- COMPILE THE JUNIT TESTS. -->
|
||||
<target name="compile-tests"
|
||||
- depends="compile,compile-experimental"
|
||||
+ depends="initialise"
|
||||
description="Compile the test code">
|
||||
|
||||
<mkdir dir="${basedir}/build-tests"/>
|
||||
@@ -0,0 +1,24 @@
|
||||
--- a/tests/org/jfree/data/time/TimeSeriesCollectionTest.java
|
||||
+++ b/tests/org/jfree/data/time/TimeSeriesCollectionTest.java
|
||||
@@ -339,6 +339,10 @@
|
||||
* java.util.List, boolean)} method.
|
||||
*/
|
||||
public void testFindDomainBounds() {
|
||||
+ // store the current time zone
|
||||
+ TimeZone saved = TimeZone.getDefault();
|
||||
+ TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris"));
|
||||
+
|
||||
TimeSeriesCollection dataset = new TimeSeriesCollection();
|
||||
List visibleSeriesKeys = new java.util.ArrayList();
|
||||
Range r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys,
|
||||
@@ -351,10 +355,6 @@
|
||||
r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true);
|
||||
assertNull(r);
|
||||
|
||||
- // store the current time zone
|
||||
- TimeZone saved = TimeZone.getDefault();
|
||||
- TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris"));
|
||||
-
|
||||
s1.add(new Year(2008), 8.0);
|
||||
r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true);
|
||||
assertEquals(1199142000000.0, r.getLowerBound(), EPSILON);
|
||||
Reference in New Issue
Block a user