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

Issue 13954013: Port some importer unit tests to browser tests to be able to fully exercise the ExternalProcessImpo… (Closed)

Created:
7 years, 8 months ago by gab
Modified:
7 years, 8 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Port some importer unit tests to browser tests to be able to fully exercise the ExternalProcessImporterHost. These need to be browser_tests as the ExternalProcessImporterHost uses a utility process (which unit_tests don't support). Safari/toolbar importer tests don't need to be made into browser tests as Firefox tests are sufficient to exercise ExternalProcessImporterHost on every platform (and the IE tests are necessary to exercise some extra Windows-specific COM magic coming as part of http://crbug.com/219419). For now only Mac uses the ExternalProcessImporterHost, but Windows and Linux will be ported over in upcoming CLs. Enhanced importer_unittest_utils to have better error reporting (i.e. instead of just returning false on failed comparison which was hard to diagnose). Precursor CL to https://codereview.chromium.org/12670013 TBR=ben@chromium.org BUG=219419, 22142 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196518

Patch Set 1 : #

Total comments: 2

Patch Set 2 : merge up to r196136 #

Patch Set 3 : merge up to r196404 #

Patch Set 4 : fix includes post-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1145 lines, -2563 lines) Patch
A + chrome/browser/importer/firefox_importer_browsertest.cc View 1 chunk +517 lines, -773 lines 0 comments Download
M chrome/browser/importer/firefox_importer_unittest.cc View 2 chunks +0 lines, -469 lines 0 comments Download
A + chrome/browser/importer/ie_importer_browsertest_win.cc View 1 2 1 chunk +608 lines, -652 lines 0 comments Download
M chrome/browser/importer/ie_importer_unittest_win.cc View 1 2 3 1 chunk +2 lines, -594 lines 0 comments Download
M chrome/browser/importer/importer_unittest_utils.h View 2 chunks +5 lines, -37 lines 0 comments Download
M chrome/browser/importer/importer_unittest_utils.cc View 1 chunk +9 lines, -36 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
gab
Miranda, please take a look :)! Cheers! Gab https://codereview.chromium.org/13954013/diff/2001/chrome/browser/importer/firefox_importer_browsertest.cc File chrome/browser/importer/firefox_importer_browsertest.cc (right): https://codereview.chromium.org/13954013/diff/2001/chrome/browser/importer/firefox_importer_browsertest.cc#newcode57 chrome/browser/importer/firefox_importer_browsertest.cc:57: {false, ...
7 years, 8 months ago (2013-04-18 18:09:44 UTC) #1
Miranda Callahan
Great CL -- LGTM, thanks! https://codereview.chromium.org/13954013/diff/2001/chrome/browser/importer/firefox_importer_browsertest.cc File chrome/browser/importer/firefox_importer_browsertest.cc (right): https://codereview.chromium.org/13954013/diff/2001/chrome/browser/importer/firefox_importer_browsertest.cc#newcode57 chrome/browser/importer/firefox_importer_browsertest.cc:57: {false, 1, {L"< > ...
7 years, 8 months ago (2013-04-18 18:25:19 UTC) #2
gab
Thanks, added more explanations to the description as to why these need to be browser_tests. ...
7 years, 8 months ago (2013-04-18 19:38:35 UTC) #3
gab
TBR ben for gyp changes. Thanks! Gab
7 years, 8 months ago (2013-04-23 22:48:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/13954013/17001
7 years, 8 months ago (2013-04-24 20:01:12 UTC) #5
commit-bot: I haz the power
Failed to apply patch for chrome/browser/importer/ie_importer_browsertest_win.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; A chrome/browser/importer/ie_importer_browsertest_win.cc ...
7 years, 8 months ago (2013-04-24 20:01:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/13954013/17001
7 years, 8 months ago (2013-04-24 21:44:27 UTC) #7
commit-bot: I haz the power
Failed to apply patch for chrome/browser/importer/ie_importer_browsertest_win.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; A chrome/browser/importer/ie_importer_browsertest_win.cc ...
7 years, 8 months ago (2013-04-24 21:44:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/13954013/31002
7 years, 8 months ago (2013-04-25 15:49:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/13954013/32005
7 years, 8 months ago (2013-04-25 16:00:44 UTC) #10
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=33359
7 years, 8 months ago (2013-04-25 19:13:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/13954013/32005
7 years, 8 months ago (2013-04-25 21:19:41 UTC) #12
commit-bot: I haz the power
7 years, 8 months ago (2013-04-25 22:50:42 UTC) #13
Message was sent while issue was closed.
Change committed as 196518

Powered by Google App Engine
This is Rietveld 408576698