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 2023973002: Introduce cc StructTraits unit tests (Closed)

Created:
4 years, 6 months ago by Fady Samuel
Modified:
4 years, 6 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, cc-bugs_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce cc StructTraits unit tests BUG=611802 TBR=danakj@chromium.org for cc/test CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/410c960e9ad39ac706a14b57f158f32d9f83ce70 Cr-Commit-Position: refs/heads/master@{#396941}

Patch Set 1 #

Patch Set 2 : Added RenderPassId test #

Patch Set 3 : Fixed gyp build #

Patch Set 4 : Remove unnecessary MessageLoop #

Total comments: 10

Patch Set 5 : Addressed Ken's comment #

Total comments: 6

Patch Set 6 : Added missing gyp dependency #

Patch Set 7 : Pass input by value #

Patch Set 8 : Capture constants #

Total comments: 5

Patch Set 9 : Moved DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -0 lines) Patch
M cc/BUILD.gn View 1 2 3 4 3 chunks +4 lines, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cc/ipc/BUILD.gn View 1 chunk +11 lines, -0 lines 0 comments Download
M cc/ipc/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A cc/ipc/struct_traits_unittest.cc View 1 2 3 4 5 6 7 1 chunk +74 lines, -0 lines 0 comments Download
A cc/ipc/traits_test_service.mojom View 1 1 chunk +13 lines, -0 lines 0 comments Download
M cc/test/DEPS View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M cc/test/run_all_unittests.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (18 generated)
Fady Samuel
+danakj@ for cc OWNERs +tsepez for ipc
4 years, 6 months ago (2016-05-30 20:26:11 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023973002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023973002/20001
4 years, 6 months ago (2016-05-30 20:30:19 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/177977) mac_chromium_compile_dbg_ng on ...
4 years, 6 months ago (2016-05-30 20:37:09 UTC) #8
Fady Samuel
+rockot@ for mojo deps in cc.
4 years, 6 months ago (2016-05-30 21:15:06 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023973002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023973002/40001
4 years, 6 months ago (2016-05-30 21:15:42 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/221668)
4 years, 6 months ago (2016-05-30 22:06:47 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023973002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023973002/60001
4 years, 6 months ago (2016-05-30 22:37:23 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-30 23:49:00 UTC) #18
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2023973002/diff/60001/cc/BUILD.gn File cc/BUILD.gn (right): https://codereview.chromium.org/2023973002/diff/60001/cc/BUILD.gn#newcode962 cc/BUILD.gn:962: "//mojo/edk/system", You should also include a dependency on "//mojo/public/cpp/bindings" ...
4 years, 6 months ago (2016-05-31 15:49:22 UTC) #19
Ken Rockot(use gerrit already)
On 2016/05/31 at 15:49:22, Ken Rockot wrote: > https://codereview.chromium.org/2023973002/diff/60001/cc/BUILD.gn > File cc/BUILD.gn (right): > > ...
4 years, 6 months ago (2016-05-31 15:54:41 UTC) #20
Fady Samuel
PTAL Ken! https://codereview.chromium.org/2023973002/diff/60001/cc/BUILD.gn File cc/BUILD.gn (right): https://codereview.chromium.org/2023973002/diff/60001/cc/BUILD.gn#newcode962 cc/BUILD.gn:962: "//mojo/edk/system", On 2016/05/31 15:49:22, Ken Rockot wrote: ...
4 years, 6 months ago (2016-05-31 15:57:20 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023973002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023973002/80001
4 years, 6 months ago (2016-05-31 15:58:26 UTC) #23
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2023973002/diff/80001/cc/cc_tests.gyp File cc/cc_tests.gyp (right): https://codereview.chromium.org/2023973002/diff/80001/cc/cc_tests.gyp#newcode341 cc/cc_tests.gyp:341: '../mojo/mojo_edk.gyp:mojo_common_test_support', Oops, missed this. You should also include ...
4 years, 6 months ago (2016-05-31 16:00:13 UTC) #24
Fady Samuel
PTAL Tom and Dana. https://codereview.chromium.org/2023973002/diff/80001/cc/cc_tests.gyp File cc/cc_tests.gyp (right): https://codereview.chromium.org/2023973002/diff/80001/cc/cc_tests.gyp#newcode341 cc/cc_tests.gyp:341: '../mojo/mojo_edk.gyp:mojo_common_test_support', On 2016/05/31 16:00:13, Ken ...
4 years, 6 months ago (2016-05-31 16:03:08 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023973002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023973002/100001
4 years, 6 months ago (2016-05-31 16:05:25 UTC) #27
Tom Sepez
https://codereview.chromium.org/2023973002/diff/80001/cc/ipc/struct_traits_unittest.cc File cc/ipc/struct_traits_unittest.cc (right): https://codereview.chromium.org/2023973002/diff/80001/cc/ipc/struct_traits_unittest.cc#newcode48 cc/ipc/struct_traits_unittest.cc:48: proxy->EchoRenderPassId(input, [&](const RenderPassId& pass) { I'd expect we'd capture ...
4 years, 6 months ago (2016-05-31 16:07:43 UTC) #28
Fady Samuel
PTAL Tom! https://codereview.chromium.org/2023973002/diff/80001/cc/ipc/struct_traits_unittest.cc File cc/ipc/struct_traits_unittest.cc (right): https://codereview.chromium.org/2023973002/diff/80001/cc/ipc/struct_traits_unittest.cc#newcode48 cc/ipc/struct_traits_unittest.cc:48: proxy->EchoRenderPassId(input, [&](const RenderPassId& pass) { On 2016/05/31 ...
4 years, 6 months ago (2016-05-31 16:37:09 UTC) #29
Fady Samuel
PTAL Tom! Now just capturing constants.
4 years, 6 months ago (2016-05-31 16:54:19 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023973002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023973002/140001
4 years, 6 months ago (2016-05-31 16:55:24 UTC) #32
Tom Sepez
lgtm
4 years, 6 months ago (2016-05-31 16:56:14 UTC) #33
danakj
https://codereview.chromium.org/2023973002/diff/140001/cc/ipc/struct_traits_unittest.cc File cc/ipc/struct_traits_unittest.cc (right): https://codereview.chromium.org/2023973002/diff/140001/cc/ipc/struct_traits_unittest.cc#newcode48 cc/ipc/struct_traits_unittest.cc:48: proxy->EchoRenderPassId(input, How is this testing the traits? This calls ...
4 years, 6 months ago (2016-05-31 18:30:58 UTC) #35
Fady Samuel
https://codereview.chromium.org/2023973002/diff/140001/cc/ipc/struct_traits_unittest.cc File cc/ipc/struct_traits_unittest.cc (right): https://codereview.chromium.org/2023973002/diff/140001/cc/ipc/struct_traits_unittest.cc#newcode48 cc/ipc/struct_traits_unittest.cc:48: proxy->EchoRenderPassId(input, On 2016/05/31 18:30:58, danakj wrote: > How is ...
4 years, 6 months ago (2016-05-31 18:43:05 UTC) #36
danakj
https://codereview.chromium.org/2023973002/diff/140001/cc/ipc/struct_traits_unittest.cc File cc/ipc/struct_traits_unittest.cc (right): https://codereview.chromium.org/2023973002/diff/140001/cc/ipc/struct_traits_unittest.cc#newcode48 cc/ipc/struct_traits_unittest.cc:48: proxy->EchoRenderPassId(input, On 2016/05/31 18:43:05, Fady Samuel wrote: > On ...
4 years, 6 months ago (2016-05-31 19:58:05 UTC) #37
danakj
https://codereview.chromium.org/2023973002/diff/140001/cc/DEPS File cc/DEPS (right): https://codereview.chromium.org/2023973002/diff/140001/cc/DEPS#newcode24 cc/DEPS:24: specific_include_rules = { Or just put this in cc/test/DEPS?
4 years, 6 months ago (2016-05-31 19:58:41 UTC) #38
Fady Samuel
Thanks everyone! CQ'ing! https://codereview.chromium.org/2023973002/diff/140001/cc/DEPS File cc/DEPS (right): https://codereview.chromium.org/2023973002/diff/140001/cc/DEPS#newcode24 cc/DEPS:24: specific_include_rules = { On 2016/05/31 19:58:41, ...
4 years, 6 months ago (2016-05-31 20:03:38 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023973002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023973002/160001
4 years, 6 months ago (2016-05-31 20:06:26 UTC) #42
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 6 months ago (2016-05-31 21:50:34 UTC) #44
commit-bot: I haz the power
4 years, 6 months ago (2016-05-31 21:53:45 UTC) #46
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/410c960e9ad39ac706a14b57f158f32d9f83ce70
Cr-Commit-Position: refs/heads/master@{#396941}

Powered by Google App Engine
This is Rietveld 408576698