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

Issue 2167003003: [Password Manager] Make expected the calls of FormSaver in password_form_manager_unittests.cc (Closed)

Created:
4 years, 5 months ago by kolos1
Modified:
4 years, 5 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password Manager] Make expected the calls of FormSaver in password_form_manager_unittests.cc Otherwise, unittests will show warnings 'unexpected calls'. BUG=621355 Committed: https://crrev.com/d0297390345d61d57a39736f898362888a9aaf30 Cr-Commit-Position: refs/heads/master@{#406839}

Patch Set 1 #

Patch Set 2 : Replaced EXPECT_CALL with NiceMock<MockFormSaver> #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -20 lines) Patch
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 8 chunks +20 lines, -20 lines 2 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (8 generated)
kolos1
Hi Vaclav, I fixed 'unexpected calls' of FormSaver in password_form_manager_unittests.cc. Please review. Regards, Maxim
4 years, 5 months ago (2016-07-21 11:31:26 UTC) #2
vabr (Chromium)
Hi Maxim, Sorry for the log spam. However, adding EXPECT_CALLS is not the right solution ...
4 years, 5 months ago (2016-07-21 11:57:50 UTC) #3
kolos1
On 2016/07/21 11:57:50, vabr (Chromium) wrote: > Hi Maxim, > > Sorry for the log ...
4 years, 5 months ago (2016-07-21 13:08:42 UTC) #5
kolos1
https://codereview.chromium.org/2167003003/diff/40001/components/password_manager/core/browser/password_form_manager_unittest.cc File components/password_manager/core/browser/password_form_manager_unittest.cc (right): https://codereview.chromium.org/2167003003/diff/40001/components/password_manager/core/browser/password_form_manager_unittest.cc#newcode419 components/password_manager/core/browser/password_form_manager_unittest.cc:419: observed_form_, base::WrapUnique(new NiceMock<MockFormSaver>()))); Is it ok if the default ...
4 years, 5 months ago (2016-07-21 13:08:50 UTC) #6
vabr (Chromium)
LGTM, thanks! Vaclav https://codereview.chromium.org/2167003003/diff/40001/components/password_manager/core/browser/password_form_manager_unittest.cc File components/password_manager/core/browser/password_form_manager_unittest.cc (right): https://codereview.chromium.org/2167003003/diff/40001/components/password_manager/core/browser/password_form_manager_unittest.cc#newcode419 components/password_manager/core/browser/password_form_manager_unittest.cc:419: observed_form_, base::WrapUnique(new NiceMock<MockFormSaver>()))); On 2016/07/21 13:08:50, ...
4 years, 5 months ago (2016-07-21 13:26:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2167003003/40001
4 years, 5 months ago (2016-07-21 14:07:09 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 5 months ago (2016-07-21 14:10:38 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 14:12:14 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d0297390345d61d57a39736f898362888a9aaf30
Cr-Commit-Position: refs/heads/master@{#406839}

Powered by Google App Engine
This is Rietveld 408576698