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

Issue 493953002: Componentize component_updater: Move a bunch of tests to component. (Closed)

Created:
6 years, 4 months ago by tommycli
Modified:
5 years, 5 months ago
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Componentize component_updater: Move a bunch of tests to component. BUG=371463 TBR=blundell Committed: https://crrev.com/0409b4df1414ee0fb3e7c1179a86324944f242e3 Cr-Commit-Position: refs/heads/master@{#292026}

Patch Set 1 #

Patch Set 2 : Put test data file move in separate CLs. #

Total comments: 13

Patch Set 3 : #

Patch Set 4 : add zlib dep for test #

Patch Set 5 : #

Patch Set 6 : rebase #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -2212 lines) Patch
D chrome/browser/component_updater/test/component_patcher_unittest.h View 1 chunk +0 lines, -43 lines 0 comments Download
D chrome/browser/component_updater/test/component_patcher_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -207 lines 0 comments Download
D chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc View 1 chunk +0 lines, -177 lines 0 comments Download
M chrome/browser/component_updater/test/component_updater_service_unittest.h View 3 chunks +2 lines, -45 lines 0 comments Download
M chrome/browser/component_updater/test/component_updater_service_unittest.cc View 1 2 3 4 5 4 chunks +6 lines, -24 lines 0 comments Download
D chrome/browser/component_updater/test/crx_downloader_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -383 lines 0 comments Download
D chrome/browser/component_updater/test/test_configurator.h View 1 chunk +0 lines, -77 lines 0 comments Download
D chrome/browser/component_updater/test/test_configurator.cc View 1 chunk +0 lines, -148 lines 0 comments Download
D chrome/browser/component_updater/test/test_installer.h View 1 chunk +0 lines, -79 lines 0 comments Download
D chrome/browser/component_updater/test/test_installer.cc View 1 2 3 4 5 1 chunk +0 lines, -86 lines 0 comments Download
D chrome/browser/component_updater/test/update_checker_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -236 lines 0 comments Download
D chrome/browser/component_updater/test/update_response_unittest.cc View 1 chunk +0 lines, -301 lines 0 comments Download
D chrome/browser/component_updater/test/url_request_post_interceptor.h View 1 chunk +0 lines, -114 lines 0 comments Download
D chrome/browser/component_updater/test/url_request_post_interceptor.cc View 1 2 3 4 5 1 chunk +0 lines, -259 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 2 chunks +1 line, -8 lines 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/component_updater.gypi View 1 2 3 4 5 6 3 chunks +27 lines, -1 line 0 comments Download
M components/component_updater/BUILD.gn View 1 2 3 4 5 6 1 chunk +36 lines, -1 line 0 comments Download
A + components/component_updater/test/DEPS View 1 chunk +1 line, -1 line 0 comments Download
A + components/component_updater/test/component_patcher_unittest.h View 1 chunk +0 lines, -1 line 0 comments Download
A + components/component_updater/test/component_patcher_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -5 lines 0 comments Download
A + components/component_updater/test/component_updater_ping_manager_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + components/component_updater/test/crx_downloader_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + components/component_updater/test/test_configurator.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/component_updater/test/test_configurator.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/component_updater/test/test_installer.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/component_updater/test/test_installer.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A + components/component_updater/test/update_checker_unittest.cc View 1 2 3 4 5 4 chunks +5 lines, -10 lines 0 comments Download
A + components/component_updater/test/update_response_unittest.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/component_updater/test/url_request_post_interceptor.h View 3 chunks +43 lines, -0 lines 0 comments Download
A + components/component_updater/test/url_request_post_interceptor.cc View 1 2 3 4 5 2 chunks +21 lines, -2 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
tommycli
sorin/waffles: PTAL. This just moves a bunch of tests into the component. The checkperms is ...
6 years, 4 months ago (2014-08-21 00:35:29 UTC) #1
tommycli
sorin or waffles: ping
6 years, 4 months ago (2014-08-22 16:22:20 UTC) #2
waffles
Yes, I remember there being issues with moving binary files around and the trybots. What ...
6 years, 4 months ago (2014-08-22 16:29:27 UTC) #3
tommycli
On 2014/08/22 16:29:27, waffles wrote: > Yes, I remember there being issues with moving binary ...
6 years, 4 months ago (2014-08-22 16:31:35 UTC) #4
tommycli
waffles: PTAL. I've removed all the test data file changes from this CL. This only ...
6 years, 4 months ago (2014-08-22 16:44:59 UTC) #5
waffles
lgtm I dislike that component_updater_service.cc moved but its test did not. On the other hand, ...
6 years, 4 months ago (2014-08-22 17:08:17 UTC) #6
tommycli
On 2014/08/22 17:08:17, waffles wrote: > lgtm > > I dislike that component_updater_service.cc moved but ...
6 years, 4 months ago (2014-08-22 17:16:17 UTC) #7
Sorin Jianu
Grrrr... lgtm Thank you Tommy! https://codereview.chromium.org/493953002/diff/20001/chrome/browser/component_updater/test/component_updater_service_unittest.cc File chrome/browser/component_updater/test/component_updater_service_unittest.cc (right): https://codereview.chromium.org/493953002/diff/20001/chrome/browser/component_updater/test/component_updater_service_unittest.cc#newcode5 chrome/browser/component_updater/test/component_updater_service_unittest.cc:5: #include "chrome/browser/component_updater/test/component_updater_service_unittest.h" We noticed ...
6 years, 4 months ago (2014-08-22 17:19:59 UTC) #8
tommycli
sorin: Thanks. I replied below. https://codereview.chromium.org/493953002/diff/20001/chrome/browser/component_updater/test/component_updater_service_unittest.cc File chrome/browser/component_updater/test/component_updater_service_unittest.cc (right): https://codereview.chromium.org/493953002/diff/20001/chrome/browser/component_updater/test/component_updater_service_unittest.cc#newcode5 chrome/browser/component_updater/test/component_updater_service_unittest.cc:5: #include "chrome/browser/component_updater/test/component_updater_service_unittest.h" On 2014/08/22 ...
6 years, 4 months ago (2014-08-22 17:31:45 UTC) #9
Sorin Jianu
lgtm Thank you Tommy! https://codereview.chromium.org/493953002/diff/20001/components/component_updater/test/component_patcher_unittest.h File components/component_updater/test/component_patcher_unittest.h (right): https://codereview.chromium.org/493953002/diff/20001/components/component_updater/test/component_patcher_unittest.h#newcode11 components/component_updater/test/component_patcher_unittest.h:11: #include "content/public/test/test_browser_thread_bundle.h" On 2014/08/22 17:31:45, ...
6 years, 4 months ago (2014-08-22 17:35:44 UTC) #10
tommycli
sorin/waffles: Thanks! +blundell: may have a comment on some of the issues we discussed here. ...
6 years, 4 months ago (2014-08-22 17:37:42 UTC) #11
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 4 months ago (2014-08-22 20:36:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/493953002/20001
6 years, 4 months ago (2014-08-22 20:37:29 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-22 20:47:59 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 20:49:37 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/8284) ios_rel_device on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device/builds/8292) ios_rel_device_ninja ...
6 years, 4 months ago (2014-08-22 20:49:37 UTC) #16
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 4 months ago (2014-08-22 21:19:32 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/493953002/60001
6 years, 4 months ago (2014-08-22 21:21:05 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 22:35:32 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 22:43:25 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg/builds/8971)
6 years, 4 months ago (2014-08-22 22:43:26 UTC) #21
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 4 months ago (2014-08-22 23:00:35 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/493953002/80001
6 years, 4 months ago (2014-08-22 23:01:21 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-23 06:00:37 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-23 06:07:21 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg/builds/9049)
6 years, 4 months ago (2014-08-23 06:07:27 UTC) #26
blundell
On 2014/08/22 17:31:45, tommycli wrote: > sorin: Thanks. I replied below. > > https://codereview.chromium.org/493953002/diff/20001/chrome/browser/component_updater/test/component_updater_service_unittest.cc > ...
6 years, 4 months ago (2014-08-25 08:10:36 UTC) #27
blundell
It might have been hard to pick out my response there, so here it is ...
6 years, 4 months ago (2014-08-25 08:11:27 UTC) #28
tommycli
On 2014/08/25 08:11:27, blundell wrote: > It might have been hard to pick out my ...
6 years, 4 months ago (2014-08-25 16:08:53 UTC) #29
blundell
On 2014/08/25 16:08:53, tommycli wrote: > On 2014/08/25 08:11:27, blundell wrote: > > It might ...
6 years, 3 months ago (2014-08-26 07:41:46 UTC) #30
blundell
On 2014/08/26 07:41:46, blundell wrote: > On 2014/08/25 16:08:53, tommycli wrote: > > On 2014/08/25 ...
6 years, 3 months ago (2014-08-26 07:42:16 UTC) #31
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 3 months ago (2014-08-26 22:32:07 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/493953002/130001
6 years, 3 months ago (2014-08-26 22:32:29 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (130001) as 23917afa854acb98f822bf89c0d8b29c300a1898
6 years, 3 months ago (2014-08-26 23:31:56 UTC) #34
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:47:13 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0409b4df1414ee0fb3e7c1179a86324944f242e3
Cr-Commit-Position: refs/heads/master@{#292026}

Powered by Google App Engine
This is Rietveld 408576698