Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(911)

Unified Diff: chrome/browser/ui/views/menu_view_drag_and_drop_test.cc

Issue 842513003: MacViews: Disable tests in MenuViewDragAndDropTest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/menu_view_drag_and_drop_test.cc
diff --git a/chrome/browser/ui/views/menu_view_drag_and_drop_test.cc b/chrome/browser/ui/views/menu_view_drag_and_drop_test.cc
index 43502da73bbc4195b47e4da448a6d7f9904e6253..a22882afeb742cdcee837c52951e12ab61c17cba 100644
--- a/chrome/browser/ui/views/menu_view_drag_and_drop_test.cc
+++ b/chrome/browser/ui/views/menu_view_drag_and_drop_test.cc
@@ -18,7 +18,9 @@ namespace {
// Borrowed from chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc,
// since these are also disabled on Linux for drag and drop.
// TODO(erg): Fix DND tests on linux_aura. crbug.com/163931
-#if defined(OS_LINUX) && defined(USE_AURA)
+// Windows: Flaky. http://crbug.com/401226
+// MacViews: Enable these tests if they get fixed. https://crbug.com/449058
+#if defined(OS_LINUX) && defined(USE_AURA) || defined(OS_WIN) || defined(OS_MACOSX)
tapted 2015/01/15 06:38:07 Since this is basically #if (true)... we might as
jackhou1 2015/01/15 06:53:28 Done.
#define MAYBE(x) DISABLED_##x
#else
#define MAYBE(x) x
@@ -348,9 +350,7 @@ void MenuViewDragAndDropTestTestInMenuDrag::Step4() {
// Test that an in-menu (i.e., entirely implemented in the menu code) closes the
// menu automatically once the drag is complete, and does not ask the delegate
// to stay open.
-#if !defined(OS_WIN) // flaky http://crbug.com/401226
VIEW_TEST(MenuViewDragAndDropTestTestInMenuDrag, MAYBE(TestInMenuDrag))
-#endif
class MenuViewDragAndDropTestNestedDrag : public MenuViewDragAndDropTest {
public:
@@ -448,10 +448,8 @@ void MenuViewDragAndDropTestNestedDrag::Step4() {
// Test that a nested drag (i.e. one via a child view, and not entirely
// implemented in menu code) will consult the delegate before closing the view
// after the drag.
-#if !defined(OS_WIN) // http://crbug.com/401226
VIEW_TEST(MenuViewDragAndDropTestNestedDrag,
MAYBE(MenuViewDragAndDropNestedDrag))
-#endif
class MenuViewDragAndDropForDropStayOpen : public MenuViewDragAndDropTest {
public:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698