From 3186e828aa5b8c917f166f93ef63969284cfa892 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Mon, 10 May 2010 22:43:22 +0000 Subject: TTF: Re-enable MouseLeaveTest.TestOnMouseOut on Mac, as the necessary infrastructure has been ported. BUG=none TEST=none Review URL: http://codereview.chromium.org/2057003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46865 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/ui/mouseleave_uitest.cc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'chrome/test') diff --git a/chrome/test/ui/mouseleave_uitest.cc b/chrome/test/ui/mouseleave_uitest.cc index 29e4f1c..e01a2e6 100644 --- a/chrome/test/ui/mouseleave_uitest.cc +++ b/chrome/test/ui/mouseleave_uitest.cc @@ -12,16 +12,11 @@ #include "gfx/rect.h" #include "googleurl/src/gurl.h" -#if defined(OS_MACOSX) -// window->GetViewBounds is not implemented -// window->SimulateOSMouseMove is not implemented -// http://code.google.com/p/chromium/issues/detail?id=26102 -#define MAYBE_TestOnMouseOut DISABLED_TestOnMouseOut -#elif defined(OS_WIN) +#if defined(OS_WIN) || defined(OS_MACOSX) // Test succeeds locally, flaky on trybot // http://code.google.com/p/chromium/issues/detail?id=26349 -#define MAYBE_TestOnMouseOut FLAKY_TestOnMouseOut -#endif +#define TestOnMouseOut FLAKY_TestOnMouseOut +#endif // defined(OS_WIN) || defined(OS_MACOSX) namespace { @@ -35,7 +30,7 @@ class MouseLeaveTest : public UITest { DISALLOW_COPY_AND_ASSIGN(MouseLeaveTest); }; -TEST_F(MouseLeaveTest, MAYBE_TestOnMouseOut) { +TEST_F(MouseLeaveTest, TestOnMouseOut) { GURL test_url = ui_test_utils::GetTestUrl( FilePath(FilePath::kCurrentDirectory), FilePath(FILE_PATH_LITERAL("mouseleave.html"))); -- cgit v1.1