Author: gert
Date: 2006-11-07 02:24:52 -0500 (Tue, 07 Nov 2006)
New Revision: 67435

Modified:
   trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TabControlTest.cs
Log:
* TabControlTest.cs: Added test for bug #79847.


Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2006-11-07 05:47:09 UTC (rev 67434)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2006-11-07 07:24:52 UTC (rev 67435)
@@ -1,3 +1,7 @@
+2006-11-07  Gert Driesen  <[EMAIL PROTECTED]>
+
+       * TabControlTest.cs: Added test for bug #79847.
+
 2006-11-04  Chris Toshok  <[EMAIL PROTECTED]>
 
        * ControlTest.cs: enable a bunch more of these on linux, and split

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TabControlTest.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TabControlTest.cs
   2006-11-07 05:47:09 UTC (rev 67434)
+++ 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TabControlTest.cs
   2006-11-07 07:24:52 UTC (rev 67435)
@@ -208,6 +208,16 @@
                        Assert.IsTrue (p.CheckIsInputKey (Keys.End), 
"PH-TRUE-end");
                        Assert.IsTrue (p.CheckIsInputKey (Keys.Home), 
"PH-TRUE-home");
                }
+
+               [Test] // bug #79847
+               public void NoTabPages ()
+               {
+                       Form form = new Form ();
+                       TabControl tc = new TabControl ();
+                       form.Controls.Add (tc);
+                       form.ShowInTaskbar = false;
+                       form.Show ();
+                       form.Dispose ();
+               }
        }
-
 }

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

Reply via email to