Author: gert
Date: 2006-11-26 11:59:20 -0500 (Sun, 26 Nov 2006)
New Revision: 68481
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: Fixed test on (MS) 2.0 profile.
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-26 16:55:15 UTC (rev 68480)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
2006-11-26 16:59:20 UTC (rev 68481)
@@ -1,5 +1,9 @@
2006-11-26 Gert Driesen <[EMAIL PROTECTED]>
+ * MdiFormTest.cs: Fixed test on (MS) 2.0 profile.
+
+2006-11-26 Gert Driesen <[EMAIL PROTECTED]>
+
* ControlStylesTest.cs: Fixed GetStyle for 2.0 profile.
2006-11-26 Gert Driesen <[EMAIL PROTECTED]>
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-11-26 16:55:15 UTC (rev 68480)
+++
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MdiFormTest.cs
2006-11-26 16:59:20 UTC (rev 68481)
@@ -207,7 +207,11 @@
Assert.AreSame (child2, main.ActiveMdiChild, "#4");
main.Visible = false;
+#if NET_2_0
+ Assert.IsNull (main.ActiveMdiChild, "#5");
+#else
Assert.AreSame (child2, main.ActiveMdiChild, "#5");
+#endif
child2.Dispose ();
child1.Dispose ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches