Index: chrome/browser/password_manager/password_store_mac_unittest.cc |
diff --git a/chrome/browser/password_manager/password_store_mac_unittest.cc b/chrome/browser/password_manager/password_store_mac_unittest.cc |
index 71ac708072e6375fd6ebb07d1a996d10da87e112..5025e3570862170d556a1fb5bb7382dd509781b6 100644 |
--- a/chrome/browser/password_manager/password_store_mac_unittest.cc |
+++ b/chrome/browser/password_manager/password_store_mac_unittest.cc |
@@ -1249,7 +1249,7 @@ TEST_F(PasswordStoreMacTest, TestStoreUpdate) { |
} |
matching_items.clear(); |
- login_db()->GetLogins(*query_form, &matching_items); |
+ EXPECT_TRUE(login_db()->GetLogins(*query_form, &matching_items)); |
EXPECT_EQ(updates[i].password ? 1U : 0U, matching_items.size()) |
<< "iteration " << i; |
} |
@@ -1312,13 +1312,13 @@ TEST_F(PasswordStoreMacTest, TestDBKeychainAssociation) { |
owned_keychain_adapter.PasswordsFillingForm(www_form->signon_realm, |
www_form->scheme); |
EXPECT_EQ(0u, matching_items.size()); |
- login_db()->GetLogins(*www_form, &matching_items); |
+ EXPECT_TRUE(login_db()->GetLogins(*www_form, &matching_items)); |
EXPECT_EQ(0u, matching_items.size()); |
// No trace of m.facebook.com. |
matching_items = owned_keychain_adapter.PasswordsFillingForm( |
m_form.signon_realm, m_form.scheme); |
EXPECT_EQ(0u, matching_items.size()); |
- login_db()->GetLogins(m_form, &matching_items); |
+ EXPECT_TRUE(login_db()->GetLogins(m_form, &matching_items)); |
EXPECT_EQ(0u, matching_items.size()); |
} |
@@ -1486,7 +1486,7 @@ TEST_F(PasswordStoreMacTest, TestRemoveLoginsMultiProfile) { |
FinishAsyncProcessing(); |
ScopedVector<PasswordForm> matching_items; |
- login_db()->GetLogins(*www_form, &matching_items); |
+ EXPECT_TRUE(login_db()->GetLogins(*www_form, &matching_items)); |
EXPECT_EQ(1u, matching_items.size()); |
matching_items.clear(); |
@@ -1494,7 +1494,7 @@ TEST_F(PasswordStoreMacTest, TestRemoveLoginsMultiProfile) { |
FinishAsyncProcessing(); |
// Check the second facebook form is gone. |
- login_db()->GetLogins(*www_form, &matching_items); |
+ EXPECT_TRUE(login_db()->GetLogins(*www_form, &matching_items)); |
EXPECT_EQ(0u, matching_items.size()); |
// Check the first facebook form is still there. |