monsieurp 15/06/09 16:45:11
Added:
jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch
jfreechart-1.0.19-build.xml.patch
Log:
Version bump. Fix bug 528402.
Signed-off-by: Patrice Clement <[email protected]>
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key
93491BB8)
Revision Changes Path
1.1
dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch?rev=1.1&content-type=text/plain
Index: jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch
===================================================================
--- a/tests/org/jfree/data/time/TimeSeriesCollectionTest.java 2011-11-20
22:40:13.000000000 +0100
+++ b/tests/org/jfree/data/time/TimeSeriesCollectionTest.java 2013-05-21
00:18:03.840041846 +0200
@@ -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);
1.1 dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch?rev=1.1&content-type=text/plain
Index: jfreechart-1.0.19-build.xml.patch
===================================================================
--- a/ant/build.xml 2011-11-20 22:40:13.000000000 +0100
+++ b/ant/build.xml 2013-03-09 14:10:53.987970148 +0100
@@ -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"/>