📄 class_test_runner.html
字号:
<td class="md" nowrap><code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Prevents the use of the copy constructor. <p> </td> </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="a2" doxytag="TestRunner::addTest" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void TestRunner::addTest </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_test.html">Test</a> * </td> <td class="mdname1" valign="top" nowrap> <em>test</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Adds the specified test. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>test</em> </td><td><a class="el" href="class_test.html">Test</a> to add. The TestRunner takes ownership of the test. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="d1" doxytag="TestRunner::operator=" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void TestRunner::operator= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_test_runner.html">TestRunner</a> & </td> <td class="mdname1" valign="top" nowrap> <em>copy</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Prevents the use of the copy operator. <p> </td> </tr></table><a class="anchor" name="a3" doxytag="TestRunner::run" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void TestRunner::run </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_test_result.html">TestResult</a> & </td> <td class="mdname" nowrap> <em>controller</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>const std::string & </td> <td class="mdname" nowrap> <em>testPath</em> = <code>""</code></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Runs a test using the specified controller. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>controller</em> </td><td>Event manager and controller used for testing </td></tr> <tr><td></td><td valign=top><em>testPath</em> </td><td><a class="el" href="class_test.html">Test</a> path string. See Test::resolveTestPath() for detail. </td></tr> </table></dl><dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>std::invalid_argument</em> </td><td>if no test matching <em>testPath</em> is found. see <a class="el" href="class_test_path.html#a3">TestPath::TestPath( Test*, const std::string &)</a> for detail. </td></tr> </table></dl> </td> </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="p0" doxytag="TestRunner::m_suite" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="class_test_runner_1_1_wrapping_suite.html">WrappingSuite</a>* <a class="el" href="class_test_runner.html#p0">TestRunner::m_suite</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="cppunit_2_test_runner_8h-source.html">cppunit/TestRunner.h</a><li><a class="el" href="_test_runner_8cpp.html">TestRunner.cpp</a></ul><hr><table width="100%"> <tr> <td width="10%" align="left" valign="center"> <a href="http://sourceforge.net"> <img src="http://sourceforge.net/sflogo.php?group_id=11795" width="88" height="31" border="0" alt="SourceForge Logo"></a> </td> <td width="20%" align="left" valign="center"> hosts this site. </td> <td> </td> <td align="right" valign="center"> Send comments to:<br> <a href="mailto:cppunit-devel@lists.sourceforge.net">CppUnit Developers</a> </td> </tr></table></body> </html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -