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

Unified Diff: components/autofill/core/browser/autofill_external_delegate_unittest.cc

Issue 445573002: Fix GMOCK warnings in AutofillExternalDelegateUnitTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_external_delegate_unittest.cc
diff --git a/components/autofill/core/browser/autofill_external_delegate_unittest.cc b/components/autofill/core/browser/autofill_external_delegate_unittest.cc
index 494bbbbb7d4079741bfc7c851a0515157e5d7ca4..e58847a6a4e03d0a4418afe5b0ea92c72ab0e717 100644
--- a/components/autofill/core/browser/autofill_external_delegate_unittest.cc
+++ b/components/autofill/core/browser/autofill_external_delegate_unittest.cc
@@ -177,6 +177,10 @@ TEST_F(AutofillExternalDelegateUnitTest, ExternalDelegateDataList) {
std::vector<base::string16> data_list_items;
data_list_items.push_back(base::string16());
+ EXPECT_CALL(
+ autofill_client_,
+ UpdateAutofillPopupDataListValues(data_list_items, data_list_items));
+
external_delegate_->SetCurrentDataListValues(data_list_items,
data_list_items);
@@ -242,6 +246,10 @@ TEST_F(AutofillExternalDelegateUnitTest, UpdateDataListWhileShowingPopup) {
std::vector<base::string16> data_list_items;
data_list_items.push_back(base::string16());
+ EXPECT_CALL(
+ autofill_client_,
+ UpdateAutofillPopupDataListValues(data_list_items, data_list_items));
+
external_delegate_->SetCurrentDataListValues(data_list_items,
data_list_items);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698