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

Unified Diff: chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm

Issue 1445383003: Introduce PasswordsModelDelegate as an abstraction between ManagePasswordsBubbleModel and ManagePas… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm b/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm
index b607324c1272238825ec78dab158f1c232eba7a0..26ae628c76e9d2fcb14a94176759d7aae4ba64af 100644
--- a/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller_unittest.mm
@@ -157,14 +157,10 @@ TEST_F(ManagePasswordsBubbleAccountChooserViewControllerTest,
federated_forms.Pass(),
GURL("http://example.com"),
base::Callback<void(const password_manager::CredentialInfo&)>()));
- EXPECT_EQ(password_manager::ui::CREDENTIAL_REQUEST_STATE,
- ui_controller()->state());
[controller().credentialsView
selectRowIndexes:[NSIndexSet indexSetWithIndex:1]
byExtendingSelection:NO];
EXPECT_TRUE(delegate().dismissed);
- EXPECT_EQ(password_manager::ui::CREDENTIAL_REQUEST_STATE,
- ui_controller()->state());
EXPECT_TRUE(ui_controller()->choose_credential());
EXPECT_EQ(base::ASCIIToUTF16("taco"),
ui_controller()->chosen_credential().username_value);

Powered by Google App Engine
This is Rietveld 408576698