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

Unified Diff: components/password_manager/core/browser/password_store_default_unittest.cc

Issue 1022823002: Make test outputs involving PasswordForms more readable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: components/password_manager/core/browser/password_store_default_unittest.cc
diff --git a/components/password_manager/core/browser/password_store_default_unittest.cc b/components/password_manager/core/browser/password_store_default_unittest.cc
index 73ff7e7116c4e735a63def0822454f8ddbcd831c..324b783202da0755d8df7357325b6e96527e0101 100644
--- a/components/password_manager/core/browser/password_store_default_unittest.cc
+++ b/components/password_manager/core/browser/password_store_default_unittest.cc
@@ -131,7 +131,8 @@ TEST_F(PasswordStoreDefaultTest, NonASCIIData) {
// We expect to get the same data back, even though it's not all ASCII.
EXPECT_CALL(consumer, OnGetPasswordStoreResultsConstRef(
- ContainsSamePasswordForms(expected_forms.get())));
+ password_manager::UnorderedPasswordFormElementsAre(
+ expected_forms.get())));
store->GetAutofillableLogins(&consumer);
base::MessageLoop::current()->RunUntilIdle();

Powered by Google App Engine
This is Rietveld 408576698