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: JTable


I just noticed that the expected value of a test case was incorrect.  I
changed it to the correct value and and committed it. 

2006-09-21  Tania Bento  <tbento@redhat.com>

        * gnu/testlet/javax/swing/JTable/getCellRect.java: Changed
        expected value of one test case.


On Wed, 2006-09-13 at 14:19 -0400, Tania Bento wrote:
> > Hey,
> > 
> > This new test file (committed) tests the width of the cellRect, when the
> > getCellRect method from javax.swing.JTable is called.
> > 
> >   2006-09-13  Tania Bento  <tbento@redhat.com>
> > 
> >         * gnu/testlet/javax/swing/JTable/getCellRect.java: New test.
> > 
> > Cheers,
> > Tania
Index: gnu/testlet/javax/swing/JTable/getCellRect.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/javax/swing/JTable/getCellRect.java,v
retrieving revision 1.2
diff -u -r1.2 getCellRect.java
--- gnu/testlet/javax/swing/JTable/getCellRect.java	13 Sep 2006 20:26:09 -0000	1.2
+++ gnu/testlet/javax/swing/JTable/getCellRect.java	21 Sep 2006 17:08:22 -0000
@@ -39,7 +39,7 @@
     Rectangle rectangle = table.getCellRect(0, 0, false);
     harness.check(rectangle.x, 0);
     harness.check(rectangle.y, 0);
-    harness.check(rectangle.width, 75);
+    harness.check(rectangle.width, 0);
     harness.check(rectangle.height, 0);
     
     table = new JTable(2, 3);

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