qtrocket2/docs/doxygen/html/classCatch_1_1TestCaseHandle.html

359 lines
18 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QtRocket: Catch::TestCaseHandle Class 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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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 id="projectrow">
<td id="projectalign">
<div id="projectname">QtRocket
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classCatch_1_1TestCaseHandle.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classCatch_1_1TestCaseHandle-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">Catch::TestCaseHandle Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="catch__amalgamated_8hpp_source.html">catch_amalgamated.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Catch::TestCaseHandle:</div>
<div class="dyncontent">
<div class="center"><img src="classCatch_1_1TestCaseHandle__coll__graph.png" border="0" usemap="#aCatch_1_1TestCaseHandle_coll__map" alt="Collaboration graph"/></div>
<map name="aCatch_1_1TestCaseHandle_coll__map" id="aCatch_1_1TestCaseHandle_coll__map">
<area shape="rect" title=" " alt="" coords="294,191,464,218"/>
<area shape="rect" href="structCatch_1_1TestCaseInfo.html" title=" " alt="" coords="219,98,368,126"/>
<area shape="poly" title=" " alt="" coords="318,135,369,188,365,192,314,139"/>
<area shape="rect" href="classCatch_1_1Detail_1_1NonCopyable.html" title="Deriving classes become noncopyable and nonmovable." alt="" coords="5,5,206,33"/>
<area shape="poly" title=" " alt="" coords="148,38,267,95,265,100,145,42"/>
<area shape="rect" href="classCatch_1_1StringRef.html" title=" " alt="" coords="230,5,357,33"/>
<area shape="poly" title=" " alt="" coords="296,48,296,98,291,98,291,48"/>
<area shape="rect" href="structCatch_1_1SourceLineInfo.html" title=" " alt="" coords="380,5,543,33"/>
<area shape="poly" title=" " alt="" coords="431,44,376,76,326,100,324,95,374,72,428,39"/>
<area shape="rect" href="classCatch_1_1ITestInvoker.html" title=" " alt="" coords="392,98,536,126"/>
<area shape="poly" title=" " alt="" coords="444,139,393,192,389,188,440,135"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae265e45e0c834125ebd1cb6a370ebb83" id="r_ae265e45e0c834125ebd1cb6a370ebb83"><td class="memItemLeft" align="right" valign="top">constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae265e45e0c834125ebd1cb6a370ebb83">TestCaseHandle</a> (<a class="el" href="structCatch_1_1TestCaseInfo.html">TestCaseInfo</a> *info, <a class="el" href="classCatch_1_1ITestInvoker.html">ITestInvoker</a> *invoker)</td></tr>
<tr class="separator:ae265e45e0c834125ebd1cb6a370ebb83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e78330f0d1a6ddbb952369bf37b1e52" id="r_a7e78330f0d1a6ddbb952369bf37b1e52"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7e78330f0d1a6ddbb952369bf37b1e52">prepareTestCase</a> () const</td></tr>
<tr class="separator:a7e78330f0d1a6ddbb952369bf37b1e52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad243c3ac78d702cda848c909383da2d7" id="r_ad243c3ac78d702cda848c909383da2d7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad243c3ac78d702cda848c909383da2d7">tearDownTestCase</a> () const</td></tr>
<tr class="separator:ad243c3ac78d702cda848c909383da2d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ceefa8ee4fecb6aba985fb539ef94f4" id="r_a3ceefa8ee4fecb6aba985fb539ef94f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3ceefa8ee4fecb6aba985fb539ef94f4">invoke</a> () const</td></tr>
<tr class="separator:a3ceefa8ee4fecb6aba985fb539ef94f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a89d26457c8585f93eb8baea0f39884" id="r_a9a89d26457c8585f93eb8baea0f39884"><td class="memItemLeft" align="right" valign="top">constexpr <a class="el" href="structCatch_1_1TestCaseInfo.html">TestCaseInfo</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9a89d26457c8585f93eb8baea0f39884">getTestCaseInfo</a> () const</td></tr>
<tr class="separator:a9a89d26457c8585f93eb8baea0f39884"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a2da696381f3c5bc0aa9b0046fed4aab6" id="r_a2da696381f3c5bc0aa9b0046fed4aab6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structCatch_1_1TestCaseInfo.html">TestCaseInfo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2da696381f3c5bc0aa9b0046fed4aab6">m_info</a></td></tr>
<tr class="separator:a2da696381f3c5bc0aa9b0046fed4aab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3ff2082845c57d48277907110fd8514" id="r_aa3ff2082845c57d48277907110fd8514"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCatch_1_1ITestInvoker.html">ITestInvoker</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa3ff2082845c57d48277907110fd8514">m_invoker</a></td></tr>
<tr class="separator:aa3ff2082845c57d48277907110fd8514"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Wrapper over the test case information and the test case invoker</p>
<p>Does not own either, and is specifically made to be cheap to copy around. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae265e45e0c834125ebd1cb6a370ebb83" name="ae265e45e0c834125ebd1cb6a370ebb83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae265e45e0c834125ebd1cb6a370ebb83">&#9670;&#160;</a></span>TestCaseHandle()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Catch::TestCaseHandle::TestCaseHandle </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structCatch_1_1TestCaseInfo.html">TestCaseInfo</a> *</td> <td class="paramname"><span class="paramname"><em>info</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classCatch_1_1ITestInvoker.html">ITestInvoker</a> *</td> <td class="paramname"><span class="paramname"><em>invoker</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel constexpr">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a9a89d26457c8585f93eb8baea0f39884" name="a9a89d26457c8585f93eb8baea0f39884"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a89d26457c8585f93eb8baea0f39884">&#9670;&#160;</a></span>getTestCaseInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structCatch_1_1TestCaseInfo.html">TestCaseInfo</a> const &amp; Catch::TestCaseHandle::getTestCaseInfo </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel constexpr">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classCatch_1_1TestCaseHandle_a9a89d26457c8585f93eb8baea0f39884_icgraph.png" border="0" usemap="#aclassCatch_1_1TestCaseHandle_a9a89d26457c8585f93eb8baea0f39884_icgraph" alt=""/></div>
<map name="aclassCatch_1_1TestCaseHandle_a9a89d26457c8585f93eb8baea0f39884_icgraph" id="aclassCatch_1_1TestCaseHandle_a9a89d26457c8585f93eb8baea0f39884_icgraph">
<area shape="rect" title=" " alt="" coords="435,21,605,66"/>
<area shape="rect" href="namespaceCatch.html#a12f76a88f2882e9d1d221979dec0324d" title=" " alt="" coords="241,29,387,57"/>
<area shape="poly" title=" " alt="" coords="420,46,387,46,387,40,420,40"/>
<area shape="poly" title=" " alt="" coords="349,16,337,10,314,8,292,10,281,15,278,20,283,27,278,30,273,20,277,11,291,5,314,3,338,5,351,12"/>
<area shape="rect" href="classCatch_1_1TestSpec.html#ae62a33926c9c2c3ab5b6f27a9e7aa484" title=" " alt="" coords="5,21,193,66"/>
<area shape="poly" title=" " alt="" coords="225,46,193,46,193,40,225,40"/>
</map>
</div>
</div>
</div>
<a id="a3ceefa8ee4fecb6aba985fb539ef94f4" name="a3ceefa8ee4fecb6aba985fb539ef94f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ceefa8ee4fecb6aba985fb539ef94f4">&#9670;&#160;</a></span>invoke()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Catch::TestCaseHandle::invoke </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a7e78330f0d1a6ddbb952369bf37b1e52" name="a7e78330f0d1a6ddbb952369bf37b1e52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e78330f0d1a6ddbb952369bf37b1e52">&#9670;&#160;</a></span>prepareTestCase()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Catch::TestCaseHandle::prepareTestCase </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad243c3ac78d702cda848c909383da2d7" name="ad243c3ac78d702cda848c909383da2d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad243c3ac78d702cda848c909383da2d7">&#9670;&#160;</a></span>tearDownTestCase()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Catch::TestCaseHandle::tearDownTestCase </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a2da696381f3c5bc0aa9b0046fed4aab6" name="a2da696381f3c5bc0aa9b0046fed4aab6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2da696381f3c5bc0aa9b0046fed4aab6">&#9670;&#160;</a></span>m_info</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structCatch_1_1TestCaseInfo.html">TestCaseInfo</a>* Catch::TestCaseHandle::m_info</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa3ff2082845c57d48277907110fd8514" name="aa3ff2082845c57d48277907110fd8514"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3ff2082845c57d48277907110fd8514">&#9670;&#160;</a></span>m_invoker</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCatch_1_1ITestInvoker.html">ITestInvoker</a>* Catch::TestCaseHandle::m_invoker</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>tests/vendor/<a class="el" href="catch__amalgamated_8hpp_source.html">catch_amalgamated.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceCatch.html">Catch</a></li><li class="navelem"><a class="el" href="classCatch_1_1TestCaseHandle.html">TestCaseHandle</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
</ul>
</div>
</body>
</html>