This file is indexed.

/usr/share/doc/libwreport-doc/apidocs/classwreport_1_1tests_1_1FixtureTestCase.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
199
200
201
202
203
204
205
206
207
208
209
210
211
<!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::FixtureTestCase&lt; FIXTURE &gt; Class Template 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
   &#160;<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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;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&#160;Structures</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;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="classwreport_1_1tests_1_1FixtureTestCase.html">FixtureTestCase</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">wreport::tests::FixtureTestCase&lt; FIXTURE &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Test case that includes a fixture.  
 <a href="classwreport_1_1tests_1_1FixtureTestCase.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="utils_2tests_8h_source.html">tests.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for wreport::tests::FixtureTestCase&lt; FIXTURE &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classwreport_1_1tests_1_1FixtureTestCase.png" usemap="#wreport::tests::FixtureTestCase_3C_20FIXTURE_20_3E_map" alt=""/>
  <map id="wreport::tests::FixtureTestCase_3C_20FIXTURE_20_3E_map" name="wreport::tests::FixtureTestCase&lt; FIXTURE &gt;_map">
<area href="structwreport_1_1tests_1_1TestCase.html" title="Test case collecting several test methods, and self-registering with the singleton instance of TestRe..." alt="wreport::tests::TestCase" shape="rect" coords="0,0,258,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac270d1718071659af65dd9613124a135"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac270d1718071659af65dd9613124a135"></a>
typedef FIXTURE&#160;</td><td class="memItemRight" valign="bottom"><b>Fixture</b></td></tr>
<tr class="separator:ac270d1718071659af65dd9613124a135"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a14e044016ede0796c22a7538f239ec7f"><td class="memTemplParams" colspan="2"><a class="anchor" id="a14e044016ede0796c22a7538f239ec7f"></a>
template&lt;typename... Args&gt; </td></tr>
<tr class="memitem:a14e044016ede0796c22a7538f239ec7f"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>FixtureTestCase</b> (const std::string &amp;<a class="el" href="structwreport_1_1tests_1_1TestCase.html#a605e252a6c52e7133a310dd69de8e69f">name</a>, Args...args)</td></tr>
<tr class="separator:a14e044016ede0796c22a7538f239ec7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c0fba504e887bb611b8dc6d62399c30"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c0fba504e887bb611b8dc6d62399c30"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwreport_1_1tests_1_1FixtureTestCase.html#a1c0fba504e887bb611b8dc6d62399c30">setup</a> () override</td></tr>
<tr class="memdesc:a1c0fba504e887bb611b8dc6d62399c30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up the test case before it is run. <br /></td></tr>
<tr class="separator:a1c0fba504e887bb611b8dc6d62399c30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88a1f5b19b0d6b4cb0b5ce83b9d80805"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a88a1f5b19b0d6b4cb0b5ce83b9d80805"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwreport_1_1tests_1_1FixtureTestCase.html#a88a1f5b19b0d6b4cb0b5ce83b9d80805">teardown</a> () override</td></tr>
<tr class="memdesc:a88a1f5b19b0d6b4cb0b5ce83b9d80805"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clean up after the test case is run. <br /></td></tr>
<tr class="separator:a88a1f5b19b0d6b4cb0b5ce83b9d80805"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a895a7fc87f580ce611fb4864eda0616f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a895a7fc87f580ce611fb4864eda0616f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwreport_1_1tests_1_1FixtureTestCase.html#a895a7fc87f580ce611fb4864eda0616f">method_setup</a> (<a class="el" href="structwreport_1_1tests_1_1TestMethodResult.html">TestMethodResult</a> &amp;mr) override</td></tr>
<tr class="memdesc:a895a7fc87f580ce611fb4864eda0616f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up before the test method is run. <br /></td></tr>
<tr class="separator:a895a7fc87f580ce611fb4864eda0616f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a29b7f53287654559b45ea5b3b4523c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a29b7f53287654559b45ea5b3b4523c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwreport_1_1tests_1_1FixtureTestCase.html#a5a29b7f53287654559b45ea5b3b4523c">method_teardown</a> (<a class="el" href="structwreport_1_1tests_1_1TestMethodResult.html">TestMethodResult</a> &amp;mr) override</td></tr>
<tr class="memdesc:a5a29b7f53287654559b45ea5b3b4523c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clean up after the test method is run. <br /></td></tr>
<tr class="separator:a5a29b7f53287654559b45ea5b3b4523c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f89e46bb3e500c65a1b8590b81d67c7"><td class="memTemplParams" colspan="2">template&lt;typename FUNC &gt; </td></tr>
<tr class="memitem:a6f89e46bb3e500c65a1b8590b81d67c7"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwreport_1_1tests_1_1FixtureTestCase.html#a6f89e46bb3e500c65a1b8590b81d67c7">add_method</a> (const std::string &amp;<a class="el" href="structwreport_1_1tests_1_1TestCase.html#a605e252a6c52e7133a310dd69de8e69f">name</a>, FUNC test_function)</td></tr>
<tr class="memdesc:a6f89e46bb3e500c65a1b8590b81d67c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a method that takes a reference to the fixture as argument.  <a href="#a6f89e46bb3e500c65a1b8590b81d67c7">More...</a><br /></td></tr>
<tr class="separator:a6f89e46bb3e500c65a1b8590b81d67c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structwreport_1_1tests_1_1TestCase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structwreport_1_1tests_1_1TestCase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="structwreport_1_1tests_1_1TestCase.html">wreport::tests::TestCase</a></td></tr>
<tr class="memitem:a6e50f8b18b7ec1eae51a0c1d76580487 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e50f8b18b7ec1eae51a0c1d76580487"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TestCase</b> (const std::string &amp;<a class="el" href="structwreport_1_1tests_1_1TestCase.html#a605e252a6c52e7133a310dd69de8e69f">name</a>)</td></tr>
<tr class="separator:a6e50f8b18b7ec1eae51a0c1d76580487 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bd3eccab71a591ebbfaf47f91437948 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1TestCase.html#a2bd3eccab71a591ebbfaf47f91437948">register_tests</a> ()=0</td></tr>
<tr class="memdesc:a2bd3eccab71a591ebbfaf47f91437948 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="mdescLeft">&#160;</td><td class="mdescRight">This will be called before running the test case, to populate it with its test methods.  <a href="#a2bd3eccab71a591ebbfaf47f91437948">More...</a><br /></td></tr>
<tr class="separator:a2bd3eccab71a591ebbfaf47f91437948 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24b6a1c453545a6b7244d9a9755d0375 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structwreport_1_1tests_1_1TestCaseResult.html">TestCaseResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1TestCase.html#a24b6a1c453545a6b7244d9a9755d0375">run_tests</a> (<a class="el" href="structwreport_1_1tests_1_1TestController.html">TestController</a> &amp;controller)</td></tr>
<tr class="memdesc:a24b6a1c453545a6b7244d9a9755d0375 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call <a class="el" href="structwreport_1_1tests_1_1TestCase.html#a427be729c15b85dd860ac01b9a4e565c" title="Set up the test case before it is run. ">setup()</a>, run all the tests that have been registered, then call <a class="el" href="structwreport_1_1tests_1_1TestCase.html#a71d1eac71c5edcb2d9eb241add32aec9" title="Clean up after the test case is run. ">teardown()</a>.  <a href="#a24b6a1c453545a6b7244d9a9755d0375">More...</a><br /></td></tr>
<tr class="separator:a24b6a1c453545a6b7244d9a9755d0375 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac74605e8a3f62c775042e4c0ff43794f inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structwreport_1_1tests_1_1TestMethodResult.html">TestMethodResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1TestCase.html#ac74605e8a3f62c775042e4c0ff43794f">run_test</a> (<a class="el" href="structwreport_1_1tests_1_1TestController.html">TestController</a> &amp;controller, <a class="el" href="structwreport_1_1tests_1_1TestMethod.html">TestMethod</a> &amp;method)</td></tr>
<tr class="memdesc:ac74605e8a3f62c775042e4c0ff43794f inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run a test method.  <a href="#ac74605e8a3f62c775042e4c0ff43794f">More...</a><br /></td></tr>
<tr class="separator:ac74605e8a3f62c775042e4c0ff43794f inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac50abce09d6c6c3dc843b9c8aae820f8 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memTemplParams" colspan="2"><a class="anchor" id="ac50abce09d6c6c3dc843b9c8aae820f8"></a>
template&lt;typename... Args&gt; </td></tr>
<tr class="memitem:ac50abce09d6c6c3dc843b9c8aae820f8 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1TestCase.html#ac50abce09d6c6c3dc843b9c8aae820f8">add_method</a> (const std::string &amp;<a class="el" href="structwreport_1_1tests_1_1TestCase.html#a605e252a6c52e7133a310dd69de8e69f">name</a>, std::function&lt; void()&gt; test_function)</td></tr>
<tr class="memdesc:ac50abce09d6c6c3dc843b9c8aae820f8 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new test method. <br /></td></tr>
<tr class="separator:ac50abce09d6c6c3dc843b9c8aae820f8 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad78cd3b963ce9021347de43e80f95025 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memTemplParams" colspan="2"><a class="anchor" id="ad78cd3b963ce9021347de43e80f95025"></a>
template&lt;typename... Args&gt; </td></tr>
<tr class="memitem:ad78cd3b963ce9021347de43e80f95025 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1TestCase.html#ad78cd3b963ce9021347de43e80f95025">add_method</a> (const std::string &amp;<a class="el" href="structwreport_1_1tests_1_1TestCase.html#a605e252a6c52e7133a310dd69de8e69f">name</a>, std::function&lt; void()&gt; test_function, Args &amp;&amp;...args)</td></tr>
<tr class="memdesc:ad78cd3b963ce9021347de43e80f95025 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new test method. <br /></td></tr>
<tr class="separator:ad78cd3b963ce9021347de43e80f95025 inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc888f612e6390cabcb25a512dde609e inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memTemplParams" colspan="2">template&lt;typename FUNC , typename... Args&gt; </td></tr>
<tr class="memitem:afc888f612e6390cabcb25a512dde609e inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1TestCase.html#afc888f612e6390cabcb25a512dde609e">add_method</a> (const std::string &amp;<a class="el" href="structwreport_1_1tests_1_1TestCase.html#a605e252a6c52e7133a310dd69de8e69f">name</a>, FUNC test_function, Args &amp;&amp;...args)</td></tr>
<tr class="memdesc:afc888f612e6390cabcb25a512dde609e inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new test metheod, with arguments.  <a href="#afc888f612e6390cabcb25a512dde609e">More...</a><br /></td></tr>
<tr class="separator:afc888f612e6390cabcb25a512dde609e inherit pub_methods_structwreport_1_1tests_1_1TestCase"><td class="memSeparator" colspan="2">&#160;</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:ae689bda29fcc8943d4a1f971a4827eca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae689bda29fcc8943d4a1f971a4827eca"></a>
Fixture *&#160;</td><td class="memItemRight" valign="bottom"><b>fixture</b> = nullptr</td></tr>
<tr class="separator:ae689bda29fcc8943d4a1f971a4827eca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f760127b696adf6e2cb362341508f76"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f760127b696adf6e2cb362341508f76"></a>
std::function&lt; Fixture *()&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>make_fixture</b></td></tr>
<tr class="separator:a3f760127b696adf6e2cb362341508f76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_structwreport_1_1tests_1_1TestCase"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structwreport_1_1tests_1_1TestCase')"><img src="closed.png" alt="-"/>&#160;Data Fields inherited from <a class="el" href="structwreport_1_1tests_1_1TestCase.html">wreport::tests::TestCase</a></td></tr>
<tr class="memitem:a605e252a6c52e7133a310dd69de8e69f inherit pub_attribs_structwreport_1_1tests_1_1TestCase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a605e252a6c52e7133a310dd69de8e69f"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1TestCase.html#a605e252a6c52e7133a310dd69de8e69f">name</a></td></tr>
<tr class="memdesc:a605e252a6c52e7133a310dd69de8e69f inherit pub_attribs_structwreport_1_1tests_1_1TestCase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the test case. <br /></td></tr>
<tr class="separator:a605e252a6c52e7133a310dd69de8e69f inherit pub_attribs_structwreport_1_1tests_1_1TestCase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c2d6ec96cd366b92375af676b18a6dc inherit pub_attribs_structwreport_1_1tests_1_1TestCase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c2d6ec96cd366b92375af676b18a6dc"></a>
std::vector&lt; <a class="el" href="structwreport_1_1tests_1_1TestMethod.html">TestMethod</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1tests_1_1TestCase.html#a2c2d6ec96cd366b92375af676b18a6dc">methods</a></td></tr>
<tr class="memdesc:a2c2d6ec96cd366b92375af676b18a6dc inherit pub_attribs_structwreport_1_1tests_1_1TestCase"><td class="mdescLeft">&#160;</td><td class="mdescRight">All registered test methods. <br /></td></tr>
<tr class="separator:a2c2d6ec96cd366b92375af676b18a6dc inherit pub_attribs_structwreport_1_1tests_1_1TestCase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename FIXTURE&gt;<br />
class wreport::tests::FixtureTestCase&lt; FIXTURE &gt;</h3>

<p>Test case that includes a fixture. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6f89e46bb3e500c65a1b8590b81d67c7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename FIXTURE &gt; </div>
<div class="memtemplate">
template&lt;typename FUNC &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classwreport_1_1tests_1_1FixtureTestCase.html">wreport::tests::FixtureTestCase</a>&lt; FIXTURE &gt;::add_method </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FUNC&#160;</td>
          <td class="paramname"><em>test_function</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add a method that takes a reference to the fixture as argument. </p>
<p>Any extra arguments to the function will be passed to the test method after the fixture. </p>

</div>
</div>
<hr/>The documentation for this class 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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>