Author: rolf
Date: 2007-04-03 12:13:08 -0400 (Tue, 03 Apr 2007)
New Revision: 75346

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:
* ControlTest.cs: Ignore EventStyleTest (can't find a reliable way to
  generate paint messages on Windows) and change PubPropTest to
  accept (0,0) as a valid mouse location.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2007-04-03 15:35:05 UTC (rev 75345)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2007-04-03 16:13:08 UTC (rev 75346)
@@ -1,5 +1,11 @@
 2007-04-03  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
+       * ControlTest.cs: Ignore EventStyleTest (can't find a reliable way to
+         generate paint messages on Windows) and change PubPropTest to
+         accept (0,0) as a valid mouse location.
+
+2007-04-03  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
        * DateTimePickerTest.cs: Added a few more cases to TextTest.
 
 2007-04-03  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 

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  
    2007-04-03 15:35:05 UTC (rev 75345)
+++ 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ControlTest.cs  
    2007-04-03 16:13:08 UTC (rev 75346)
@@ -268,8 +268,9 @@
                                overrides.Add("OnPaint");
                        }
                }
-               
+
                [Test]
+               [Ignore ("Can't find a reliable way to generate a paint message 
on Windows.")]
                public void EventStyleTest ()
                {
 #if NET_2_0
@@ -669,7 +670,7 @@
                        Assert.IsTrue(c.MinimumSize.IsEmpty);
 #endif
                        Assert.AreEqual (Keys.None, Control.ModifierKeys, "M1");
-                       Assert.IsFalse (Control.MousePosition.IsEmpty, "M2");
+                       Assert.IsTrue (Control.MousePosition.X >= 0 && 
Control.MousePosition.Y >= 0, "M2");
                        Assert.AreEqual (MouseButtons.None, 
Control.MouseButtons, "M3");
 
                        Assert.AreEqual("", c.Name, "N1");

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

Reply via email to