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

Issue 191293018: Adds a generator for writing messages to disk (Closed)

Created:
6 years, 9 months ago by sky
Modified:
6 years, 8 months ago
CC:
chromium-reviews, Aaron Boodman, viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Adds a generator for writing messages to disk The plan with this is to use the generator to create binary test files. We'll write bindings tests that read these files and verify everything is sane. BUG=none TEST=none R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261605

Patch Set 1 #

Patch Set 2 : comments #

Patch Set 3 : move #

Patch Set 4 : hex file #

Patch Set 5 : nuke binary #

Patch Set 6 : binary? #

Patch Set 7 : binary? #

Patch Set 8 : blah #

Patch Set 9 : blah #

Patch Set 10 : blah #

Patch Set 11 : common_lib #

Total comments: 4

Patch Set 12 : refactor a bit and use StringAppendF #

Patch Set 13 : header #

Patch Set 14 : move to tools #

Patch Set 15 : move to mojo/public/data/bindings/tests #

Patch Set 16 : cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -0 lines) Patch
M mojo/mojo.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +17 lines, -0 lines 0 comments Download
A mojo/public/data/bindings/tests/message_data View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +25 lines, -0 lines 0 comments Download
A mojo/tools/message_generator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (0 generated)
sky
6 years, 9 months ago (2014-03-10 23:13:58 UTC) #1
darin (slow to review)
Where do you think the actual tests will live? I think this standalone program should ...
6 years, 9 months ago (2014-03-11 06:07:26 UTC) #2
sky
On 2014/03/11 06:07:26, darin wrote: > Where do you think the actual tests will live? ...
6 years, 9 months ago (2014-03-11 14:52:47 UTC) #3
darin (slow to review)
I think we've had the goal to make mojo/public be as self contained as possible. ...
6 years, 9 months ago (2014-03-11 15:10:56 UTC) #4
sky
On 2014/03/11 15:10:56, darin wrote: > I think we've had the goal to make mojo/public ...
6 years, 9 months ago (2014-03-11 16:26:00 UTC) #5
viettrungluu
On 2014/03/11 16:26:00, sky wrote: > On 2014/03/11 15:10:56, darin wrote: > > I think ...
6 years, 9 months ago (2014-03-11 18:18:38 UTC) #6
darin (slow to review)
On Tue, Mar 11, 2014 at 11:18 AM, <viettrungluu@chromium.org> wrote: > On 2014/03/11 16:26:00, sky ...
6 years, 9 months ago (2014-03-11 19:09:09 UTC) #7
viettrungluu
On Tue, Mar 11, 2014 at 12:09 PM, Darin Fisher <darin@chromium.org> wrote: > > > ...
6 years, 9 months ago (2014-03-11 19:21:11 UTC) #8
sky
I still like sticking with binary files here. Do you guys feel strongly that I ...
6 years, 9 months ago (2014-03-11 21:28:19 UTC) #9
viettrungluu
On 2014/03/11 21:28:19, sky wrote: > I still like sticking with binary files here. Do ...
6 years, 9 months ago (2014-03-13 00:56:57 UTC) #10
darin (slow to review)
On 2014/03/13 00:56:57, viettrungluu wrote: > On 2014/03/11 21:28:19, sky wrote: > > I still ...
6 years, 9 months ago (2014-03-13 04:26:04 UTC) #11
sky
Ya, sorry, I'll come back to this once I've landed some other patches (mac bots ...
6 years, 9 months ago (2014-03-13 04:46:46 UTC) #12
sky
I had some free time, so I've updated this. I converted from binary file to ...
6 years, 8 months ago (2014-04-01 21:41:38 UTC) #13
viettrungluu
https://codereview.chromium.org/191293018/diff/190001/mojo/public/bindings/tests/message_generator.cc File mojo/public/bindings/tests/message_generator.cc (right): https://codereview.chromium.org/191293018/diff/190001/mojo/public/bindings/tests/message_generator.cc#newcode1 mojo/public/bindings/tests/message_generator.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 8 months ago (2014-04-01 22:02:50 UTC) #14
viettrungluu
https://codereview.chromium.org/191293018/diff/190001/mojo/public/bindings/tests/message_generator.cc File mojo/public/bindings/tests/message_generator.cc (right): https://codereview.chromium.org/191293018/diff/190001/mojo/public/bindings/tests/message_generator.cc#newcode1 mojo/public/bindings/tests/message_generator.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 8 months ago (2014-04-01 22:11:42 UTC) #15
sky
On 2014/04/01 22:11:42, viettrungluu wrote: > https://codereview.chromium.org/191293018/diff/190001/mojo/public/bindings/tests/message_generator.cc > File mojo/public/bindings/tests/message_generator.cc (right): > > https://codereview.chromium.org/191293018/diff/190001/mojo/public/bindings/tests/message_generator.cc#newcode1 > ...
6 years, 8 months ago (2014-04-01 22:39:17 UTC) #16
darin (slow to review)
A couple comments: 1- I think we should keep the expected message data next to ...
6 years, 8 months ago (2014-04-02 05:42:28 UTC) #17
darin (slow to review)
A couple comments: 1- I think we should keep the expected message data next to ...
6 years, 8 months ago (2014-04-02 05:42:28 UTC) #18
sky
I moved the test data and tool to tools
6 years, 8 months ago (2014-04-02 16:02:28 UTC) #19
sky
After talking with Darin moved to mojo/public/data/bindings/tests .
6 years, 8 months ago (2014-04-02 16:44:56 UTC) #20
sky
The CQ bit was checked by sky@chromium.org
6 years, 8 months ago (2014-04-02 16:45:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/191293018/250001
6 years, 8 months ago (2014-04-02 16:45:16 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 16:45:17 UTC) #23
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 8 months ago (2014-04-02 16:45:18 UTC) #24
darin (slow to review)
LGTM
6 years, 8 months ago (2014-04-02 16:46:16 UTC) #25
sky
On 2014/04/02 16:44:56, sky wrote: > After talking with Darin moved to mojo/public/data/bindings/tests . For ...
6 years, 8 months ago (2014-04-02 16:48:46 UTC) #26
sky
The CQ bit was checked by sky@chromium.org
6 years, 8 months ago (2014-04-02 16:48:50 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/191293018/250001
6 years, 8 months ago (2014-04-02 16:49:09 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 18:46:50 UTC) #29
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests, chrome_elf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=90707
6 years, 8 months ago (2014-04-02 18:46:50 UTC) #30
sky
The CQ bit was checked by sky@chromium.org
6 years, 8 months ago (2014-04-03 16:11:26 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/191293018/250001
6 years, 8 months ago (2014-04-03 16:12:00 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 17:41:46 UTC) #33
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests, chrome_elf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=91078
6 years, 8 months ago (2014-04-03 17:41:47 UTC) #34
sky
The CQ bit was checked by sky@chromium.org
6 years, 8 months ago (2014-04-03 18:27:51 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/191293018/270001
6 years, 8 months ago (2014-04-03 18:28:17 UTC) #36
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 23:12:01 UTC) #37
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 23:12:02 UTC) #38
viettrungluu
The CQ bit was checked by viettrungluu@chromium.org
6 years, 8 months ago (2014-04-04 00:25:39 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/191293018/270001
6 years, 8 months ago (2014-04-04 00:26:22 UTC) #40
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 00:43:25 UTC) #41
Message was sent while issue was closed.
Change committed as 261605

Powered by Google App Engine
This is Rietveld 408576698