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

Issue 626033003: Plumb commandline arguments for mojo_example_apptests. (Closed)

Created:
6 years, 2 months ago by msw
Modified:
6 years, 2 months ago
Reviewers:
hansmuller, DaveMoore
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@example_apptests_init
Project:
chromium
Visibility:
Public.

Description

Plumb commandline arguments for mojo_example_apptests. Use the ApplicationImpl::args() for InitGoogleTest. (plumbs GTEST args from the mojo_shell commandline) BUG=392646 TEST=GTEST args work like this> mojo_shell "mojo:mojo_example_apptests --gtest_filter=ExampleApptest.RunCallbackViaService --gtest_repeat=2" R=hansmuller@chromium.org,davemoore@chromium.org Committed: https://crrev.com/ef5eefe35befb1bd202fead20f282f91e645387d Cr-Commit-Position: refs/heads/master@{#299001}

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 2

Patch Set 3 : Add expected terminating NULL arg and comment; IWYU. #

Patch Set 4 : Use const_cast'ed ApplicationImpl::args data directly. #

Patch Set 5 : Avoid C++11's std::vector<T>::data, revert to string literal. #

Patch Set 6 : Explicitly static_cast size_t to int for InitGoogleTest. #

Patch Set 7 : Include <limits.h> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M mojo/examples/apptest/example_apptest.cc View 1 2 3 4 5 6 2 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
msw
Hey Hans, can you take a look? I haven't found a utility method to support ...
6 years, 2 months ago (2014-10-06 20:00:14 UTC) #3
hansmuller
I agree that creating a a C friendly mutable argv from the ApplicationImpl's Array of ...
6 years, 2 months ago (2014-10-06 21:08:52 UTC) #4
msw
Dave, can you please take a look? Thanks! https://codereview.chromium.org/626033003/diff/40001/mojo/examples/apptest/example_apptest.cc File mojo/examples/apptest/example_apptest.cc (right): https://codereview.chromium.org/626033003/diff/40001/mojo/examples/apptest/example_apptest.cc#newcode97 mojo/examples/apptest/example_apptest.cc:97: for ...
6 years, 2 months ago (2014-10-06 21:32:33 UTC) #7
viettrungluu
On 2014/10/06 21:32:33, msw wrote: > Dave, can you please take a look? Thanks! > ...
6 years, 2 months ago (2014-10-06 22:31:58 UTC) #8
msw
On 2014/10/06 22:31:58, viettrungluu wrote: > On 2014/10/06 21:32:33, msw wrote: > > Dave, can ...
6 years, 2 months ago (2014-10-06 22:50:49 UTC) #9
msw
Dave, please take a look as you have time; thanks!
6 years, 2 months ago (2014-10-07 23:16:21 UTC) #10
DaveMoore
lgtm
6 years, 2 months ago (2014-10-08 19:03:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/626033003/80001
6 years, 2 months ago (2014-10-08 19:05:32 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/6135)
6 years, 2 months ago (2014-10-08 19:19:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/626033003/100001
6 years, 2 months ago (2014-10-08 19:30:19 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/17173)
6 years, 2 months ago (2014-10-08 20:00:42 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/626033003/100001
6 years, 2 months ago (2014-10-08 20:06:44 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/17269)
6 years, 2 months ago (2014-10-09 03:43:49 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/626033003/120001
6 years, 2 months ago (2014-10-09 18:47:13 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32 on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32/builds/1300) linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/6618) linux_chromium_gn_rel ...
6 years, 2 months ago (2014-10-09 19:01:48 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/626033003/300001
6 years, 2 months ago (2014-10-09 21:31:38 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:300001)
6 years, 2 months ago (2014-10-09 22:49:29 UTC) #32
commit-bot: I haz the power
6 years, 2 months ago (2014-10-09 22:52:22 UTC) #33
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ef5eefe35befb1bd202fead20f282f91e645387d
Cr-Commit-Position: refs/heads/master@{#299001}

Powered by Google App Engine
This is Rietveld 408576698