summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 01:32:30 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 01:32:30 +0000
commitd3b4467b7f2206a4ddf47228d983ec66e432c7c8 (patch)
treec2f5dcd312a13743a021504aa91b8a965bcae01d /views
parent3b7c7b76f97648400c850dc034f01b6ca561c974 (diff)
downloadchromium_src-d3b4467b7f2206a4ddf47228d983ec66e432c7c8.zip
chromium_src-d3b4467b7f2206a4ddf47228d983ec66e432c7c8.tar.gz
chromium_src-d3b4467b7f2206a4ddf47228d983ec66e432c7c8.tar.bz2
Disable WidgetTest.GrabUngrab on ChromeOS.
BUG=89829 TEST=WidgetTest.GrabUngrab Review URL: http://codereview.chromium.org/7457014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/widget/widget_unittest.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/widget/widget_unittest.cc b/views/widget/widget_unittest.cc
index a8212b0..6bdfcdc 100644
--- a/views/widget/widget_unittest.cc
+++ b/views/widget/widget_unittest.cc
@@ -186,8 +186,14 @@ TEST_F(WidgetTest, GetTopLevelWidget_SyntheticParent) {
// |child1| and |child11| should be destroyed with |toplevel|.
}
+// Fails on ChromeOS. http://crbug.com/89829
+#if defined(OS_CHROMEOS)
+#define MAYBE_GrabUngrab DISABLED_GrabUngrab
+#else
+#define MAYBE_GrabUngrab GrabUngrab
+#endif
// Tests some grab/ungrab events.
-TEST_F(WidgetTest, GrabUngrab) {
+TEST_F(WidgetTest, MAYBE_GrabUngrab) {
Widget* toplevel = CreateTopLevelPlatformWidget();
views_delegate.set_default_parent_view(toplevel->GetRootView());