/usr/share/doc/libwreport-doc/apidocs/structwreport_1_1tests_1_1SimpleTestController.html is in libwreport-doc 3.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>libwreport: wreport::tests::SimpleTestController Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libwreport
 <span id="projectnumber">3.6</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacewreport.html">wreport</a></li><li class="navelem"><b>tests</b></li><li class="navelem"><a class="el" href="structwreport_1_1tests_1_1SimpleTestController.html">SimpleTestController</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">wreport::tests::SimpleTestController Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Simple default implementation of <a class="el" href="structwreport_1_1tests_1_1TestController.html" title="Abstract interface for the objects that supervise test execution. ">TestController</a>.
<a href="structwreport_1_1tests_1_1SimpleTestController.html#details">More...</a></p>
<p><code>#include <<a class="el" href="utils_2tests_8h_source.html">tests.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for wreport::tests::SimpleTestController:</div>
<div class="dyncontent">
<div class="center">
<img src="structwreport_1_1tests_1_1SimpleTestController.png" usemap="#wreport::tests::SimpleTestController_map" alt=""/>
<map id="wreport::tests::SimpleTestController_map" name="wreport::tests::SimpleTestController_map">
<area href="structwreport_1_1tests_1_1TestController.html" title="Abstract interface for the objects that supervise test execution. " alt="wreport::tests::TestController" shape="rect" coords="0,0,208,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acb3cf89b627376425bb36c969d5ffc9b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1SimpleTestController.html#acb3cf89b627376425bb36c969d5ffc9b">test_case_begin</a> (const <a class="el" href="structwreport_1_1tests_1_1TestCase.html">TestCase</a> &test_case, const <a class="el" href="structwreport_1_1tests_1_1TestCaseResult.html">TestCaseResult</a> &test_case_result) override</td></tr>
<tr class="memdesc:acb3cf89b627376425bb36c969d5ffc9b"><td class="mdescLeft"> </td><td class="mdescRight">Called before running a test case. <a href="#acb3cf89b627376425bb36c969d5ffc9b">More...</a><br /></td></tr>
<tr class="separator:acb3cf89b627376425bb36c969d5ffc9b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa63b998d30f2449da5252f965cb6f56a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa63b998d30f2449da5252f965cb6f56a"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1SimpleTestController.html#aa63b998d30f2449da5252f965cb6f56a">test_case_end</a> (const <a class="el" href="structwreport_1_1tests_1_1TestCase.html">TestCase</a> &test_case, const <a class="el" href="structwreport_1_1tests_1_1TestCaseResult.html">TestCaseResult</a> &test_case_result) override</td></tr>
<tr class="memdesc:aa63b998d30f2449da5252f965cb6f56a"><td class="mdescLeft"> </td><td class="mdescRight">Called after running a test case. <br /></td></tr>
<tr class="separator:aa63b998d30f2449da5252f965cb6f56a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4adca77f46b1ddc593a6a0c95cd47af0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1SimpleTestController.html#a4adca77f46b1ddc593a6a0c95cd47af0">test_method_begin</a> (const <a class="el" href="structwreport_1_1tests_1_1TestMethod.html">TestMethod</a> &test_method, const <a class="el" href="structwreport_1_1tests_1_1TestMethodResult.html">TestMethodResult</a> &test_method_result) override</td></tr>
<tr class="memdesc:a4adca77f46b1ddc593a6a0c95cd47af0"><td class="mdescLeft"> </td><td class="mdescRight">Called before running a test method. <a href="#a4adca77f46b1ddc593a6a0c95cd47af0">More...</a><br /></td></tr>
<tr class="separator:a4adca77f46b1ddc593a6a0c95cd47af0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a05b37d81c1ab9bfcadf47b3204aa70b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05b37d81c1ab9bfcadf47b3204aa70b9"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1SimpleTestController.html#a05b37d81c1ab9bfcadf47b3204aa70b9">test_method_end</a> (const <a class="el" href="structwreport_1_1tests_1_1TestMethod.html">TestMethod</a> &test_method, const <a class="el" href="structwreport_1_1tests_1_1TestMethodResult.html">TestMethodResult</a> &test_method_result) override</td></tr>
<tr class="memdesc:a05b37d81c1ab9bfcadf47b3204aa70b9"><td class="mdescLeft"> </td><td class="mdescRight">Called after running a test method. <br /></td></tr>
<tr class="separator:a05b37d81c1ab9bfcadf47b3204aa70b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac50c58ec8cde10b299cb5e5f4ac674c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac50c58ec8cde10b299cb5e5f4ac674c8"></a>
bool </td><td class="memItemRight" valign="bottom"><b>test_method_should_run</b> (const std::string &fullname) const </td></tr>
<tr class="separator:ac50c58ec8cde10b299cb5e5f4ac674c8"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:aed997b5bb2dadfab41a62b07df00f55f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed997b5bb2dadfab41a62b07df00f55f"></a>
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1SimpleTestController.html#aed997b5bb2dadfab41a62b07df00f55f">whitelist</a></td></tr>
<tr class="memdesc:aed997b5bb2dadfab41a62b07df00f55f"><td class="mdescLeft"> </td><td class="mdescRight">Any method not matching this glob expression will not be run. <br /></td></tr>
<tr class="separator:aed997b5bb2dadfab41a62b07df00f55f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10552ceeef4e2ad1c660ed45dd8d0823"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10552ceeef4e2ad1c660ed45dd8d0823"></a>
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1SimpleTestController.html#a10552ceeef4e2ad1c660ed45dd8d0823">blacklist</a></td></tr>
<tr class="memdesc:a10552ceeef4e2ad1c660ed45dd8d0823"><td class="mdescLeft"> </td><td class="mdescRight">Any method matching this glob expression will not be run. <br /></td></tr>
<tr class="separator:a10552ceeef4e2ad1c660ed45dd8d0823"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Simple default implementation of <a class="el" href="structwreport_1_1tests_1_1TestController.html" title="Abstract interface for the objects that supervise test execution. ">TestController</a>. </p>
<p>It does progress printing to stdout and basic glob-based test method filtering. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="acb3cf89b627376425bb36c969d5ffc9b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool wreport::tests::SimpleTestController::test_case_begin </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structwreport_1_1tests_1_1TestCase.html">TestCase</a> & </td>
<td class="paramname"><em>test_case</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structwreport_1_1tests_1_1TestCaseResult.html">TestCaseResult</a> & </td>
<td class="paramname"><em>test_case_result</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called before running a test case. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the test case should be run, false if it should be skipped </dd></dl>
<p>Reimplemented from <a class="el" href="structwreport_1_1tests_1_1TestController.html#a34cfe29e416075f88d0f6a32190f1863">wreport::tests::TestController</a>.</p>
</div>
</div>
<a class="anchor" id="a4adca77f46b1ddc593a6a0c95cd47af0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool wreport::tests::SimpleTestController::test_method_begin </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structwreport_1_1tests_1_1TestMethod.html">TestMethod</a> & </td>
<td class="paramname"><em>test_method</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structwreport_1_1tests_1_1TestMethodResult.html">TestMethodResult</a> & </td>
<td class="paramname"><em>test_method_result</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called before running a test method. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the test method should be run, false if it should be skipped </dd></dl>
<p>Reimplemented from <a class="el" href="structwreport_1_1tests_1_1TestController.html#a4829cd66f179b1a453062f5de2f6657e">wreport::tests::TestController</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="utils_2tests_8h_source.html">utils/tests.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Aug 18 2016 13:32:18 for libwreport by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|