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

Issue 180953004: Componentize several Autofill unit tests. (Closed)

Created:
6 years, 9 months ago by blundell
Modified:
6 years, 9 months ago
CC:
chromium-reviews, benquan, browser-components-watch_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

Componentize several Autofill unit tests. The PersonalDataManager unittests are the only ones requiring non-trivial refactoring. BUG=303083 R=isherman@chromium.org TBR=jochen Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255541

Patch Set 1 #

Total comments: 10

Patch Set 2 : Response to review #

Patch Set 3 : Disable system services #

Total comments: 2

Patch Set 4 : Response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -211 lines) Patch
M chrome/browser/autofill/autofill_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_interactive_uitest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_generation_interactive_uitest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/bidi_checker_web_ui_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M components/autofill/core/browser/autofill_external_delegate_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_test_utils.h View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M components/autofill/core/browser/autofill_test_utils.cc View 1 2 3 3 chunks +3 lines, -6 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager_unittest.cc View 1 2 78 chunks +154 lines, -186 lines 0 comments Download
M components/components_tests.gyp View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
blundell
Some questions about the PersonalDataManager unittests... https://codereview.chromium.org/180953004/diff/1/components/autofill/core/browser/personal_data_manager_unittest.cc File components/autofill/core/browser/personal_data_manager_unittest.cc (left): https://codereview.chromium.org/180953004/diff/1/components/autofill/core/browser/personal_data_manager_unittest.cc#oldcode39 components/autofill/core/browser/personal_data_manager_unittest.cc:39: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); Is it ...
6 years, 9 months ago (2014-03-05 15:55:00 UTC) #1
Ilya Sherman
LGTM w/ nit addressed. Thanks! https://codereview.chromium.org/180953004/diff/1/components/autofill/core/browser/personal_data_manager_unittest.cc File components/autofill/core/browser/personal_data_manager_unittest.cc (left): https://codereview.chromium.org/180953004/diff/1/components/autofill/core/browser/personal_data_manager_unittest.cc#oldcode39 components/autofill/core/browser/personal_data_manager_unittest.cc:39: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); On 2014/03/05 15:55:01, ...
6 years, 9 months ago (2014-03-05 23:59:43 UTC) #2
blundell
Thanks! https://codereview.chromium.org/180953004/diff/1/components/autofill/core/browser/personal_data_manager_unittest.cc File components/autofill/core/browser/personal_data_manager_unittest.cc (left): https://codereview.chromium.org/180953004/diff/1/components/autofill/core/browser/personal_data_manager_unittest.cc#oldcode39 components/autofill/core/browser/personal_data_manager_unittest.cc:39: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); On 2014/03/05 23:59:44, Ilya Sherman wrote: > ...
6 years, 9 months ago (2014-03-06 09:32:31 UTC) #3
blundell
Hi Ilya, Could you take another look over the changes to autofill_test_utils and //chrome? I ...
6 years, 9 months ago (2014-03-06 15:42:57 UTC) #4
Ilya Sherman
LGTM, thanks Colin! https://codereview.chromium.org/180953004/diff/40001/components/autofill/core/browser/autofill_test_utils.cc File components/autofill/core/browser/autofill_test_utils.cc (right): https://codereview.chromium.org/180953004/diff/40001/components/autofill/core/browser/autofill_test_utils.cc#newcode216 components/autofill/core/browser/autofill_test_utils.cc:216: } nit: No need for curlies ...
6 years, 9 months ago (2014-03-07 01:52:15 UTC) #5
blundell
https://codereview.chromium.org/180953004/diff/40001/components/autofill/core/browser/autofill_test_utils.cc File components/autofill/core/browser/autofill_test_utils.cc (right): https://codereview.chromium.org/180953004/diff/40001/components/autofill/core/browser/autofill_test_utils.cc#newcode216 components/autofill/core/browser/autofill_test_utils.cc:216: } On 2014/03/07 01:52:16, Ilya Sherman wrote: > nit: ...
6 years, 9 months ago (2014-03-07 06:24:18 UTC) #6
blundell
TBR=jochen for //chrome
6 years, 9 months ago (2014-03-07 06:47:50 UTC) #7
blundell
6 years, 9 months ago (2014-03-07 08:30:01 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r255541 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698