Author: jpobst
Date: 2008-02-19 11:40:04 -0500 (Tue, 19 Feb 2008)
New Revision: 96161

Modified:
   trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ComboBoxTest.cs
Log:
2008-02-19  Jonathan Pobst  <[EMAIL PROTECTED]> 

        * ComboBoxTest.cs: Use PreferredHeight in MethodScaleControl.
        Fixes buildbot failure.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2008-02-19 16:10:23 UTC (rev 96160)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2008-02-19 16:40:04 UTC (rev 96161)
@@ -1,3 +1,8 @@
+2008-02-19  Jonathan Pobst  <[EMAIL PROTECTED]> 
+
+       * ComboBoxTest.cs: Use PreferredHeight in MethodScaleControl.
+       Fixes buildbot failure.
+
 2008-02-19  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * FlowPanelTests.cs: Add test for bug #361448.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ComboBoxTest.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ComboBoxTest.cs 
    2008-02-19 16:10:23 UTC (rev 96160)
+++ 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ComboBoxTest.cs 
    2008-02-19 16:40:04 UTC (rev 96161)
@@ -1262,7 +1262,7 @@
                        gb.Location = new Point (5, 10);
                        f.Controls.Add (gb);
 
-                       Assert.AreEqual (new Rectangle (5, 10, 121, 21), 
gb.Bounds, "A1");
+                       Assert.AreEqual (new Rectangle (5, 10, 121, 
gb.PreferredHeight), gb.Bounds, "A1");
 
                        gb.PublicScaleControl (new SizeF (2.0f, 2.0f), 
BoundsSpecified.All);
                        Assert.AreEqual (new Rectangle (10, 20, 238, 
gb.PreferredHeight), gb.Bounds, "A2");

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to