2007-06-07 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Thu, 7 Jun 2007 19:05:35 +0000 (19:05 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Thu, 7 Jun 2007 19:05:35 +0000 (19:05 -0000)
* ScrollableControlTest.cs: ScrollToControl test is theme dependent due to
the width of scrollbars.

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

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

index aba52752d9de8eaf90500b484b08319444a0af82..abfb4f871929a2e0f712c0ca1dfaf4208dc18ef9 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-07  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ScrollableControlTest.cs: ScrollToControl test is theme dependent due to
+       the width of scrollbars.
+
 2007-06-07  Jonathan Pobst  <monkey@jpobst.com>
 
        * ScrollableControlTest.cs: Add test for ScrollToControl.
index fd2922e01a9cdf64481984a94f6033ac5eb6dbc6..b618abf9d70cc7e494b6d7a85eba7faa18c34123 100644 (file)
@@ -99,6 +99,9 @@ namespace MonoTests.System.Windows.Forms
                [Test]
                public void MethodScrollToControl ()
                {
+                       if (TestHelper.RunningOnUnix)
+                               Assert.Ignore ("Depends of scrollbar width, values are for Windows");
+
                        Form f = new Form ();
                        f.ShowInTaskbar = false;
                        f.Show ();