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}
Showing
Please register or sign in to comment