2008-06-14 Everaldo Canuto <ecanuto@novell.com>
authorEveraldo Canuto <everaldo@mono-cvs.ximian.com>
Mon, 16 Jun 2008 14:29:31 +0000 (14:29 -0000)
committerEveraldo Canuto <everaldo@mono-cvs.ximian.com>
Mon, 16 Jun 2008 14:29:31 +0000 (14:29 -0000)
* DataGridTextBoxColumnTest.cs: Fixes the size of text box, according to
.Net results it must be (97,97).

svn path=/trunk/mcs/; revision=105903

mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridTextBoxColumnTest.cs

index 0604792ca4924e867b9283d4978cd8619d00c23a..5cf829b901b1dfe8e68f009dd9559fdb5cf09774 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-14  Everaldo Canuto  <ecanuto@novell.com>
+
+       * DataGridTextBoxColumnTest.cs: Fixes the size of text box, according to 
+       .Net results it must be (97,97).
+
 2008-06-13  Jonathan Pobst  <monkey@jpobst.com>
 
        * DefaultLayoutTests.cs: Change test for bug #399316 to be less exact.
index ebbb18d710a13e4c85d94dc36a8313d0bc92c242..7afaa573eb6f3b9ba831e52674274e9c5600b84e 100644 (file)
@@ -307,7 +307,7 @@ namespace MonoTests.System.Windows.Forms
                        Assert.IsTrue (tb.IsInEditOrNavigateMode, "1.5");
                        column.DoEdit (cm, 0, new Rectangle (new Point (0,0), new Size (100, 100)), false, "hi there", true);
                        Assert.AreEqual ("hi there", tb.Text, "2");
-                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (98,98)), tb.Bounds, "3");
+                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (97,97)), tb.Bounds, "3");
                        Assert.IsFalse (tb.ReadOnly, "4");
                        Assert.IsFalse (tb.IsInEditOrNavigateMode, "5");
 
@@ -340,7 +340,7 @@ namespace MonoTests.System.Windows.Forms
                        Assert.IsTrue (tb.IsInEditOrNavigateMode, "1.5");
                        column.DoEdit (cm, 0, new Rectangle (new Point (0,0), new Size (100, 100)), false, "hi there", true);
                        Assert.AreEqual ("hi there", tb.Text, "2");
-                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (98,98)), tb.Bounds, "3");
+                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (97,97)), tb.Bounds, "3");
                        Assert.IsFalse (tb.ReadOnly, "4");
                        Assert.IsFalse (tb.IsInEditOrNavigateMode, "5");
 
@@ -359,7 +359,7 @@ namespace MonoTests.System.Windows.Forms
                        cm.Position = 0;
                        column.DoEdit (cm, 0, new Rectangle (new Point (0,0), new Size (100,100)), false, "hi there", true);
                        Assert.AreEqual ("hi there", tb.Text, "8");
-                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (98,98)), tb.Bounds, "9");
+                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (97,97)), tb.Bounds, "9");
                        Assert.IsFalse (tb.ReadOnly, "10");
                        Assert.IsFalse (tb.IsInEditOrNavigateMode, "11");
                        tb.Text = "yo";
@@ -390,7 +390,7 @@ namespace MonoTests.System.Windows.Forms
                        Assert.IsTrue (tb.IsInEditOrNavigateMode, "1.5");
                        column.DoEdit (cm, 0, new Rectangle (new Point (0,0), new Size (100, 100)), false, "hi there", true);
                        Assert.AreEqual ("hi there", tb.Text, "2");
-                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (98,98)), tb.Bounds, "3");
+                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (97,97)), tb.Bounds, "3");
                        Assert.IsFalse (tb.ReadOnly, "4");
                        Assert.IsFalse (tb.IsInEditOrNavigateMode, "5");
 
@@ -422,7 +422,7 @@ namespace MonoTests.System.Windows.Forms
                        Assert.IsTrue (tb.IsInEditOrNavigateMode, "1.5");
                        column.DoEdit (cm, 0, new Rectangle (new Point (0,0), new Size (100, 100)), false, "hi there", true);
                        Assert.AreEqual ("hi there", tb.Text, "2");
-                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (98,98)), tb.Bounds, "3");
+                       Assert.AreEqual (new Rectangle (new Point (2,2), new Size (97,97)), tb.Bounds, "3");
                        Assert.IsFalse (tb.ReadOnly, "4");
                        Assert.IsFalse (tb.IsInEditOrNavigateMode, "5");