Author: jpobst
Date: 2008-02-06 11:00:20 -0500 (Wed, 06 Feb 2008)
New Revision: 95034

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

        * TimerTest.cs: Several asserts in one test had the same name,
        so I can't tell which assert is failing on the buildbot.  Fixed.

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-06 15:24:56 UTC (rev 95033)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2008-02-06 16:00:20 UTC (rev 95034)
@@ -1,3 +1,8 @@
+2008-02-06  Jonathan Pobst  <[EMAIL PROTECTED]>
+
+       * TimerTest.cs: Several asserts in one test had the same name,
+       so I can't tell which assert is failing on the buildbot.  Fixed.
+
 2008-02-04  Carlos Alberto Cortez <[EMAIL PROTECTED]>
 
        * BindingsCollectionTest.cs: New file.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TimerTest.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TimerTest.cs    
    2008-02-06 15:24:56 UTC (rev 95033)
+++ 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TimerTest.cs    
    2008-02-06 16:00:20 UTC (rev 95034)
@@ -123,11 +123,11 @@
                                timer.Tick += new EventHandler (TickHandler);
                                timer.Interval = 1000;
                                timer.Enabled = true;
-                               Assert.AreEqual (true, timer.Enabled, "1");
-                               Assert.AreEqual (false, Ticked, "2");
+                               Assert.AreEqual (true, timer.Enabled, "3");
+                               Assert.AreEqual (false, Ticked, "4");
                                timer.Enabled = false;
-                               Assert.AreEqual (false, Ticked, "3"); // This 
may fail if we are running on a very slow machine...
-                               Assert.AreEqual (false, timer.Enabled, "4");
+                               Assert.AreEqual (false, Ticked, "5"); // This 
may fail if we are running on a very slow machine...
+                               Assert.AreEqual (false, timer.Enabled, "6");
                        }
                }
 

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

Reply via email to