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: Added one more check for JCheckBoxMenuItem constructors


Hey,

Just added one check that checks the value of 'focusable'.  

Cheers,
Tania

2006-06-15  Tania Bento  <tbento@redhat.com>

        * gnu/testlet/javax/swing/JCheckBoxMenuItem/constructors.java
        (testConstructor1): Added 'focusable' check.
        (testConstructor2): Added 'focusable' check.
        (testConstructor4): Added 'focusable' check.
        (testConstructor6): Added 'focusable' check.
        (testConstructor8): Added 'focusable' check.
        (testConstructor10): Added 'focusable' check.
        (testConstructor12): Added 'focusable' check.

Index: constructors.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/javax/swing/JCheckBoxMenuItem/constructors.java,v
retrieving revision 1.1
diff -u -r1.1 constructors.java
--- constructors.java	13 Jun 2006 15:16:09 -0000	1.1
+++ constructors.java	15 Jun 2006 17:59:26 -0000
@@ -76,6 +76,7 @@
     JCheckBoxMenuItem m = new JCheckBoxMenuItem();
     harness.check(m.getText(), "");
     harness.check(m.getIcon(), null);
+    harness.check(m.isFocusable(), false);
   }
 
   /**
@@ -87,6 +88,7 @@
     JCheckBoxMenuItem m = new JCheckBoxMenuItem(i);
     harness.check(m.getText(), "");
     harness.check(m.getIcon(), i);
+    harness.check(m.isFocusable(), false);
   }
 
   /**
@@ -108,6 +110,7 @@
     JCheckBoxMenuItem m = new JCheckBoxMenuItem("Label");
     harness.check(m.getText(), "Label");
     harness.check(m.getIcon(), null);
+    harness.check(m.isFocusable(), false);
   }
 
   /**
@@ -136,6 +139,7 @@
     };
     JCheckBoxMenuItem m = new JCheckBoxMenuItem(myAction);
     harness.check(m.getAction(), myAction);
+    harness.check(m.isFocusable(), false);
   }
 
   /**
@@ -158,6 +162,7 @@
     harness.check(m.getText(), "Label");
     harness.check(m.getIcon(), i);
     harness.check(m.getState(), false);
+    harness.check(m.isFocusable(), false);
   }
 
   /**
@@ -180,6 +185,7 @@
     harness.check(m.getText(), "Label");
     harness.check(m.getIcon(), null);
     harness.check(m.getState(), true);
+    harness.check(m.isFocusable(), false);
   }
 
   /**
@@ -204,6 +210,7 @@
     harness.check(m.getText(), "Label");
     harness.check(m.getIcon(), i);
     harness.check(m.getState(), true);
+    harness.check(m.isFocusable(), false);
   }
 
   /**

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