summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_focus_uitest.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-08 19:59:30 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-08 19:59:30 +0000
commitd9fde8deca892d79f064746e322cf6270d289a18 (patch)
tree49c9c72fc7505278d86899c943466e93943cf8ba /chrome/browser/browser_focus_uitest.cc
parent1e08c8bf57b4c2a3e465a8446e9f9bfbec267fe4 (diff)
downloadchromium_src-d9fde8deca892d79f064746e322cf6270d289a18.zip
chromium_src-d9fde8deca892d79f064746e322cf6270d289a18.tar.gz
chromium_src-d9fde8deca892d79f064746e322cf6270d289a18.tar.bz2
Disable BrowserFocusTest.ClickingMovesFocus as it is crashing the interactive UI tests in win.
TBR=zork BUG=none TEST=none Review URL: http://codereview.chromium.org/265043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_focus_uitest.cc')
-rw-r--r--chrome/browser/browser_focus_uitest.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/browser/browser_focus_uitest.cc b/chrome/browser/browser_focus_uitest.cc
index 673b578..df25ba4 100644
--- a/chrome/browser/browser_focus_uitest.cc
+++ b/chrome/browser/browser_focus_uitest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "build/build_config.h"
+
#include "base/message_loop.h"
#include "base/ref_counted.h"
#include "chrome/browser/automation/ui_controls.h"
@@ -217,7 +219,14 @@ class TestInterstitialPage : public InterstitialPage {
} // namespace
-IN_PROC_BROWSER_TEST_F(BrowserFocusTest, ClickingMovesFocus) {
+
+#if defined(OS_WIN)
+#define MAYBE_ClickingMovesFocus DISABLED_ClickingMovesFocus
+#else
+#define MAYBE_ClickingMovesFocus ClickingMovesFocus
+#endif // defined(OS_WIN)
+
+IN_PROC_BROWSER_TEST_F(BrowserFocusTest, MAYBE_ClickingMovesFocus) {
#if defined(OS_LINUX)
// It seems we have to wait a little bit for the widgets to spin up before
// we can start clicking on them.