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

Issue 17465003: Fix most tests in //components/autofill/content to not depend on //chrome. (Closed)

Created:
7 years, 6 months ago by Jói
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Raman Kakilate, benquan, jam, ahutter, browser-components-watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, Albert Bodenhamer, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

Fix most tests in //components/autofill/content to not depend on //chrome. BUG=140037 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207859

Patch Set 1 #

Patch Set 2 : Fix compilation issue in interactive_ui_tests. #

Total comments: 4

Patch Set 3 : Remove IO thread, seems not needed. #

Total comments: 4

Patch Set 4 : Address review comments. #

Patch Set 5 : Merge LKGR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -70 lines) Patch
M chrome/browser/autofill/autofill_interactive_uitest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/content/browser/DEPS View 1 2 3 1 chunk +13 lines, -23 lines 0 comments Download
M components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc View 1 2 3 4 3 chunks +0 lines, -10 lines 0 comments Download
M components/autofill/content/browser/wallet/encryption_escrow_client_unittest.cc View 1 2 3 4 3 chunks +4 lines, -11 lines 0 comments Download
M components/autofill/content/browser/wallet/wallet_client_unittest.cc View 1 2 3 4 4 chunks +4 lines, -10 lines 0 comments Download
M components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc View 1 2 3 4 3 chunks +4 lines, -10 lines 0 comments Download
M components/autofill/core/browser/autofill_common_test.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_common_test.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Jói
7 years, 6 months ago (2013-06-19 14:04:06 UTC) #1
blundell
https://codereview.chromium.org/17465003/diff/5001/components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc File components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc (left): https://codereview.chromium.org/17465003/diff/5001/components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc#oldcode97 components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc:97: profile_.CreateRequestContext(); Why is it OK to remove these calls ...
7 years, 6 months ago (2013-06-19 15:34:52 UTC) #2
Jói
https://codereview.chromium.org/17465003/diff/5001/components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc File components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc (left): https://codereview.chromium.org/17465003/diff/5001/components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc#oldcode97 components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc:97: profile_.CreateRequestContext(); On 2013/06/19 15:34:52, blundell wrote: > Why is ...
7 years, 6 months ago (2013-06-19 15:38:04 UTC) #3
Jói
Looks like the io_thread_ thing was no longer needed in a couple of tests; uploaded ...
7 years, 6 months ago (2013-06-19 17:37:19 UTC) #4
blundell
lgtm Thanks for the explanations!
7 years, 6 months ago (2013-06-19 17:53:21 UTC) #5
Jói
+isherman@ to sanity check removal of TestBrowserThread IO thread thingies from tests (blundell@ already reviewed ...
7 years, 6 months ago (2013-06-19 18:06:18 UTC) #6
Paweł Hajdan Jr.
LGTM with a comment. https://codereview.chromium.org/17465003/diff/12001/components/autofill/content/browser/DEPS File components/autofill/content/browser/DEPS (right): https://codereview.chromium.org/17465003/diff/12001/components/autofill/content/browser/DEPS#newcode33 components/autofill/content/browser/DEPS:33: "+chrome/test/base/chrome_render_view_host_test_harness.h", Why not "!" ?
7 years, 6 months ago (2013-06-19 23:00:03 UTC) #7
Ilya Sherman
Drive-by LGTM with a nit: https://codereview.chromium.org/17465003/diff/12001/components/autofill/browser/autofill_common_test.h File components/autofill/browser/autofill_common_test.h (right): https://codereview.chromium.org/17465003/diff/12001/components/autofill/browser/autofill_common_test.h#newcode73 components/autofill/browser/autofill_common_test.h:73: void DisableSystemServices(content::BrowserContext* profile); nit: ...
7 years, 6 months ago (2013-06-19 23:06:14 UTC) #8
Jói
https://codereview.chromium.org/17465003/diff/12001/components/autofill/browser/autofill_common_test.h File components/autofill/browser/autofill_common_test.h (right): https://codereview.chromium.org/17465003/diff/12001/components/autofill/browser/autofill_common_test.h#newcode73 components/autofill/browser/autofill_common_test.h:73: void DisableSystemServices(content::BrowserContext* profile); On 2013/06/19 23:06:14, Ilya Sherman wrote: ...
7 years, 6 months ago (2013-06-21 13:13:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/17465003/21002
7 years, 6 months ago (2013-06-21 13:13:54 UTC) #10
commit-bot: I haz the power
Failed to apply patch for components/autofill/browser/autofill_common_test.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
7 years, 6 months ago (2013-06-21 13:13:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/17465003/22009
7 years, 6 months ago (2013-06-21 13:40:32 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 16:41:19 UTC) #13
Message was sent while issue was closed.
Change committed as 207859

Powered by Google App Engine
This is Rietveld 408576698