1 |
tomwij 13/05/22 13:10:17 |
2 |
|
3 |
Added: |
4 |
jfreechart-1.0.14-fix-TimeSeriesCollectionTests.patch |
5 |
jfreechart-1.0.14-build.xml.patch |
6 |
Log: |
7 |
Version bump to 1.0.14, contributed by Andreas Sturmlechner (genstorm). Fixes bug #460952. |
8 |
|
9 |
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 dev-java/jfreechart/files/jfreechart-1.0.14-fix-TimeSeriesCollectionTests.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jfreechart/files/jfreechart-1.0.14-fix-TimeSeriesCollectionTests.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jfreechart/files/jfreechart-1.0.14-fix-TimeSeriesCollectionTests.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: jfreechart-1.0.14-fix-TimeSeriesCollectionTests.patch |
18 |
=================================================================== |
19 |
--- a/tests/org/jfree/data/time/junit/TimeSeriesCollectionTests.java 2011-11-20 22:40:13.000000000 +0100 |
20 |
+++ b/tests/org/jfree/data/time/junit/TimeSeriesCollectionTests.java 2013-05-21 00:18:03.840041846 +0200 |
21 |
@@ -339,6 +339,10 @@ |
22 |
* java.util.List, boolean)} method. |
23 |
*/ |
24 |
public void testFindDomainBounds() { |
25 |
+ // store the current time zone |
26 |
+ TimeZone saved = TimeZone.getDefault(); |
27 |
+ TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris")); |
28 |
+ |
29 |
TimeSeriesCollection dataset = new TimeSeriesCollection(); |
30 |
List visibleSeriesKeys = new java.util.ArrayList(); |
31 |
Range r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, |
32 |
@@ -351,10 +355,6 @@ |
33 |
r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true); |
34 |
assertNull(r); |
35 |
|
36 |
- // store the current time zone |
37 |
- TimeZone saved = TimeZone.getDefault(); |
38 |
- TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris")); |
39 |
- |
40 |
s1.add(new Year(2008), 8.0); |
41 |
r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true); |
42 |
assertEquals(1199142000000.0, r.getLowerBound(), EPSILON); |
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-java/jfreechart/files/jfreechart-1.0.14-build.xml.patch |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jfreechart/files/jfreechart-1.0.14-build.xml.patch?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jfreechart/files/jfreechart-1.0.14-build.xml.patch?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: jfreechart-1.0.14-build.xml.patch |
52 |
=================================================================== |
53 |
--- a/ant/build.xml 2011-11-20 22:40:13.000000000 +0100 |
54 |
+++ b/ant/build.xml 2013-03-09 14:10:53.987970148 +0100 |
55 |
@@ -40,11 +40,9 @@ |
56 |
<available classname="java.lang.Annotation" property="src.version" value="1.5"/> |
57 |
<available classname="java.lang.Annotation" property="target.version" value="1.5"/> |
58 |
<path id="build.classpath"> |
59 |
- <fileset dir="${basedir}/lib/"> |
60 |
- <include name="${jcommon.name}-${jcommon.version}.jar"/> |
61 |
- <include name="servlet.jar"/> |
62 |
- <include name="gnujaxp.jar" unless="JDK1.4+"/> |
63 |
- </fileset> |
64 |
+ <pathelement location="${jcommon.jar}"/> |
65 |
+ <pathelement location="${servlet.jar}"/> |
66 |
+ <pathelement location="${gnujaxp.jar}"/> |
67 |
</path> |
68 |
|
69 |
</target> |
70 |
@@ -321,7 +319,7 @@ |
71 |
|
72 |
<!-- COMPILE THE JUNIT TESTS. --> |
73 |
<target name="compile-tests" |
74 |
- depends="compile,compile-experimental" |
75 |
+ depends="initialise" |
76 |
description="Compile the test code"> |
77 |
|
78 |
<mkdir dir="${basedir}/build-tests"/> |
79 |
@@ -354,7 +352,7 @@ |
80 |
<junit printSummary="yes" |
81 |
haltonerror="true" |
82 |
haltonfailure="true" |
83 |
- fork="true" |
84 |
+ fork="false" |
85 |
dir="."> |
86 |
|
87 |
<sysproperty key="basedir" value="."/> |