Author: jpobst
Date: 2008-01-23 14:18:34 -0500 (Wed, 23 Jan 2008)
New Revision: 93692
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TableLayoutTest.cs
Log:
2008-01-23 Jonathan Pobst <[EMAIL PROTECTED]>
* TableLayoutTest.cs: Set ClientSize to a known size to
make Bug355408 () WM independent.
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
2008-01-23 19:05:58 UTC (rev 93691)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
2008-01-23 19:18:34 UTC (rev 93692)
@@ -1,5 +1,10 @@
2008-01-23 Jonathan Pobst <[EMAIL PROTECTED]>
+ * TableLayoutTest.cs: Set ClientSize to a known size to
+ make Bug355408 () WM independent.
+
+2008-01-23 Jonathan Pobst <[EMAIL PROTECTED]>
+
* TableLayoutTest.cs: Add test for bug #355408.
2008-01-22 Jonathan Pobst <[EMAIL PROTECTED]>
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TableLayoutTest.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TableLayoutTest.cs
2008-01-23 19:05:58 UTC (rev 93691)
+++
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TableLayoutTest.cs
2008-01-23 19:18:34 UTC (rev 93692)
@@ -1295,7 +1295,8 @@
public void Bug355408 ()
{
Form f = new Form ();
-
+ f.ClientSize = new Size (300, 300);
+
TableLayoutPanel tlp = new TableLayoutPanel ();
tlp.Dock = DockStyle.Fill;
tlp.RowCount = 2;
@@ -1318,7 +1319,7 @@
Assert.AreEqual (new Rectangle (3, 3, 75, 23),
b1.Bounds, "A1");
Assert.AreEqual (new Rectangle (84, 3, 75, 23),
b2.Bounds, "A2");
- Assert.AreEqual (new Rectangle (3, 32, 278, 229),
b3.Bounds, "A3");
+ Assert.AreEqual (new Rectangle (3, 32, 294, 265),
b3.Bounds, "A3");
f.Close ();
f.Dispose ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches