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

Issue 680263004: Split application_test_main.cc out of *_base.cc. (Closed)

Created:
6 years, 1 month ago by msw
Modified:
6 years, 1 month ago
Reviewers:
viettrungluu
CC:
mojo-reviews_chromium.org, 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://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Split application_test_main.cc out of *_base.cc. Move MojoMain for apptests to a new file. Add mojo::test accessors for the shell handle. BUG=392646 TEST="mojo_shell mojo:example_apptests" still works. R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/e43d85e22e814c65ca91b564a48c328f9a05d8b8

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 8

Patch Set 3 : Address comments. #

Total comments: 4

Patch Set 4 : Rename g_shell_handle, add invalid check. #

Total comments: 6

Patch Set 5 : Address comments. #

Patch Set 6 : Sync and rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -101 lines) Patch
M mojo/public/cpp/application/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/application/application_test_base.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/public/cpp/application/lib/DEPS View 1 2 1 chunk +3 lines, -8 lines 0 comments Download
M mojo/public/cpp/application/lib/application_test_base.cc View 1 2 3 4 4 chunks +17 lines, -44 lines 0 comments Download
A + mojo/public/cpp/application/lib/application_test_main.cc View 1 2 2 chunks +4 lines, -49 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
msw
Hey Trung, please take a look; thanks!
6 years, 1 month ago (2014-10-28 19:02:30 UTC) #2
viettrungluu
https://codereview.chromium.org/680263004/diff/20001/mojo/public/cpp/application/lib/DEPS File mojo/public/cpp/application/lib/DEPS (right): https://codereview.chromium.org/680263004/diff/20001/mojo/public/cpp/application/lib/DEPS#newcode1 mojo/public/cpp/application/lib/DEPS:1: specific_include_rules = { It's probably okay to just allow ...
6 years, 1 month ago (2014-10-28 23:40:20 UTC) #3
msw
Please take another look; thanks! https://codereview.chromium.org/680263004/diff/20001/mojo/public/cpp/application/lib/DEPS File mojo/public/cpp/application/lib/DEPS (right): https://codereview.chromium.org/680263004/diff/20001/mojo/public/cpp/application/lib/DEPS#newcode1 mojo/public/cpp/application/lib/DEPS:1: specific_include_rules = { On ...
6 years, 1 month ago (2014-10-29 00:12:38 UTC) #4
viettrungluu
https://codereview.chromium.org/680263004/diff/40001/mojo/public/cpp/application/lib/application_test_base.cc File mojo/public/cpp/application/lib/application_test_base.cc (right): https://codereview.chromium.org/680263004/diff/40001/mojo/public/cpp/application/lib/application_test_base.cc#newcode20 mojo/public/cpp/application/lib/application_test_base.cc:20: MessagePipeHandle test_shell_handle; nit: g_test_shell_handle. Actually, "test" seems misleading, so ...
6 years, 1 month ago (2014-10-29 01:21:46 UTC) #5
msw
Done, please take another look; thanks! https://codereview.chromium.org/680263004/diff/40001/mojo/public/cpp/application/lib/application_test_base.cc File mojo/public/cpp/application/lib/application_test_base.cc (right): https://codereview.chromium.org/680263004/diff/40001/mojo/public/cpp/application/lib/application_test_base.cc#newcode20 mojo/public/cpp/application/lib/application_test_base.cc:20: MessagePipeHandle test_shell_handle; On ...
6 years, 1 month ago (2014-10-29 17:53:19 UTC) #6
viettrungluu
LGTM w/a couple of comments. https://codereview.chromium.org/680263004/diff/60001/mojo/public/cpp/application/BUILD.gn File mojo/public/cpp/application/BUILD.gn (right): https://codereview.chromium.org/680263004/diff/60001/mojo/public/cpp/application/BUILD.gn#newcode49 mojo/public/cpp/application/BUILD.gn:49: source_set("test_support") { Probably you'll ...
6 years, 1 month ago (2014-10-29 19:20:20 UTC) #7
msw
Comments addressed, I'll work on test_support_standalone and the environment run loop stuff separately; landing. https://codereview.chromium.org/680263004/diff/60001/mojo/public/cpp/application/BUILD.gn ...
6 years, 1 month ago (2014-10-29 19:26:45 UTC) #9
msw
6 years, 1 month ago (2014-10-29 19:34:04 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:120001) manually as
e43d85e22e814c65ca91b564a48c328f9a05d8b8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698