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

Side by Side Diff: chrome/browser/ui/views/menu_model_adapter_test.cc

Issue 10409027: Disable or mark flaky several UI tests on Win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/views/menu_item_view_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/callback.h" 5 #include "base/callback.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/test/base/view_event_test_base.h" 7 #include "chrome/test/base/view_event_test_base.h"
8 #include "chrome/test/base/ui_test_utils.h" 8 #include "chrome/test/base/ui_test_utils.h"
9 #include "ui/base/models/menu_model.h" 9 #include "ui/base/models/menu_model.h"
10 #include "ui/ui_controls/ui_controls.h" 10 #include "ui/ui_controls/ui_controls.h"
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 views::ViewsDelegate* old_views_delegate_; 382 views::ViewsDelegate* old_views_delegate_;
383 TestViewsDelegate views_delegate_; 383 TestViewsDelegate views_delegate_;
384 384
385 views::MenuButton* button_; 385 views::MenuButton* button_;
386 TopMenuModel top_menu_model_; 386 TopMenuModel top_menu_model_;
387 views::MenuModelAdapter menu_model_adapter_; 387 views::MenuModelAdapter menu_model_adapter_;
388 views::MenuItemView* menu_; 388 views::MenuItemView* menu_;
389 scoped_ptr<views::MenuRunner> menu_runner_; 389 scoped_ptr<views::MenuRunner> menu_runner_;
390 }; 390 };
391 391
392 VIEW_TEST(MenuModelAdapterTest, RebuildMenu) 392 #if defined(OS_WIN)
393 #define MAYBE_RebuildMenu DISABLED_RebuildMenu
394 #else
395 #define MAYBE_RebuildMenu RebuildMenu
396 #endif
397 VIEW_TEST(MenuModelAdapterTest, MAYBE_RebuildMenu)
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/menu_item_view_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698