Author: everaldo
Date: 2006-11-30 15:30:53 -0500 (Thu, 30 Nov 2006)
New Revision: 68775

Modified:
   trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ToolBarTest.cs
Log:
Remove NotWorking category from PropertyTest

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-30 20:11:26 UTC (rev 68774)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog   
2006-11-30 20:30:53 UTC (rev 68775)
@@ -1,3 +1,12 @@
+2006-11-30  Everaldo Canuto  <[EMAIL PROTECTED]>
+
+       * ToolBarTest.cs:
+       - Remove ButtonSize.Width and ButtonSize.Height assert because
+       it depends of system metrics and diferent fonts can cause 
+       diferent sizes.
+       - Remove "NotWorking" mark from ToolBarPropertyTest, this test
+       now must works well.
+       
 2006-11-30  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
 
        * MessageTest.cs: Added test for ToString.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ToolBarTest.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ToolBarTest.cs  
    2006-11-30 20:11:26 UTC (rev 68774)
+++ 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ToolBarTest.cs  
    2006-11-30 20:30:53 UTC (rev 68775)
@@ -27,7 +27,6 @@
                }
 
                [Test]
-               [Category ("NotWorking")]
                public void ToolBarPropertyTest ()
                {       
                        Form myform = new Form ();
@@ -54,8 +53,6 @@
                        Assert.AreEqual (BorderStyle.Fixed3D, 
myToolBar.BorderStyle, "#B5"); 
                        Assert.AreEqual (2, myToolBar.Buttons.Count, "#B6");
                        Assert.AreEqual ("B", myToolBar.Buttons [1].Text, 
"#B7");
-                       Assert.AreEqual (39, myToolBar.ButtonSize.Width, "#B8");
-                       Assert.AreEqual (36, myToolBar.ButtonSize.Height, 
"#B9");
                        
                        // D
                        Assert.AreEqual (DockStyle.Top, myToolBar.Dock, "#D1");

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

Reply via email to