Author: rolf
Date: 2007-05-28 06:06:33 -0400 (Mon, 28 May 2007)
New Revision: 78040

Modified:
   trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MonthCalendarTest.cs
Log:
* MonthCalendarTest.cs: Added InitialSizeTest.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2007-05-28 10:03:25 UTC (rev 78039)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2007-05-28 10:06:33 UTC (rev 78040)
@@ -1,5 +1,9 @@
 2007-05-28  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
+       * MonthCalendarTest.cs: Added InitialSizeTest.
+
+2007-05-28  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
        * FormTest.cs: Increase timeout value. Might prevent tests from failing
          on slower computers.
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MonthCalendarTest.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MonthCalendarTest.cs
        2007-05-28 10:03:25 UTC (rev 78039)
+++ 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MonthCalendarTest.cs
        2007-05-28 10:06:33 UTC (rev 78040)
@@ -125,6 +125,13 @@
 
                        myfrm.Dispose ();
                }
+               
+               [Test]
+               public void InitialSizeTest ()
+               {
+                       MonthCalendar cal = new MonthCalendar ();
+                       Assert.IsTrue (cal.Size != Size.Empty, "#01");
+               }
        
                [Test]
                public void MonthCalMaxSelectionCountException ()

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

Reply via email to