DescriptionMojo: MultiprocessTestHelper: Allow {ASSERT,EXPECT}_...() to be used in child.
Add a new macro, MOJO_MULTIPROCESS_TEST_CHILD_TEST() to define the test
body in the child process, where ASSERT_...() and EXPECT_...() can be
used as expected. Add a new method, WaitForChildTestShutdown(), to
MultiprocessTestHelper, which returns true if everything passed in the
child. (Keep the old macro and old WaitForChildShutdown() around, since
sometimes we want to use the child's exit code to report other
information.)
R=yzshen@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256373
Patch Set 1 #
Total comments: 2
Patch Set 2 : comment fix #
Messages
Total messages: 4 (0 generated)
|