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]

FYI: PaletteCloseIcon.java


The width and height of this icon changed from (5, 5) to (7, 7) in JDK 1.5, so I've updated the test to cover just the 1.5 case:

2006-02-01 David Gilbert <david.gilbert@object-refinery.com>

* gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconHeight.java
(test): Change expected result to 7,
* gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconWidth.java
(test): Likewise,
Changed tag to JDK1.5 for both.


Regards,

Dave
Index: gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconHeight.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconHeight.java,v
retrieving revision 1.1
diff -u -r1.1 getIconHeight.java
--- gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconHeight.java	13 Oct 2005 08:19:56 -0000	1.1
+++ gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconHeight.java	1 Feb 2006 10:14:13 -0000
@@ -1,6 +1,6 @@
-// Tags: JDK1.3
+// Tags: JDK1.5
 
-// Copyright (C) 2005 David Gilbert <david.gilbert@object-refinery.com>
+// Copyright (C) 2005, 2006 David Gilbert <david.gilbert@object-refinery.com>
 
 // This file is part of Mauve.
 
@@ -41,7 +41,7 @@
   public void test(TestHarness harness)      
   {
     PaletteCloseIcon icon = new PaletteCloseIcon();
-    harness.check(icon.getIconHeight(), 5);    
+    harness.check(icon.getIconHeight(), 7);    
   }
 
 }
Index: gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconWidth.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconWidth.java,v
retrieving revision 1.1
diff -u -r1.1 getIconWidth.java
--- gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconWidth.java	13 Oct 2005 08:19:56 -0000	1.1
+++ gnu/testlet/javax/swing/plaf/metal/MetalIconFactory/PaletteCloseIcon/getIconWidth.java	1 Feb 2006 10:14:13 -0000
@@ -1,6 +1,6 @@
-// Tags: JDK1.3
+// Tags: JDK1.5
 
-// Copyright (C) 2005 David Gilbert <david.gilbert@object-refinery.com>
+// Copyright (C) 2005, 2006 David Gilbert <david.gilbert@object-refinery.com>
 
 // This file is part of Mauve.
 
@@ -41,7 +41,7 @@
   public void test(TestHarness harness)      
   {
     PaletteCloseIcon icon = new PaletteCloseIcon();
-    harness.check(icon.getIconWidth(), 5);    
+    harness.check(icon.getIconWidth(), 7);    
   }
 
 }

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