<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Helper class used by <aclass="el"href="multiprocess__exec_8h.html#a62b5891d00df060b50ee76f74b1156b3"title="Registers a function that can be invoked as a child process by MultiprocessExec. ">CRASHPAD_CHILD_TEST_MAIN()</a> to insert a child function into the global mapping. <ahref="classcrashpad_1_1test_1_1internal_1_1AppendMultiprocessTest.html#details">More...</a><br/></td></tr>
<trclass="memdesc:namespacecrashpad_1_1test"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The testing namespace, for use in test code only. <br/></td></tr>
<trclass="memdesc:a62b5891d00df060b50ee76f74b1156b3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Registers a function that can be invoked as a child process by MultiprocessExec. <ahref="#a62b5891d00df060b50ee76f74b1156b3">More...</a><br/></td></tr>
<trclass="memdesc:a267cf8ce376c3cfa6203e6986aa331af"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Used to run a child test function by name, registered by <aclass="el"href="multiprocess__exec_8h.html#a62b5891d00df060b50ee76f74b1156b3"title="Registers a function that can be invoked as a child process by MultiprocessExec. ">CRASHPAD_CHILD_TEST_MAIN()</a>. <ahref="multiprocess__exec_8cc.html#a267cf8ce376c3cfa6203e6986aa331af">More...</a><br/></td></tr>
<trclass="memdesc:aec28b7ccaf21ebed92786858066c358f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Command line argument used to indicate that a child test function should be run. <br/></td></tr>
<b>Value:</b><divclass="fragment"><divclass="line"><spanclass="keywordtype">int</span> test_main(); \</div><divclass="line"> namespace { \</div><divclass="line"> ::crashpad::test::internal::AppendMultiprocessTest \</div><divclass="line"> AddMultiprocessTest##_##test_main(#test_main, (test_main)); \</div><divclass="line"> } <spanclass="comment">/* namespace */</span> \</div><divclass="line"> int test_main()</div></div><!-- fragment -->
<p>Registers a function that can be invoked as a child process by MultiprocessExec. </p>
<p>Used as:</p>
<divclass="fragment"><divclass="line"><aclass="code"href="multiprocess__exec_8h.html#a62b5891d00df060b50ee76f74b1156b3">CRASHPAD_CHILD_TEST_MAIN</a>(MyChildTestBody) {</div><divclass="line"> ... child body ...</div><divclass="line">}</div></div><!-- fragment --><p>In the main (parent) test body, this function can be run in a child process via MultiprocessExec::SetChildTestMainFunction(). </p>
<p>Used to run a child test function by name, registered by <aclass="el"href="multiprocess__exec_8h.html#a62b5891d00df060b50ee76f74b1156b3"title="Registers a function that can be invoked as a child process by MultiprocessExec. ">CRASHPAD_CHILD_TEST_MAIN()</a>. </p>
<dlclass="section return"><dt>Returns</dt><dd>The exit code of the child process after running the function named by <em>test_name</em>. Aborts with a CHECK() if <em>test_name</em> wasn't registered. </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">