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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_state_unittest.cc

Issue 1308773002: ManagePasswordsState should ignore the blacklisted forms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « chrome/browser/ui/passwords/manage_passwords_state.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/passwords/manage_passwords_state_unittest.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_state_unittest.cc b/chrome/browser/ui/passwords/manage_passwords_state_unittest.cc
index 02b16729f04076e1c918b9bb15410e8b8f36c736..b36df633e2fbc3d2aefd916a477e017c278baf46 100644
--- a/chrome/browser/ui/passwords/manage_passwords_state_unittest.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_state_unittest.cc
@@ -189,8 +189,7 @@ void ManagePasswordsStateTest::TestBlacklistedUpdates() {
list.push_back(password_manager::PasswordStoreChange(
password_manager::PasswordStoreChange::ADD, blacklisted));
passwords_data().ProcessLoginsChanged(list);
- EXPECT_THAT(passwords_data().GetCurrentForms(),
- Contains(Pointee(blacklisted)));
+ EXPECT_EQ(forms, passwords_data().GetCurrentForms());
EXPECT_EQ(federated_forms, passwords_data().federated_credentials_forms());
EXPECT_EQ(state, passwords_data().state());
EXPECT_EQ(origin, passwords_data().origin());
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_state.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698