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

Issue 12321117: Refactor MainHook into TestSuite. (Closed)

Created:
7 years, 10 months ago by lliabraa
Modified:
7 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, rohitrao (ping after 24h), TVL
Visibility:
Public.

Description

Invoke the iOS hook from TestSuite so each run_all_unittests.cc file does not have to remember to install MainHook. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188376

Patch Set 1 #

Patch Set 2 : "Refactor MainHook into TestSuite" #

Patch Set 3 : fix copyright #

Patch Set 4 : add missing test_suite changes #

Total comments: 6

Patch Set 5 : "moved hook from new file into existing test_support_ios." #

Total comments: 4

Patch Set 6 : removed a couple blank lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -156 lines) Patch
M base/base.gyp View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
D base/test/main_hook.h View 1 1 chunk +0 lines, -17 lines 0 comments Download
D base/test/main_hook.cc View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download
D base/test/main_hook_ios.mm View 1 2 3 4 5 1 chunk +0 lines, -108 lines 0 comments Download
M base/test/run_all_perftests.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M base/test/run_all_unittests.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M base/test/test_suite.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M base/test/test_support_ios.h View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download
M base/test/test_support_ios.mm View 1 2 3 4 2 chunks +105 lines, -0 lines 0 comments Download
M chrome/test/base/run_all_unittests.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M crypto/run_all_unittests.cc View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M media/base/run_all_unittests.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M net/base/run_all_unittests.cc View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M sql/run_all_unittests.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/test/run_all_unittests.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
lliabraa
This is required for these tests to run on iOS devices and should be a ...
7 years, 10 months ago (2013-02-25 18:56:44 UTC) #1
Paweł Hajdan Jr.
Oops, I think it'd help if I had a chance to review https://chromiumcodereview.appspot.com/10690161 in the ...
7 years, 10 months ago (2013-02-25 19:58:16 UTC) #2
lliabraa
On 2013/02/25 19:58:16, Paweł Hajdan Jr. wrote: > Oops, I think it'd help if I ...
7 years, 10 months ago (2013-02-26 12:16:51 UTC) #3
Paweł Hajdan Jr.
On 2013/02/26 12:16:51, Lane LiaBraaten wrote: > On 2013/02/25 19:58:16, Paweł Hajdan Jr. wrote: > ...
7 years, 10 months ago (2013-02-26 17:18:42 UTC) #4
lliabraa
On 2013/02/26 17:18:42, Paweł Hajdan Jr. wrote: > On 2013/02/26 12:16:51, Lane LiaBraaten wrote: > ...
7 years, 10 months ago (2013-02-26 18:36:44 UTC) #5
Paweł Hajdan Jr.
On 2013/02/26 18:36:44, Lane LiaBraaten wrote: > Before I go and refactor how this whole ...
7 years, 10 months ago (2013-02-26 19:56:39 UTC) #6
lliabraa
@pawel - I've refactored the iOS hook into TestSuite - is this what you had ...
7 years, 9 months ago (2013-02-27 15:27:19 UTC) #7
rohitrao (ping after 24h)
+Mark for thoughts, since he was on the original MainHook reviews. Any objections to moving ...
7 years, 9 months ago (2013-02-27 15:30:49 UTC) #8
Mark Mentovai
In principle, this is almost exactly the same. I don’t care where it lives. This ...
7 years, 9 months ago (2013-02-27 15:38:58 UTC) #9
TVL
https://chromiumcodereview.appspot.com/12321117/diff/14001/base/base.gyp File base/base.gyp (left): https://chromiumcodereview.appspot.com/12321117/diff/14001/base/base.gyp#oldcode815 base/base.gyp:815: 'test/main_hook.cc', I don't see this being deleted in the ...
7 years, 9 months ago (2013-02-27 15:59:35 UTC) #10
lliabraa
@tvl - thanks for the review https://chromiumcodereview.appspot.com/12321117/diff/14001/base/base.gyp File base/base.gyp (left): https://chromiumcodereview.appspot.com/12321117/diff/14001/base/base.gyp#oldcode815 base/base.gyp:815: 'test/main_hook.cc', On 2013/02/27 ...
7 years, 9 months ago (2013-02-27 20:31:31 UTC) #11
Paweł Hajdan Jr.
LGTM Great to see that it was possible to use base::TestSuite. Thank you for making ...
7 years, 9 months ago (2013-03-01 16:42:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/12321117/7003
7 years, 9 months ago (2013-03-07 00:03:12 UTC) #13
commit-bot: I haz the power
Presubmit check for 12321117-7003 failed and returned exit status 1. INFO:root:Found 12 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-07 00:03:26 UTC) #14
lliabraa
Adding various OWNERS to reviewers. If you are in the following list, you LGTM'd the ...
7 years, 9 months ago (2013-03-14 17:56:46 UTC) #15
Mark Mentovai
I already looked at this a couple of weeks ago. It’s fine. LGTM.
7 years, 9 months ago (2013-03-14 18:01:22 UTC) #16
Scott Hess - ex-Googler
lgtm
7 years, 9 months ago (2013-03-14 18:01:37 UTC) #17
wtc
Patch set 5 LGTM. I suggest two small changes. https://chromiumcodereview.appspot.com/12321117/diff/7003/crypto/run_all_unittests.cc File crypto/run_all_unittests.cc (right): https://chromiumcodereview.appspot.com/12321117/diff/7003/crypto/run_all_unittests.cc#newcode9 crypto/run_all_unittests.cc:9: ...
7 years, 9 months ago (2013-03-14 18:37:48 UTC) #18
Ami GONE FROM CHROMIUM
LGTM
7 years, 9 months ago (2013-03-14 19:01:10 UTC) #19
Nico
ui/ lgtm
7 years, 9 months ago (2013-03-14 19:45:30 UTC) #20
lliabraa
Thanks for the reviews! https://chromiumcodereview.appspot.com/12321117/diff/7003/crypto/run_all_unittests.cc File crypto/run_all_unittests.cc (right): https://chromiumcodereview.appspot.com/12321117/diff/7003/crypto/run_all_unittests.cc#newcode9 crypto/run_all_unittests.cc:9: On 2013/03/14 18:37:48, wtc wrote: ...
7 years, 9 months ago (2013-03-15 11:02:27 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/12321117/27001
7 years, 9 months ago (2013-03-15 11:02:48 UTC) #22
commit-bot: I haz the power
7 years, 9 months ago (2013-03-15 13:14:04 UTC) #23
Message was sent while issue was closed.
Change committed as 188376

Powered by Google App Engine
This is Rietveld 408576698