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

Side by Side Diff: chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm

Issue 1411733009: Bulk rename files in chrome/browser/ui/cocoa/passwords/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-federation
Patch Set: Created 5 years, 1 month 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_account_choos er_view_controller.h" 5 #import "chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.h"
6 6
7 #include "base/mac/foundation_util.h" 7 #include "base/mac/foundation_util.h"
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #import "chrome/browser/ui/cocoa/bubble_combobox.h" 11 #import "chrome/browser/ui/cocoa/bubble_combobox.h"
12 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" 12 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h"
13 #import "chrome/browser/ui/cocoa/passwords/account_avatar_fetcher_manager.h" 13 #import "chrome/browser/ui/cocoa/passwords/account_avatar_fetcher_manager.h"
14 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_account_choos er_view_controller.h" 14 #import "chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.h"
15 #include "chrome/browser/ui/cocoa/passwords/manage_passwords_controller_test.h" 15 #include "chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h"
16 #include "chrome/browser/ui/passwords/account_chooser_more_combobox_model.h" 16 #include "chrome/browser/ui/passwords/account_chooser_more_combobox_model.h"
17 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" 17 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
18 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h" 18 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h"
19 #include "components/password_manager/core/common/password_manager_ui.h" 19 #include "components/password_manager/core/common/password_manager_ui.h"
20 #include "testing/gtest_mac.h" 20 #include "testing/gtest_mac.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
22 22
23 @interface ManagePasswordsBubbleAccountChooserViewController(Testing) 23 @interface ManagePasswordsBubbleAccountChooserViewController(Testing)
24 - (id)initWithModel:(ManagePasswordsBubbleModel*)model 24 - (id)initWithModel:(ManagePasswordsBubbleModel*)model
25 avatarManager:(AccountAvatarFetcherManager*)avatarManager 25 avatarManager:(AccountAvatarFetcherManager*)avatarManager
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 SelectingLearnMoreShowsHelpCenterArticle) { 195 SelectingLearnMoreShowsHelpCenterArticle) {
196 BubbleCombobox* moreButton = controller().moreButton; 196 BubbleCombobox* moreButton = controller().moreButton;
197 EXPECT_TRUE(moreButton); 197 EXPECT_TRUE(moreButton);
198 [[moreButton menu] performActionForItemAtIndex: 198 [[moreButton menu] performActionForItemAtIndex:
199 AccountChooserMoreComboboxModel::INDEX_LEARN_MORE]; 199 AccountChooserMoreComboboxModel::INDEX_LEARN_MORE];
200 EXPECT_TRUE(delegate().dismissed); 200 EXPECT_TRUE(delegate().dismissed);
201 // TODO(dconnelly): Test this when the article is written. 201 // TODO(dconnelly): Test this when the article is written.
202 } 202 }
203 203
204 } // namespace 204 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698