Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 4da0df31c82e4012a4c60f3f1114a1ca > files > 53

cpptest-devel-1.1.1-1.fc14.x86_64.rpm

<html>
<head>
    <title>CppTest - A C++ Unit Testing Framework</title>
    <link href="doxygen.css" rel="stylesheet" type="text/css">
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>

<body bgcolor="#ffffff"> 
    <table width="100%">
    <tr>
        <td width="40%" align="right" valign="center">
            <a href="http://cpptest.sourceforge.net">CppTest home page</a>
        </td>
        <td></td>
        <td width="40%" align="left" valign="center">
            <a href="http://sourceforge.net/projects/cpptest">CppTest project page</a>
        </td>
    </tr>
    </table>
    <hr>

<!-- Generated by Doxygen 1.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>cpptest-suite.h File Reference</h1><code>#include &lt;list&gt;</code><br/>
<code>#include &lt;memory&gt;</code><br/>
<code>#include &lt;string&gt;</code><br/>
<code>#include &quot;<a class="el" href="cpptest-time_8h_source.html">cpptest-time.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="cpptest-source_8h_source.html">cpptest-source.h</a>&quot;</code><br/>

<p><a href="cpptest-suite_8h_source.html">Go to the source code of this file.</a></p>
<h2>Classes</h2>
<ul>
<li>class <a class="el" href="classTest_1_1Suite.html">Test::Suite</a>
<dl class="el"><dd class="mdescRight">Unit testing suite.  <a href="classTest_1_1Suite.html#_details">More...</a><br/></dl></ul>
<h2>Namespaces</h2>
<ul>
<li>namespace <a class="el" href="namespaceTest.html">Test</a>
</ul>
<h2>Defines</h2>
<ul>
<li>#define <a class="el" href="cpptest-suite_8h.html#abe8c3e0a2cf3893ebc1c265264ed9cb8">TEST_ADD</a>(func)
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="abe8c3e0a2cf3893ebc1c265264ed9cb8"></a><!-- doxytag: member="cpptest&#45;suite.h::TEST_ADD" ref="abe8c3e0a2cf3893ebc1c265264ed9cb8" args="(func)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEST_ADD</td>
          <td>(</td>
          <td class="paramtype">func&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds a test function to the enclosing suite. Note that test functions should be added in the suites constructor.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>func</em>&nbsp;</td><td>Function to add, must be of type Suite::Func.</td></tr>
  </table>
  </dd>
</dl>
<dl class="user"><dt><b>Example:</b></dt><dd><div class="fragment"><pre class="fragment">    MySuite::MySuite()
    {
    <a class="code" href="cpptest-suite_8h.html#abe8c3e0a2cf3893ebc1c265264ed9cb8">TEST_ADD</a>(&amp;MySuite::test_1)
    <a class="code" href="cpptest-suite_8h.html#abe8c3e0a2cf3893ebc1c265264ed9cb8">TEST_ADD</a>(&amp;MySuite::test_2)
    ...
    }
</pre></div> </dd></dl>

</div>
</div>
</div>
    <hr>
    <div align="center">
        Supported by:
        <br><br>
        <img src="http://sourceforge.net/sflogo.php?group_id=77564"
             width="88" height="31" border="0" alt="SourceForge Logo"></a>
    </div>
</body> 
</html>