Further refine mojo_example_apptests.
Destroy MojoMain's RunLoop before executing tests.
Reuse the shell handle for multiple test app instances.
Add ApplicationImpl::UnbindShell for message pipe reuse.
Add Apptest, a GTEST base class for application testing.
TODO: Support/Exemplify actual command line arg use.
BUG=392646
TEST=mojo_shell 'mojo:mojo_example_apptests <gtest_args>' still works.
R=viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/654103002
Cr-Commit-Position: refs/heads/master@{#300155}
CrOS-Libchrome-Original-Commit: 1b38080e455f6ee9e47e97bc1e03c8565111cfc1
3 files changed