the form when the test is finished.
2006-12-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=68969
+2006-12-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
+
+ * MdiFormTest.cs: Change a few tests to dispose of
+ the form when the test is finished.
+
2006-12-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MdiFormTest.cs: Added a few NotWorking tests for
child.Show ();
Assert.AreEqual ("main - [child]", main.Text, "#2");
+
+ main.Dispose ();
}
[Test] // bug 80038
child.Close ();
Assert.AreEqual ("main", main.Text, "#3");
+
+ main.Dispose ();
}
[Test]
child1.WindowState = FormWindowState.Maximized;
Assert.AreEqual ("main - [child1]", main.Text, "#4");
+
+ main.Dispose ();
}
[Test]