Author: jackson
Date: 2006-12-04 16:04:41 -0500 (Mon, 04 Dec 2006)
New Revision: 68994

Modified:
   trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TextBoxTest.cs
Log:

        * TextBoxTest: More of these tests work now.



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 20:37:11 UTC (rev 68993)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2006-12-04 21:04:41 UTC (rev 68994)
@@ -1,3 +1,7 @@
+2006-12-04  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * TextBoxTest: More of these tests work now.
+
 2006-12-04  Chris Toshok  <[EMAIL PROTECTED]>
 
        * PrintDialogTest.cs: add [Category("Printing")] to all these

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TextBoxTest.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TextBoxTest.cs  
    2006-12-04 20:37:11 UTC (rev 68993)
+++ 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TextBoxTest.cs  
    2006-12-04 21:04:41 UTC (rev 68994)
@@ -166,6 +166,7 @@
                public void AppendText_Multiline_LF ()
                {
                        TextBox textBox = new TextBox ();
+                       textBox.Multiline = true;
                        textBox.Text = "ha";
                        textBox.AppendText ("hi\n\n");
                        textBox.AppendText ("ho\n");
@@ -201,7 +202,6 @@
                }
 
                [Test]
-               [Category ("NotWorking")]
                public void ClearUndoTest ()
                {
                        textBox.Text = "TextBox1";
@@ -266,7 +266,6 @@
                }
 
                [Test]
-               [Category ("NotWorking")]
                public void UndoTest1 ()
                {
                        textBox.Text = "ABCDE";
@@ -274,6 +273,7 @@
                        textBox.Copy ();
                        textBox.SelectionStart = textBox.SelectionStart + 
textBox.SelectionLength;
                        textBox.Paste ();
+                       Console.WriteLine ("pre paste text:  {0}", 
textBox.Text);
                        textBox.Undo ();
                        Assert.AreEqual ("ABCDE", textBox.Text, "#36");
                }
@@ -297,7 +297,6 @@
                }
 
                [Test] // bug #79909
-               [Category ("NotWorking")]
                public void MultilineText ()
                {
                        string text = "line1\n\nline2\nline3\r\nline4";

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

Reply via email to