Просмотр исходного кода

2006-12-19 Daniel Nauck <[email protected]>

	* ApplicationTest.cs: Restart () test is 2.0 only.


svn path=/trunk/mcs/; revision=69770
Daniel Nauck 19 лет назад
Родитель
Сommit
e7775c9ade

+ 2 - 1
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ApplicationTest.cs

@@ -39,12 +39,13 @@ namespace MonoTests.System.Windows.Forms
 
 			Assert.IsNull (ctx.MainForm, "2");
 		}
-
+#if NET_2_0
 		[Test]
 		[ExpectedException (typeof (NotSupportedException))]
 		public void RestartNotSupportedExceptionTest ()
 		{
 			Application.Restart ();
 		}
+#endif
 	}
 }

+ 4 - 0
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog

@@ -1,3 +1,7 @@
+2006-12-19  Daniel Nauck  <[email protected]>
+
+	* ApplicationTest.cs: Restart () test is 2.0 only.
+
 2006-12-19  Daniel Nauck  <[email protected]>
 
 	* ApplicationTest.cs: Added test for Restart ().