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

Side by Side Diff: chrome/browser/ui/views/button_dropdown_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
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/message_loop.h" 5 #include "base/message_loop.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/simple_menu_model.h" 9 #include "ui/base/models/simple_menu_model.h"
10 #include "ui/ui_controls/ui_controls.h" 10 #include "ui/ui_controls/ui_controls.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 Done(); 123 Done();
124 } 124 }
125 125
126 private: 126 private:
127 views::ButtonDropDown* button_; 127 views::ButtonDropDown* button_;
128 ui::SimpleMenuModel menu_model_; 128 ui::SimpleMenuModel menu_model_;
129 bool menu_shown_; 129 bool menu_shown_;
130 bool menu_closed_; 130 bool menu_closed_;
131 }; 131 };
132 132
133 VIEW_TEST(ButtonDropDownDragTest, DragActivation) 133 #if defined(OS_WIN)
134 #define MAYBE_DragActivation DISABLED_DragActivation
135 #else
136 #define MAYBE_DragActivation DragActivation
137 #endif
138 VIEW_TEST(ButtonDropDownDragTest, MAYBE_DragActivation)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698