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

Unified Diff: chrome/browser/password_manager/login_database_unittest.cc

Issue 151176: Implement Add and Update for PasswordStoreMac.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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: chrome/browser/password_manager/login_database_unittest.cc
===================================================================
--- chrome/browser/password_manager/login_database_unittest.cc (revision 19737)
+++ chrome/browser/password_manager/login_database_unittest.cc (working copy)
@@ -159,7 +159,9 @@
// We update, and check to make sure it matches the
// old form, and there is only one record.
- EXPECT_TRUE(db->UpdateLogin(form6));
+ int rows_changed = 0;
+ EXPECT_TRUE(db->UpdateLogin(form6, &rows_changed));
+ EXPECT_EQ(1, rows_changed);
// matches
EXPECT_TRUE(db->GetLogins(form5, &result));
EXPECT_EQ(1U, result.size());

Powered by Google App Engine
This is Rietveld 408576698