Author: jpobst
Date: 2008-01-24 17:56:31 -0500 (Thu, 24 Jan 2008)
New Revision: 93856
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TableLayoutTest.cs
Log:
Try to make test not font size dependent.
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-24 22:50:25 UTC (rev 93855)
+++
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TableLayoutTest.cs
2008-01-24 22:56:31 UTC (rev 93856)
@@ -1345,7 +1345,7 @@
t2.Dock = DockStyle.Fill;
tlp.Controls.Add (t2);
- Assert.AreEqual (new Size (212, 26), tlp.PreferredSize,
"A1");
+ Assert.AreEqual (new Size (212, t1.Height + 6),
tlp.PreferredSize, "A1");
f.Dispose ();
}
@@ -1373,7 +1373,7 @@
t2.Dock = DockStyle.Fill;
tlp.Controls.Add (t2);
- Assert.AreEqual (new Size (212, 26), tlp.PreferredSize,
"A1");
+ Assert.AreEqual (new Size (212, t1.Height + 6),
tlp.PreferredSize, "A1");
f.Dispose ();
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches