Author: jpobst Date: 2008-02-19 11:42:25 -0500 (Tue, 19 Feb 2008) New Revision: 96162
Modified: trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ComboBoxTest.cs Log: Add some debugging info. 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:40:04 UTC (rev 96161) +++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ComboBoxTest.cs 2008-02-19 16:42:25 UTC (rev 96162) @@ -1140,13 +1140,13 @@ public void SizeChangesAtCreateHandle () { ComboBox cb = new ComboBox (); - cb.Font = new Font ("Arial", 18f); + cb.Font = new Font ("Arial", 24f); int original = cb.Height; IntPtr h = cb.Handle; - Assert.IsTrue (cb.Height > original, "ComboBox height should be bigger than original"); + Assert.IsTrue (cb.Height > original, string.Format ("ComboBox height ({0}) should be bigger than original ({1})", cb.Height, original)); } #if NET_2_0 _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches