Sophie

Sophie

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

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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceTest.html">Test</a>::<a class="el" href="classTest_1_1Source.html">Source</a>
  </div>
</div>
<div class="contents">
<h1>Test::Source Class Reference</h1><!-- doxytag: class="Test::Source" -->
<p>Assertment source information.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="cpptest-source_8h_source.html">cpptest-source.h</a>&gt;</code></p>

<p><a href="classTest_1_1Source-members.html">List of all members.</a></p>
<h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="classTest_1_1Source.html#abe0f303fe92270aa12a4a749ae0395ef">Source</a> ()
<li><a class="el" href="classTest_1_1Source.html#ac764beb685a574b81527d0f90ae9e428">Source</a> (const char *file, unsigned int line, const char *msg)
<li>const std::string &amp; <a class="el" href="classTest_1_1Source.html#abb9d618ed57da70f177289b4bb035f02">file</a> () const 
<li>unsigned int <a class="el" href="classTest_1_1Source.html#aa61df0b07337fb411d67222669a8bc16">line</a> () const 
<li>const std::string &amp; <a class="el" href="classTest_1_1Source.html#adc700711d70f29ead5f5608dd6327ef2">message</a> () const 
<li>const std::string &amp; <a class="el" href="classTest_1_1Source.html#a16e0a118d2d7af145a6169ff2b342290">suite</a> () const 
<li>const std::string &amp; <a class="el" href="classTest_1_1Source.html#ab92c88c2842efb33daf97fe601a3653b">test</a> () const 
</ul>
<h2>Friends</h2>
<ul>
<li><a class="anchor" id="a7de7b0dd89982bdae285f3a3b6197f9c"></a><!-- doxytag: member="Test::Source::Suite" ref="a7de7b0dd89982bdae285f3a3b6197f9c" args="" -->
class <b>Suite</b>
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Assertment source information. </p>
<p>Contains information about an assertment point. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abe0f303fe92270aa12a4a749ae0395ef"></a><!-- doxytag: member="Test::Source::Source" ref="abe0f303fe92270aa12a4a749ae0395ef" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Test::Source::Source </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructs an invalid source object, which filename and message are empty strings and the line equals zero. </p>

</div>
</div>
<a class="anchor" id="ac764beb685a574b81527d0f90ae9e428"></a><!-- doxytag: member="Test::Source::Source" ref="ac764beb685a574b81527d0f90ae9e428" args="(const char *file, unsigned int line, const char *msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Test::Source::Source </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructs a source object.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>file</em>&nbsp;</td><td>Name of the file containing the failing function. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>line</em>&nbsp;</td><td>Line where the function starts. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>msg</em>&nbsp;</td><td>Expression (or message) that caused the failure. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="abb9d618ed57da70f177289b4bb035f02"></a><!-- doxytag: member="Test::Source::file" ref="abb9d618ed57da70f177289b4bb035f02" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const string &amp; Test::Source::file </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Name of the file containing the failing function. </dd></dl>

<p>Referenced by <a class="el" href="compileroutput_8cpp_source.html#l00109">Test::CompilerOutput::assertment()</a>.</p>

</div>
</div>
<a class="anchor" id="aa61df0b07337fb411d67222669a8bc16"></a><!-- doxytag: member="Test::Source::line" ref="aa61df0b07337fb411d67222669a8bc16" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int Test::Source::line </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Line where the function starts. </dd></dl>

<p>Referenced by <a class="el" href="compileroutput_8cpp_source.html#l00109">Test::CompilerOutput::assertment()</a>.</p>

</div>
</div>
<a class="anchor" id="adc700711d70f29ead5f5608dd6327ef2"></a><!-- doxytag: member="Test::Source::message" ref="adc700711d70f29ead5f5608dd6327ef2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const string &amp; Test::Source::message </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Descriptive message. </dd></dl>

<p>Referenced by <a class="el" href="compileroutput_8cpp_source.html#l00109">Test::CompilerOutput::assertment()</a>.</p>

</div>
</div>
<a class="anchor" id="a16e0a118d2d7af145a6169ff2b342290"></a><!-- doxytag: member="Test::Source::suite" ref="a16e0a118d2d7af145a6169ff2b342290" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const string &amp; Test::Source::suite </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Name of the suite, which the test belongs to. </dd></dl>

</div>
</div>
<a class="anchor" id="ab92c88c2842efb33daf97fe601a3653b"></a><!-- doxytag: member="Test::Source::test" ref="ab92c88c2842efb33daf97fe601a3653b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const string &amp; Test::Source::test </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Name of failing test. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="cpptest-source_8h_source.html">cpptest-source.h</a></li>
<li>source.cpp</li>
</ul>
</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>