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: MetalLookAndFeel.getDefaults()


I committed this small change:

2005-09-20 David Gilbert <david.gilbert@object-refinery.com>

   * gnu/testlet/javax/swing/plaf/metal/MetalLookAndFeel/getDefaults.java:
   (test): use more specific test for 'PasswordField.border'.

Regards,

Dave
Index: gnu/testlet/javax/swing/plaf/metal/MetalLookAndFeel/getDefaults.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/javax/swing/plaf/metal/MetalLookAndFeel/getDefaults.java,v
retrieving revision 1.1
diff -u -r1.1 getDefaults.java
--- gnu/testlet/javax/swing/plaf/metal/MetalLookAndFeel/getDefaults.java	9 Sep 2005 13:13:37 -0000	1.1
+++ gnu/testlet/javax/swing/plaf/metal/MetalLookAndFeel/getDefaults.java	20 Sep 2005 13:05:48 -0000
@@ -512,7 +512,7 @@
     
     harness.checkPoint("PasswordField");
     harness.check(defaults.get("PasswordField.background"), new ColorUIResource(0, 0, 30));
-    harness.check(defaults.get("PasswordField.border") instanceof BorderUIResource.CompoundBorderUIResource);
+    harness.check(defaults.get("PasswordField.border"), MetalBorders.getTextBorder());
     harness.check(defaults.getInt("PasswordField.caretBlinkRate"), 500);
     harness.check(defaults.get("PasswordField.caretForeground"), new ColorUIResource(0, 0, 29));
     harness.check(defaults.get("PasswordField.focusInputMap") instanceof InputMapUIResource);

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