Author: rolf
Date: 2006-12-04 11:51:34 -0500 (Mon, 04 Dec 2006)
New Revision: 68969

Modified:
   trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MdiFormTest.cs
Log:
        * MdiFormTest.cs: Change a few tests to dispose of
        the form when the test is finished.

2006-12-04  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>



Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2006-12-04 16:49:52 UTC (rev 68968)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2006-12-04 16:51:34 UTC (rev 68969)
@@ -1,5 +1,10 @@
 2006-12-04  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
 
+       * MdiFormTest.cs: Change a few tests to dispose of
+       the form when the test is finished.
+
+2006-12-04  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
+
        * MdiFormTest.cs: Added a few NotWorking tests for
        initial form location.
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MdiFormTest.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MdiFormTest.cs  
    2006-12-04 16:49:52 UTC (rev 68968)
+++ 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MdiFormTest.cs  
    2006-12-04 16:51:34 UTC (rev 68969)
@@ -751,6 +751,8 @@
                        child.Show ();
 
                        Assert.AreEqual ("main - [child]", main.Text, "#2");
+
+                       main.Dispose ();
                }
 
                [Test] // bug 80038
@@ -775,6 +777,8 @@
 
                        child.Close ();
                        Assert.AreEqual ("main", main.Text, "#3");
+
+                       main.Dispose ();
                }
 
                [Test]
@@ -809,6 +813,8 @@
                        child1.WindowState = FormWindowState.Maximized;
 
                        Assert.AreEqual ("main - [child1]", main.Text, "#4");
+
+                       main.Dispose ();
                }
 
                [Test]

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

Reply via email to