This is the mail archive of the mauve-patches@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI: PR27343 compilation fix


Hi,
I broke compilation of a few test with my latest testcase creation named TimeZone. I've committed this patch to restore the compilability.
+Olivier


2006-05-01 Olivier Jolly <olivier.jolly@pcedev.com>

* gnu/testlet/java/util/Calendar/add.java: (test): Fixed compilation error
introduced by the addition of the TimeZone test.
* gnu/testlet/java/util/Calendar/minmax.java: (test): Fixed compilation error
introduced by the addition of the TimeZone test.
* gnu/testlet/java/util/Calendar/roll.java: (test): Fixed compilation error
introduced by the addition of the TimeZone test.
Index: gnu/testlet/java/util/Calendar/add.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/util/Calendar/add.java,v
retrieving revision 1.3
diff -u -r1.3 add.java
--- gnu/testlet/java/util/Calendar/add.java	6 Nov 2004 10:08:34 -0000	1.3
+++ gnu/testlet/java/util/Calendar/add.java	1 May 2006 14:32:50 -0000
@@ -33,7 +33,7 @@
 {
   public void test (TestHarness harness)
   {
-    TimeZone tz = TimeZone.getTimeZone ("GMT");
+    java.util.TimeZone tz = java.util.TimeZone.getTimeZone ("GMT");
     DateFormat cdf = new SimpleDateFormat ("EEE, d MMM yyyy HH:mm:ss zzz",
 					   Locale.US);
     cdf.setTimeZone (tz);
Index: gnu/testlet/java/util/Calendar/minmax.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/util/Calendar/minmax.java,v
retrieving revision 1.1
diff -u -r1.1 minmax.java
--- gnu/testlet/java/util/Calendar/minmax.java	7 May 2004 04:25:18 -0000	1.1
+++ gnu/testlet/java/util/Calendar/minmax.java	1 May 2006 14:32:50 -0000
@@ -33,7 +33,7 @@
 {
   public void test (TestHarness harness)
   {
-    TimeZone tz = TimeZone.getTimeZone ("GMT");
+    java.util.TimeZone tz = java.util.TimeZone.getTimeZone ("GMT");
     DateFormat cdf = new SimpleDateFormat ("EEE, d MMM yyyy HH:mm:ss zzz");
     cdf.setTimeZone (tz);
 
Index: gnu/testlet/java/util/Calendar/roll.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/util/Calendar/roll.java,v
retrieving revision 1.2
diff -u -r1.2 roll.java
--- gnu/testlet/java/util/Calendar/roll.java	6 Nov 2004 09:39:37 -0000	1.2
+++ gnu/testlet/java/util/Calendar/roll.java	1 May 2006 14:32:50 -0000
@@ -33,7 +33,7 @@
 {
   public void test (TestHarness harness)
   {
-    TimeZone tz = TimeZone.getTimeZone ("GMT");
+    java.util.TimeZone tz = java.util.TimeZone.getTimeZone ("GMT");
     DateFormat cdf = new SimpleDateFormat ("EEE, d MMM yyyy HH:mm:ss zzz",
 					   Locale.US);
     cdf.setTimeZone (tz);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]