<!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>proxygen: proxygen/lib/test/googletest-release-1.8.0/googletest/test/gtest-unittest-api_test.cc File 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</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">proxygen
   </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><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</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">
$(document).ready(function(){initNavTree('lib_2test_2googletest-release-1_88_80_2googletest_2test_2gtest-unittest-api__test_8cc.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">gtest-unittest-api_test.cc File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;gtest/gtest.h&quot;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
</div>
<p><a href="lib_2test_2googletest-release-1_88_80_2googletest_2test_2gtest-unittest-api__test_8cc_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtesting_1_1internal_1_1LessByName.html">testing::internal::LessByName&lt; T &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1UnitTestHelper.html">testing::internal::UnitTestHelper</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1FinalSuccessChecker.html">testing::internal::FinalSuccessChecker</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacetesting"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting.html">testing</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacetesting_1_1internal"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html">testing::internal</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a9ac879683abb06d1c0bba3a339ea2f40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a9ac879683abb06d1c0bba3a339ea2f40">testing::internal::TEST</a> (ApiTest, UnitTestImmutableAccessorsWork)</td></tr>
<tr class="separator:a9ac879683abb06d1c0bba3a339ea2f40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcfd37a66bc4cb0e8291cf46e1a6c72b"><td class="memItemLeft" align="right" valign="top">AssertionResult&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#adcfd37a66bc4cb0e8291cf46e1a6c72b">testing::internal::IsNull</a> (const char *str)</td></tr>
<tr class="separator:adcfd37a66bc4cb0e8291cf46e1a6c72b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33809333fe5b5f33c2bd56ddcdd1dbb6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a33809333fe5b5f33c2bd56ddcdd1dbb6">testing::internal::TEST</a> (ApiTest, TestCaseImmutableAccessorsWork)</td></tr>
<tr class="separator:a33809333fe5b5f33c2bd56ddcdd1dbb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a459d693357db8f8f48c26a8bee3ffb84"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a459d693357db8f8f48c26a8bee3ffb84">testing::internal::TEST</a> (ApiTest, TestCaseDisabledAccessorsWork)</td></tr>
<tr class="separator:a459d693357db8f8f48c26a8bee3ffb84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ed5f89c92532506899e3908e79af4de"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a9ed5f89c92532506899e3908e79af4de">testing::internal::TEST</a> (ApiTest, DISABLED_Dummy1)</td></tr>
<tr class="separator:a9ed5f89c92532506899e3908e79af4de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a84433419426d1c1b87ce998267b0d4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a4a84433419426d1c1b87ce998267b0d4">testing::internal::TEST</a> (DISABLED_Test, Dummy2)</td></tr>
<tr class="separator:a4a84433419426d1c1b87ce998267b0d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="lib_2test_2googletest-release-1_88_80_2googletest_2test_2gtest-unittest-api__test_8cc.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **<a class="el" href="ConstexprMathBenchmark_8cpp.html#af2efa898e9eed6fe6715279cb1ec35b0">argv</a>)</td></tr>
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="lib_2test_2googletest-release-1_88_80_2googletest_2test_2gtest-unittest-api__test_8cc_source.html#l00335">335</a> of file <a class="el" href="lib_2test_2googletest-release-1_88_80_2googletest_2test_2gtest-unittest-api__test_8cc_source.html">gtest-unittest-api_test.cc</a>.</p>

<p>References <a class="el" href="fizz_2build___2gtest_2src_2gtest_2googletest_2include_2gtest_2gtest_8h_source.html#l01350">testing::AddGlobalTestEnvironment()</a>, <a class="el" href="fizz_2build___2gtest_2src_2gtest_2googletest_2src_2gtest_8cc_source.html#l05370">testing::InitGoogleTest()</a>, and <a class="el" href="fizz_2build___2gtest_2src_2gtest_2googletest_2include_2gtest_2gtest_8h_source.html#l02232">RUN_ALL_TESTS()</a>.</p>
<div class="fragment"><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;                                {</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;  <a class="code" href="namespacetesting.html#afd726ae08c9bd16dc52f78c822d9946b">InitGoogleTest</a>(&amp;argc, <a class="code" href="SmallLocksBenchmark_8cpp.html#af2efa898e9eed6fe6715279cb1ec35b0">argv</a>);</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;  <a class="code" href="namespacetesting.html#a224caeebdb6586b728d204367fea1087">AddGlobalTestEnvironment</a>(<span class="keyword">new</span> <a class="code" href="classtesting_1_1internal_1_1FinalSuccessChecker.html">testing::internal::FinalSuccessChecker</a>());</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="fizz_2build___2gtest_2src_2gtest_2googletest_2include_2gtest_2gtest_8h.html#a853a3792807489591d3d4a2f2ff9359f">RUN_ALL_TESTS</a>();</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;}</div><div class="ttc" id="namespacetesting_html_a224caeebdb6586b728d204367fea1087"><div class="ttname"><a href="namespacetesting.html#a224caeebdb6586b728d204367fea1087">testing::AddGlobalTestEnvironment</a></div><div class="ttdeci">Environment * AddGlobalTestEnvironment(Environment *env)</div><div class="ttdef"><b>Definition:</b> <a href="fizz_2build___2gtest_2src_2gtest_2googletest_2include_2gtest_2gtest_8h_source.html#l01350">gtest.h:1350</a></div></div>
<div class="ttc" id="fizz_2build___2gtest_2src_2gtest_2googletest_2include_2gtest_2gtest_8h_html_a853a3792807489591d3d4a2f2ff9359f"><div class="ttname"><a href="fizz_2build___2gtest_2src_2gtest_2googletest_2include_2gtest_2gtest_8h.html#a853a3792807489591d3d4a2f2ff9359f">RUN_ALL_TESTS</a></div><div class="ttdeci">int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_</div><div class="ttdef"><b>Definition:</b> <a href="fizz_2build___2gtest_2src_2gtest_2googletest_2include_2gtest_2gtest_8h_source.html#l02232">gtest.h:2232</a></div></div>
<div class="ttc" id="SmallLocksBenchmark_8cpp_html_af2efa898e9eed6fe6715279cb1ec35b0"><div class="ttname"><a href="SmallLocksBenchmark_8cpp.html#af2efa898e9eed6fe6715279cb1ec35b0">argv</a></div><div class="ttdeci">char ** argv</div><div class="ttdef"><b>Definition:</b> <a href="SmallLocksBenchmark_8cpp_source.html#l00430">SmallLocksBenchmark.cpp:430</a></div></div>
<div class="ttc" id="classtesting_1_1internal_1_1FinalSuccessChecker_html"><div class="ttname"><a href="classtesting_1_1internal_1_1FinalSuccessChecker.html">testing::internal::FinalSuccessChecker</a></div><div class="ttdef"><b>Definition:</b> <a href="fizz_2build___2gtest_2src_2gtest_2googletest_2test_2gtest-unittest-api__test_8cc_source.html#l00234">gtest-unittest-api_test.cc:234</a></div></div>
<div class="ttc" id="namespacetesting_html_afd726ae08c9bd16dc52f78c822d9946b"><div class="ttname"><a href="namespacetesting.html#afd726ae08c9bd16dc52f78c822d9946b">testing::InitGoogleTest</a></div><div class="ttdeci">GTEST_API_ void InitGoogleTest(int *argc, char **argv)</div><div class="ttdef"><b>Definition:</b> <a href="fizz_2build___2gtest_2src_2gtest_2googletest_2src_2gtest_8cc_source.html#l05370">gtest.cc:5370</a></div></div>
</div><!-- fragment -->
</div>
</div>
</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="dir_d333e33cf903653326082c1f32e03be5.html">proxygen</a></li><li class="navelem"><a class="el" href="dir_baa8b6fadb61b56c035914fe171fd962.html">lib</a></li><li class="navelem"><a class="el" href="dir_9548c06b8a138043d2bc571a1114c8ff.html">test</a></li><li class="navelem"><a class="el" href="dir_1dbeb7bf44307957d7eac856086e1028.html">googletest-release-1.8.0</a></li><li class="navelem"><a class="el" href="dir_bde3f1fa2597786aab00c7fadd7fa6d8.html">googletest</a></li><li class="navelem"><a class="el" href="dir_a043c5980afce91924fd33278a029a7d.html">test</a></li><li class="navelem"><a class="el" href="lib_2test_2googletest-release-1_88_80_2googletest_2test_2gtest-unittest-api__test_8cc.html">gtest-unittest-api_test.cc</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>