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

Issue 2603583002: Add user-gesture-related tests for ContentAutofillDriver (Closed)

Created:
3 years, 12 months ago by vabr (Chromium)
Modified:
3 years, 12 months ago
Reviewers:
dvadym
CC:
chromium-reviews, rouslan+autofill_chromium.org, jam, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add user-gesture-related tests for ContentAutofillDriver The methods ContentAutofillDriver::FirstUserGestureObserved and ContentAutofillDriver::NotifyFirstUserGestureObservedInTab do not seem to be tested yet. This CL adds tests for that. This is in preparation to fixing https://crbug.com/669045, to avoid inflating the CL with the fix by adding tests for existing code. BUG=669045 Committed: https://crrev.com/603bbb6727a01a230ec804a2367537dd9aa11dc5 Cr-Commit-Position: refs/heads/master@{#440624}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Simpler test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -5 lines) Patch
M components/autofill/content/browser/content_autofill_driver_unittest.cc View 1 6 chunks +22 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
vabr (Chromium)
Hi Vadym, Could you please take a look? Cheers, Vaclav
3 years, 12 months ago (2016-12-23 12:34:30 UTC) #4
vabr (Chromium)
https://codereview.chromium.org/2603583002/diff/1/components/autofill/content/browser/content_autofill_driver_unittest.cc File components/autofill/content/browser/content_autofill_driver_unittest.cc (right): https://codereview.chromium.org/2603583002/diff/1/components/autofill/content/browser/content_autofill_driver_unittest.cc#newcode490 components/autofill/content/browser/content_autofill_driver_unittest.cc:490: fake_agent_.SetQuitLoopClosure(run_loop.QuitClosure()); I just realised that this makes no sense ...
3 years, 12 months ago (2016-12-23 12:54:18 UTC) #5
vabr (Chromium)
Test fixed, sorry for the interruption. This is fit for review again. Cheers, Vaclav
3 years, 12 months ago (2016-12-23 13:00:13 UTC) #8
dvadym
On 2016/12/23 13:00:13, vabr (Chromium) wrote: > Test fixed, sorry for the interruption. This is ...
3 years, 12 months ago (2016-12-23 13:05:52 UTC) #9
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/2603583002/20001
3 years, 12 months ago (2016-12-23 13:13:18 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 12 months ago (2016-12-23 13:38:24 UTC) #15
commit-bot: I haz the power
3 years, 12 months ago (2016-12-23 13:40:46 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/603bbb6727a01a230ec804a2367537dd9aa11dc5
Cr-Commit-Position: refs/heads/master@{#440624}

Powered by Google App Engine
This is Rietveld 408576698