2007-06-06 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Wed, 6 Jun 2007 17:14:08 +0000 (17:14 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Wed, 6 Jun 2007 17:14:08 +0000 (17:14 -0000)
* ButtonTest.cs: BehaviorAutoSize is font dependent, only run on windows.

svn path=/trunk/mcs/; revision=78769

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

index 92facf72d8a7c2000830d8475aeccb53ba398d8d..39c3fd6fc05e3ba4b50bd81caa15fdcf441125ef 100644 (file)
@@ -80,6 +80,9 @@ namespace MonoTests.System.Windows.Forms
                [Test]
                public void BehaviorAutoSize ()
                {
+                       if (TestHelper.RunningOnUnix)
+                               Assert.Ignore ("Depends on font measurements, corresponds to windows");
+                               
                        Form f = new Form ();
                        f.ShowInTaskbar = false;
                        
index dbe217679ff27ba439b5063befa4111ad6a9ba43..db580f5716060bb497d71c7e30ac6f7853662508 100644 (file)
@@ -1,3 +1,7 @@
+2007-06-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ButtonTest.cs: BehaviorAutoSize is font dependent, only run on windows.
+
 2007-06-06  Jonathan Pobst  <monkey@jpobst.com>
 
        * ButtonBaseTest.cs: Add test for default values.