Remove NotWorking category from PropertyTest
authorEveraldo Canuto <everaldo@mono-cvs.ximian.com>
Thu, 30 Nov 2006 20:30:53 +0000 (20:30 -0000)
committerEveraldo Canuto <everaldo@mono-cvs.ximian.com>
Thu, 30 Nov 2006 20:30:53 +0000 (20:30 -0000)
svn path=/trunk/mcs/; revision=68775

mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ToolBarTest.cs

index d4c9a97dcce08ee82b6e3e63bf6b6737668a6416..c80b9da04fed7594184ca65b3c49209a86a3075c 100644 (file)
@@ -1,3 +1,12 @@
+2006-11-30  Everaldo Canuto  <everaldo@simios.org>
+
+       * 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  <RKvinge@novell.com>
 
        * MessageTest.cs: Added test for ToString.
index 010ed4b862ee09c6c713e22ebab4f0297f9f4e7e..3eb5d703caf3af2bd19f4ba9da7bfc997a1b274d 100644 (file)
@@ -27,7 +27,6 @@ namespace MonoTests.System.Windows.Forms
                }
 
                [Test]
-               [Category ("NotWorking")]
                public void ToolBarPropertyTest ()
                {       
                        Form myform = new Form ();
@@ -54,8 +53,6 @@ namespace MonoTests.System.Windows.Forms
                        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");