Author: jpobst
Date: 2008-02-05 19:55:09 -0500 (Tue, 05 Feb 2008)
New Revision: 94976
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
branches/mono-1-9/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ListBoxTest.cs
Log:
2008-02-01 Jonathan Pobst <[EMAIL PROTECTED]>
[Backport to 1.9]
* ListBoxTest.cs: Disable test that is default font dependent.
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
===================================================================
---
branches/mono-1-9/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
2008-02-06 00:22:10 UTC (rev 94975)
+++
branches/mono-1-9/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
2008-02-06 00:55:09 UTC (rev 94976)
@@ -1,3 +1,7 @@
+2008-02-01 Jonathan Pobst <[EMAIL PROTECTED]>
+ [Backport to 1.9]
+ * ListBoxTest.cs: Disable test that is default font dependent.
+
2008-01-28 Carlos Alberto Cortez <[EMAIL PROTECTED]>
* ComboBoxTest.cs: New SelectedTextWithBinding test - for #333750.
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ListBoxTest.cs
===================================================================
---
branches/mono-1-9/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ListBoxTest.cs
2008-02-06 00:22:10 UTC (rev 94975)
+++
branches/mono-1-9/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ListBoxTest.cs
2008-02-06 00:55:09 UTC (rev 94976)
@@ -120,8 +120,12 @@
}
[Test] // bug #80620
+ [NUnit.Framework.Category ("NotWorking")]
public void ClientRectangle_Borders ()
{
+ // This test is invalid because createcontrol forces
.net to resize
+ // the listbox using integralheight, which defaults to
true. This
+ // will only hold for most font sizes.
listBox.CreateControl ();
Assert.AreEqual (listBox.ClientRectangle, new ListBox
().ClientRectangle);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches