Author: pbartok
Date: 2006-07-21 19:20:36 -0400 (Fri, 21 Jul 2006)
New Revision: 62886
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ControlTest.cs
Log:
2006-07-21 Matt Hargett ([EMAIL PROTECTED])
* ControlTest.cs: Added tests for MinimumSize/MaximumSize
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
2006-07-21 23:18:32 UTC (rev 62885)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
2006-07-21 23:20:36 UTC (rev 62886)
@@ -1,3 +1,7 @@
+2006-07-21 Matt Hargett ([EMAIL PROTECTED])
+
+ * ControlTest.cs: Added tests for MinimumSize/MaximumSize
+
2006-07-20 Carlos Alberto Cortez <[EMAIL PROTECTED]>
* ListControlTest.cs: Added DataSourceWrongArgumentType method
Modified:
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ControlTest.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ControlTest.cs
2006-07-21 23:18:32 UTC (rev 62885)
+++
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ControlTest.cs
2006-07-21 23:20:36 UTC (rev 62886)
@@ -104,6 +104,10 @@
Assert.AreEqual(Point.Empty, c.Location, "L2");
// M
+#if NET_2_0
+ Assert.IsTrue(c.MaximumSize.IsEmpty);
+ Assert.IsTrue(c.MinimumSize.IsEmpty);
+#endif
Assert.AreEqual(Keys.None, Control.ModifierKeys, "M1");
Assert.AreEqual(false, Control.MousePosition.IsEmpty,
"M2");
Assert.AreEqual(MouseButtons.None,
Control.MouseButtons, "M3");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches