Bläddra i källkod

2007-01-16 Chris Toshok <[email protected]>

	* UpDownTest.cs: add UpDownActiveControlTest.


svn path=/trunk/mcs/; revision=71162
Chris Toshok 19 år sedan
förälder
incheckning
b8fbc6b167

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

@@ -1,3 +1,7 @@
+2007-01-16  Chris Toshok  <[email protected]>
+
+	* UpDownTest.cs: add UpDownActiveControlTest.
+
 2007-01-16  Jonathan Pobst  <[email protected]>
 
 	* ControlPropertyEventsTest.cs: Enable PropertyMinimumSize test.

+ 7 - 0
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/UpDownTest.cs

@@ -32,6 +32,13 @@ namespace MonoTests.System.Windows.Forms
 			value_changed = 0;
 		}
 
+		[Test]
+		public void UpDownActiveControlTest ()
+		{
+			NumericUpDown n1 = new NumericUpDown ();
+			Assert.IsNull (n1.ActiveControl, "1");
+		}
+
 		[Test]
 		public void UpDownBasePropTest ()
 		{