📄 class_xml_outputter.html
字号:
<td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="class_xml_element.html">XmlElement</a> * </td> <td class="mdname" nowrap> <em>testsNode</em></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>Adds a failed test to the failed tests node. Creates a new element containing datas about the failed test, and adds it to the failed tests element. Then, for all hooks, call failTestAdded(). <p> </td> </tr></table><a class="anchor" name="a7" doxytag="XmlOutputter::addFailedTests" ></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 XmlOutputter::addFailedTests </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_xml_outputter.html#w0">FailedTests</a> & </td> <td class="mdname" nowrap> <em>failedTests</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="class_xml_element.html">XmlElement</a> * </td> <td class="mdname" nowrap> <em>rootNode</em></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> </td> </tr></table><a class="anchor" name="a11" doxytag="XmlOutputter::addFailureLocation" ></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 XmlOutputter::addFailureLocation </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_test_failure.html">TestFailure</a> * </td> <td class="mdname" nowrap> <em>failure</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="class_xml_element.html">XmlElement</a> * </td> <td class="mdname" nowrap> <em>testElement</em></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> </td> </tr></table><a class="anchor" name="a2" doxytag="XmlOutputter::addHook" ></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 XmlOutputter::addHook </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_xml_outputter_hook.html">XmlOutputterHook</a> * </td> <td class="mdname1" valign="top" nowrap> <em>hook</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 hook to the outputter. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>hook</em> </td><td>Hook to add. Must not be <code>NULL</code>. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="a9" doxytag="XmlOutputter::addStatistics" ></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 XmlOutputter::addStatistics </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_xml_element.html">XmlElement</a> * </td> <td class="mdname1" valign="top" nowrap> <em>rootNode</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 statics element to the root node. <p>Creates a new element containing statistics data and adds it to the root element. Then, for all hooks, call statisticsAdded(). <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>rootNode</em> </td><td>Root element. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="a12" doxytag="XmlOutputter::addSuccessfulTest" ></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 XmlOutputter::addSuccessfulTest </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="mdname" nowrap> <em>test</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>testNumber</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="class_xml_element.html">XmlElement</a> * </td> <td class="mdname" nowrap> <em>testsNode</em></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>Adds a successful test to the successful tests node. Creates a new element containing datas about the successful test, and adds it to the successful tests element. Then, for all hooks, call successfulTestAdded(). <p> </td> </tr></table><a class="anchor" name="a8" doxytag="XmlOutputter::addSuccessfulTests" ></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 XmlOutputter::addSuccessfulTests </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_xml_outputter.html#w0">FailedTests</a> & </td> <td class="mdname" nowrap> <em>failedTests</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="class_xml_element.html">XmlElement</a> * </td> <td class="mdname" nowrap> <em>rootNode</em></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> </td> </tr></table><a class="anchor" name="b0" doxytag="XmlOutputter::fillFailedTestsMap" ></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 XmlOutputter::fillFailedTestsMap </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_xml_outputter.html#w0">FailedTests</a> & </td> <td class="mdname1" valign="top" nowrap> <em>failedTests</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="d1" doxytag="XmlOutputter::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 XmlOutputter::operator= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_xml_outputter.html">XmlOutputter</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -