Micro template library A library for building device drivers
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

579 lignes
50 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>uTL: test/eclipse-cygwin/lib/gtest/gtest-all.cc File Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript">
  17. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  18. $(document).ready(initResizable);
  19. /* @license-end */</script>
  20. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  21. <script type="text/javascript" src="search/searchdata.js"></script>
  22. <script type="text/javascript" src="search/search.js"></script>
  23. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body>
  26. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  27. <div id="titlearea">
  28. <table cellspacing="0" cellpadding="0">
  29. <tbody>
  30. <tr style="height: 56px;">
  31. <td id="projectalign" style="padding-left: 0.5em;">
  32. <div id="projectname">uTL
  33. </div>
  34. <div id="projectbrief">micro Template library</div>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. <!-- end header part -->
  41. <!-- Generated by Doxygen 1.8.14 -->
  42. <script type="text/javascript">
  43. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  44. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  45. /* @license-end */
  46. </script>
  47. <script type="text/javascript" src="menudata.js"></script>
  48. <script type="text/javascript" src="menu.js"></script>
  49. <script type="text/javascript">
  50. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  51. $(function() {
  52. initMenu('',true,false,'search.php','Search');
  53. $(document).ready(function() { init_search(); });
  54. });
  55. /* @license-end */</script>
  56. <div id="main-nav"></div>
  57. </div><!-- top -->
  58. <div id="side-nav" class="ui-resizable side-nav-resizable">
  59. <div id="nav-tree">
  60. <div id="nav-tree-contents">
  61. <div id="nav-sync" class="sync"></div>
  62. </div>
  63. </div>
  64. <div id="splitbar" style="-moz-user-select:none;"
  65. class="ui-resizable-handle">
  66. </div>
  67. </div>
  68. <script type="text/javascript">
  69. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  70. $(document).ready(function(){initNavTree('gtest-all_8cc.html','');});
  71. /* @license-end */
  72. </script>
  73. <div id="doc-content">
  74. <!-- window showing the filter options -->
  75. <div id="MSearchSelectWindow"
  76. onmouseover="return searchBox.OnSearchSelectShow()"
  77. onmouseout="return searchBox.OnSearchSelectHide()"
  78. onkeydown="return searchBox.OnSearchSelectKey(event)">
  79. </div>
  80. <!-- iframe showing the search results (closed by default) -->
  81. <div id="MSearchResultsWindow">
  82. <iframe src="javascript:void(0)" frameborder="0"
  83. name="MSearchResults" id="MSearchResults">
  84. </iframe>
  85. </div>
  86. <div class="header">
  87. <div class="summary">
  88. <a href="#nested-classes">Classes</a> &#124;
  89. <a href="#namespaces">Namespaces</a> &#124;
  90. <a href="#define-members">Macros</a> &#124;
  91. <a href="#enum-members">Enumerations</a> &#124;
  92. <a href="#func-members">Functions</a> &#124;
  93. <a href="#var-members">Variables</a> </div>
  94. <div class="headertitle">
  95. <div class="title">gtest-all.cc File Reference</div> </div>
  96. </div><!--header-->
  97. <div class="contents">
  98. <div class="textblock"><code>#include &quot;<a class="el" href="gtest_8h_source.html">gtest.h</a>&quot;</code><br />
  99. <code>#include &lt;ctype.h&gt;</code><br />
  100. <code>#include &lt;math.h&gt;</code><br />
  101. <code>#include &lt;stdarg.h&gt;</code><br />
  102. <code>#include &lt;stdio.h&gt;</code><br />
  103. <code>#include &lt;stdlib.h&gt;</code><br />
  104. <code>#include &lt;time.h&gt;</code><br />
  105. <code>#include &lt;wchar.h&gt;</code><br />
  106. <code>#include &lt;wctype.h&gt;</code><br />
  107. <code>#include &lt;algorithm&gt;</code><br />
  108. <code>#include &lt;iomanip&gt;</code><br />
  109. <code>#include &lt;limits&gt;</code><br />
  110. <code>#include &lt;list&gt;</code><br />
  111. <code>#include &lt;map&gt;</code><br />
  112. <code>#include &lt;ostream&gt;</code><br />
  113. <code>#include &lt;sstream&gt;</code><br />
  114. <code>#include &lt;vector&gt;</code><br />
  115. <code>#include &lt;sys/time.h&gt;</code><br />
  116. <code>#include &lt;unistd.h&gt;</code><br />
  117. <code>#include &lt;errno.h&gt;</code><br />
  118. <code>#include &lt;stddef.h&gt;</code><br />
  119. <code>#include &lt;string.h&gt;</code><br />
  120. <code>#include &lt;memory&gt;</code><br />
  121. <code>#include &lt;string&gt;</code><br />
  122. <code>#include &lt;utility&gt;</code><br />
  123. <code>#include &lt;limits.h&gt;</code><br />
  124. <code>#include &lt;climits&gt;</code><br />
  125. <code>#include &lt;fstream&gt;</code><br />
  126. <code>#include &lt;cctype&gt;</code><br />
  127. <code>#include &lt;cwchar&gt;</code><br />
  128. </div>
  129. <p><a href="gtest-all_8cc_source.html">Go to the source code of this file.</a></p>
  130. <table class="memberdecls">
  131. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  132. Classes</h2></td></tr>
  133. <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_1_captured_stream.html">testing::internal::CapturedStream</a></td></tr>
  134. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. </table><table class="memberdecls">
  136. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
  137. Namespaces</h2></td></tr>
  138. <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>
  139. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <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>
  141. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:namespacetesting_1_1internal2"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal2.html">testing::internal2</a></td></tr>
  143. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. </table><table class="memberdecls">
  145. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
  146. Macros</h2></td></tr>
  147. <tr class="memitem:a2f159eaa9c00e7aa9fd6b296e520e35c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#a2f159eaa9c00e7aa9fd6b296e520e35c">GTEST_INCLUDE_GTEST_GTEST_SPI_H_</a></td></tr>
  148. <tr class="separator:a2f159eaa9c00e7aa9fd6b296e520e35c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a819a3fd7f8b8cf24b6f1b3a26708973d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#a819a3fd7f8b8cf24b6f1b3a26708973d">EXPECT_FATAL_FAILURE</a>(statement, substr)</td></tr>
  150. <tr class="separator:a819a3fd7f8b8cf24b6f1b3a26708973d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:ad8aac5bc859b2ddc07583636ae4f45cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#ad8aac5bc859b2ddc07583636ae4f45cf">EXPECT_FATAL_FAILURE_ON_ALL_THREADS</a>(statement, substr)</td></tr>
  152. <tr class="separator:ad8aac5bc859b2ddc07583636ae4f45cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:a8376fd6821bd88fd806697355e79e138"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#a8376fd6821bd88fd806697355e79e138">EXPECT_NONFATAL_FAILURE</a>(statement, substr)</td></tr>
  154. <tr class="separator:a8376fd6821bd88fd806697355e79e138"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:a9f4cf1f150fe9facfc4cbf0bae646ee9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#a9f4cf1f150fe9facfc4cbf0bae646ee9">EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS</a>(statement, substr)</td></tr>
  156. <tr class="separator:a9f4cf1f150fe9facfc4cbf0bae646ee9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a7c139c1711de5a69cbc934e8a082e4f9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#a7c139c1711de5a69cbc934e8a082e4f9">GTEST_HAS_GETTIMEOFDAY_</a>&#160;&#160;&#160;1</td></tr>
  158. <tr class="separator:a7c139c1711de5a69cbc934e8a082e4f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:ab740e029f81d48cfba1b34cecce63fef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#ab740e029f81d48cfba1b34cecce63fef">GTEST_SRC_GTEST_INTERNAL_INL_H_</a></td></tr>
  160. <tr class="separator:ab740e029f81d48cfba1b34cecce63fef"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:a4a5b6fbde5dd05e05dd6846ac5e5c18e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#a4a5b6fbde5dd05e05dd6846ac5e5c18e">GTEST_IMPL_CMP_HELPER_</a>(op_name, op)</td></tr>
  162. <tr class="separator:a4a5b6fbde5dd05e05dd6846ac5e5c18e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:a87a475ab9e81de8b49525787665b9229"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#a87a475ab9e81de8b49525787665b9229">GTEST_REPEATER_METHOD_</a>(Name, Type)</td></tr>
  164. <tr class="separator:a87a475ab9e81de8b49525787665b9229"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:aa7da32fd7da6a8cceeed6b448cb7b5f2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#aa7da32fd7da6a8cceeed6b448cb7b5f2">GTEST_REVERSE_REPEATER_METHOD_</a>(Name, Type)</td></tr>
  166. <tr class="separator:aa7da32fd7da6a8cceeed6b448cb7b5f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:ad9d445747785a9271a57cf1d392b89ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#ad9d445747785a9271a57cf1d392b89ad">GTEST_PATH_MAX_</a>&#160;&#160;&#160;_POSIX_PATH_MAX</td></tr>
  168. <tr class="separator:ad9d445747785a9271a57cf1d392b89ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. </table><table class="memberdecls">
  170. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
  171. Enumerations</h2></td></tr>
  172. <tr class="memitem:ae2ef98247c76a50cdc80ceb4a6c81793"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#ae2ef98247c76a50cdc80ceb4a6c81793">testing::internal::CharFormat</a> { <a class="el" href="namespacetesting_1_1internal.html#ae2ef98247c76a50cdc80ceb4a6c81793af7038866be92e9978360b831e376ffaa">testing::internal::kAsIs</a>,
  173. <a class="el" href="namespacetesting_1_1internal.html#ae2ef98247c76a50cdc80ceb4a6c81793aebfa5293302338a8e8678744c103f113">testing::internal::kHexEscape</a>,
  174. <a class="el" href="namespacetesting_1_1internal.html#ae2ef98247c76a50cdc80ceb4a6c81793ae1211108e9f35f891d9951da64794d03">testing::internal::kSpecialEscape</a>
  175. }</td></tr>
  176. <tr class="separator:ae2ef98247c76a50cdc80ceb4a6c81793"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. </table><table class="memberdecls">
  178. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  179. Functions</h2></td></tr>
  180. <tr class="memitem:a88f79832f9d045112a76e9da8611cc13"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#a88f79832f9d045112a76e9da8611cc13">GTEST_DISABLE_MSC_WARNINGS_PUSH_</a> (4251) namespace testing</td></tr>
  181. <tr class="separator:a88f79832f9d045112a76e9da8611cc13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:a789f37f9c345c2032699c194a58623d9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gtest-all_8cc.html#a789f37f9c345c2032699c194a58623d9">GTEST_DISABLE_MSC_WARNINGS_POP_</a> () <a class="el" href="gtest_8h.html#a88f79832f9d045112a76e9da8611cc13">GTEST_DISABLE_MSC_WARNINGS_PUSH_</a>(4251) namespace testing</td></tr>
  183. <tr class="separator:a789f37f9c345c2032699c194a58623d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a8e954ed3f0f6ca2e90b043e419c74123"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting.html#a8e954ed3f0f6ca2e90b043e419c74123">testing::GTEST_DEFINE_string_</a> (death_test_style, internal::StringFromGTestEnv(&quot;death_test_style&quot;, kDefaultDeathTestStyle), &quot;Indicates how to run a death test in a forked child process: &quot; &quot;\hreadsafe\(child process re-executes the test binary &quot; &quot;from the beginning, running only the specific death test) or &quot; &quot;\ast\(child process runs the death test immediately &quot; &quot;after forking).&quot;)</td></tr>
  185. <tr class="separator:a8e954ed3f0f6ca2e90b043e419c74123"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:a428e5944490e497df683cb8324ce4489"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting.html#a428e5944490e497df683cb8324ce4489">testing::GTEST_DEFINE_bool_</a> (death_test_use_fork, internal::BoolFromGTestEnv(&quot;death_test_use_fork&quot;, false), &quot;Instructs to use fork()/_exit() instead of clone() in death tests. &quot; &quot;Ignored and always uses fork() on POSIX systems where clone() is not &quot; &quot;implemented. Useful when running under valgrind or similar tools if &quot; &quot;those do not support clone(). Valgrind 3.3.1 will just fail if &quot; &quot;it sees an unsupported combination of clone() flags. &quot; &quot;It is not recommended to use this flag w/o valgrind though it will &quot; &quot;work in 99% of the cases. Once valgrind is fixed, this flag will &quot; &quot;most likely be removed.&quot;)</td></tr>
  187. <tr class="separator:a428e5944490e497df683cb8324ce4489"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:a20bfd9d47d8dd167ffc1c37a4c9ff73e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a20bfd9d47d8dd167ffc1c37a4c9ff73e">testing::internal::GTEST_DEFINE_string_</a> (internal_run_death_test, &quot;&quot;, &quot;Indicates the file, line number, temporal index of &quot; &quot;the single death test to run, and a file descriptor to &quot; &quot;which a success code may be sent, all separated by &quot; &quot;the '|' characters. This flag is specified if and only if the current &quot; &quot;process is a sub-process launched for running a thread-safe &quot; &quot;death test. FOR INTERNAL USE ONLY.&quot;)</td></tr>
  189. <tr class="separator:a20bfd9d47d8dd167ffc1c37a4c9ff73e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:a8cbd8bf820517923d7f3c4477b3af5fa"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a8cbd8bf820517923d7f3c4477b3af5fa">testing::internal::GetThreadCount</a> ()</td></tr>
  191. <tr class="separator:a8cbd8bf820517923d7f3c4477b3af5fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:a31b7c3abed4a7c395f42c61e993989f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gtest_8h.html#aa73be6f0ba4a7456180a94904ce17790">GTEST_API_</a> ::std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a31b7c3abed4a7c395f42c61e993989f4">testing::internal::FormatFileLocation</a> (const char *file, int line)</td></tr>
  193. <tr class="separator:a31b7c3abed4a7c395f42c61e993989f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr class="memitem:a1ee4cde97868c53e442d3182496a9f3c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gtest_8h.html#aa73be6f0ba4a7456180a94904ce17790">GTEST_API_</a> ::std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a1ee4cde97868c53e442d3182496a9f3c">testing::internal::FormatCompilerIndependentFileLocation</a> (const char *file, int line)</td></tr>
  195. <tr class="separator:a1ee4cde97868c53e442d3182496a9f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  196. <tr class="memitem:acba06d4f0343dec407738ba5544af990"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#acba06d4f0343dec407738ba5544af990">testing::internal::CaptureStdout</a> ()</td></tr>
  197. <tr class="separator:acba06d4f0343dec407738ba5544af990"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:a8ec00d458d0d442bd64af7b5f9c22dda"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a8ec00d458d0d442bd64af7b5f9c22dda">testing::internal::CaptureStderr</a> ()</td></tr>
  199. <tr class="separator:a8ec00d458d0d442bd64af7b5f9c22dda"><td class="memSeparator" colspan="2">&#160;</td></tr>
  200. <tr class="memitem:aed657219a9856a8d249a3230de0c54ce"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#aed657219a9856a8d249a3230de0c54ce">testing::internal::GetCapturedStdout</a> ()</td></tr>
  201. <tr class="separator:aed657219a9856a8d249a3230de0c54ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  202. <tr class="memitem:a374156401da17704099d0c33fa53adfb"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a374156401da17704099d0c33fa53adfb">testing::internal::GetCapturedStderr</a> ()</td></tr>
  203. <tr class="separator:a374156401da17704099d0c33fa53adfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  204. <tr class="memitem:a40bcfd87e26aae36e0cc51e5db64fd89"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a40bcfd87e26aae36e0cc51e5db64fd89">testing::internal::GetFileSize</a> (FILE *file)</td></tr>
  205. <tr class="separator:a40bcfd87e26aae36e0cc51e5db64fd89"><td class="memSeparator" colspan="2">&#160;</td></tr>
  206. <tr class="memitem:ab81b0af2a0131ea54dc11de00d5e6e51"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#ab81b0af2a0131ea54dc11de00d5e6e51">testing::internal::ReadEntireFile</a> (FILE *file)</td></tr>
  207. <tr class="separator:ab81b0af2a0131ea54dc11de00d5e6e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
  208. <tr class="memitem:ac06fc81336a3d80755f4020d34321766"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#ac06fc81336a3d80755f4020d34321766">testing::internal::ParseInt32</a> (const Message &amp;src_text, const char *str, Int32 *value)</td></tr>
  209. <tr class="separator:ac06fc81336a3d80755f4020d34321766"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:a1055088bb9b867e1b7b8f096f519d7c5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a1055088bb9b867e1b7b8f096f519d7c5">testing::internal::BoolFromGTestEnv</a> (const char *flag, bool default_value)</td></tr>
  211. <tr class="separator:a1055088bb9b867e1b7b8f096f519d7c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  212. <tr class="memitem:a2196f070b2d28bceb45c7ad3b565b9ba"><td class="memItemLeft" align="right" valign="top">Int32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a2196f070b2d28bceb45c7ad3b565b9ba">testing::internal::Int32FromGTestEnv</a> (const char *flag, Int32 default_value)</td></tr>
  213. <tr class="separator:a2196f070b2d28bceb45c7ad3b565b9ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  214. <tr class="memitem:a0c793c6d84760d900299916c077a1af4"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a0c793c6d84760d900299916c077a1af4">testing::internal::OutputFlagAlsoCheckEnvVar</a> ()</td></tr>
  215. <tr class="separator:a0c793c6d84760d900299916c077a1af4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  216. <tr class="memitem:a0967cbf18fb1594f82512d8d822aba21"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a0967cbf18fb1594f82512d8d822aba21">testing::internal::StringFromGTestEnv</a> (const char *flag, const char *default_value)</td></tr>
  217. <tr class="separator:a0967cbf18fb1594f82512d8d822aba21"><td class="memSeparator" colspan="2">&#160;</td></tr>
  218. <tr class="memitem:abfb9aa80365f93b952e9a4bea09947a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal2.html#abfb9aa80365f93b952e9a4bea09947a8">testing::internal2::PrintBytesInObjectTo</a> (const unsigned char *obj_bytes, size_t count, ostream *os)</td></tr>
  219. <tr class="separator:abfb9aa80365f93b952e9a4bea09947a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  220. <tr class="memitem:a744a6dd74c12d1e2c16b3c03e14ed4d4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a744a6dd74c12d1e2c16b3c03e14ed4d4">testing::internal::IsPrintableAscii</a> (wchar_t c)</td></tr>
  221. <tr class="separator:a744a6dd74c12d1e2c16b3c03e14ed4d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  222. <tr class="memitem:a0c577e598e61d339ba45dd6643fb1969"><td class="memTemplParams" colspan="2">template&lt;typename UnsignedChar , typename Char &gt; </td></tr>
  223. <tr class="memitem:a0c577e598e61d339ba45dd6643fb1969"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a0c577e598e61d339ba45dd6643fb1969">testing::internal::PrintCharAndCodeTo</a> (Char c, ostream *os)</td></tr>
  224. <tr class="separator:a0c577e598e61d339ba45dd6643fb1969"><td class="memSeparator" colspan="2">&#160;</td></tr>
  225. <tr class="memitem:aa7e70a85d66f0c109e3e69629ef577f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#aa7e70a85d66f0c109e3e69629ef577f2">testing::internal::PrintTo</a> (unsigned char c, ::std::ostream *os)</td></tr>
  226. <tr class="separator:aa7e70a85d66f0c109e3e69629ef577f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  227. <tr class="memitem:abf6c518b437569187c1218166c702807"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#abf6c518b437569187c1218166c702807">testing::internal::PrintTo</a> (signed char c, ::std::ostream *os)</td></tr>
  228. <tr class="separator:abf6c518b437569187c1218166c702807"><td class="memSeparator" colspan="2">&#160;</td></tr>
  229. <tr class="memitem:aa74ea9d64f76ce69eceb225ca5ebef58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#aa74ea9d64f76ce69eceb225ca5ebef58">testing::internal::PrintTo</a> (wchar_t wc, ostream *os)</td></tr>
  230. <tr class="separator:aa74ea9d64f76ce69eceb225ca5ebef58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  231. <tr class="memitem:a070107e7a8205ad6ec4d538d52b15b38"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a070107e7a8205ad6ec4d538d52b15b38">testing::internal::UniversalPrintArray</a> (const char *begin, size_t len, ostream *os)</td></tr>
  232. <tr class="separator:a070107e7a8205ad6ec4d538d52b15b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
  233. <tr class="memitem:a52394019018eb5079f9f1bcca23dcd60"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a52394019018eb5079f9f1bcca23dcd60">testing::internal::UniversalPrintArray</a> (const wchar_t *begin, size_t len, ostream *os)</td></tr>
  234. <tr class="separator:a52394019018eb5079f9f1bcca23dcd60"><td class="memSeparator" colspan="2">&#160;</td></tr>
  235. <tr class="memitem:adc6c98306d40b53fd07be4e295102a0a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#adc6c98306d40b53fd07be4e295102a0a">testing::internal::PrintTo</a> (const char *s, ostream *os)</td></tr>
  236. <tr class="separator:adc6c98306d40b53fd07be4e295102a0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  237. <tr class="memitem:afc20fb56b2547a8f91f9ff99650f2024"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#afc20fb56b2547a8f91f9ff99650f2024">testing::internal::PrintTo</a> (const wchar_t *s, ostream *os)</td></tr>
  238. <tr class="separator:afc20fb56b2547a8f91f9ff99650f2024"><td class="memSeparator" colspan="2">&#160;</td></tr>
  239. <tr class="memitem:ad609167d8d6792b0fb186539e0e159bd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#ad609167d8d6792b0fb186539e0e159bd">testing::internal::PrintStringTo</a> (const ::std::string &amp;s, ostream *os)</td></tr>
  240. <tr class="separator:ad609167d8d6792b0fb186539e0e159bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  241. <tr class="memitem:ac46308aa3c0294ae446a40115aeb32c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#ac46308aa3c0294ae446a40115aeb32c6">testing::internal::PrintWideStringTo</a> (const ::std::wstring &amp;s, ostream *os)</td></tr>
  242. <tr class="separator:ac46308aa3c0294ae446a40115aeb32c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  243. <tr class="memitem:a266e39b7c4691fedb856047673a412d8"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting.html#a266e39b7c4691fedb856047673a412d8">testing::operator&lt;&lt;</a> (std::ostream &amp;os, const TestPartResult &amp;result)</td></tr>
  244. <tr class="separator:a266e39b7c4691fedb856047673a412d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  245. </table><table class="memberdecls">
  246. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
  247. Variables</h2></td></tr>
  248. <tr class="memitem:afcd71adaa9d1e6df7b282a17fc48125c"><td class="memItemLeft" align="right" valign="top">const char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#afcd71adaa9d1e6df7b282a17fc48125c">testing::internal::kPathSeparator</a> = '/'</td></tr>
  249. <tr class="separator:afcd71adaa9d1e6df7b282a17fc48125c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  250. <tr class="memitem:a23a8e9527d0e544e7df2d64ad549ce3e"><td class="memItemLeft" align="right" valign="top">const char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a23a8e9527d0e544e7df2d64ad549ce3e">testing::internal::kCurrentDirectoryString</a> [] = &quot;./&quot;</td></tr>
  251. <tr class="separator:a23a8e9527d0e544e7df2d64ad549ce3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  252. <tr class="memitem:a24f0a3d50cac54a9132f4828ec9b96d9"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a24f0a3d50cac54a9132f4828ec9b96d9">testing::internal::kStdOutFileno</a> = STDOUT_FILENO</td></tr>
  253. <tr class="separator:a24f0a3d50cac54a9132f4828ec9b96d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  254. <tr class="memitem:a747eccfdbdee3ff8af3bedc476a57c85"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#a747eccfdbdee3ff8af3bedc476a57c85">testing::internal::kStdErrFileno</a> = STDERR_FILENO</td></tr>
  255. <tr class="separator:a747eccfdbdee3ff8af3bedc476a57c85"><td class="memSeparator" colspan="2">&#160;</td></tr>
  256. <tr class="memitem:abae7a5775c901f2fd12b058b00d09840"><td class="memItemLeft" align="right" valign="top">const char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal.html#abae7a5775c901f2fd12b058b00d09840">testing::internal::kUnknownFile</a> [] = &quot;unknown file&quot;</td></tr>
  257. <tr class="separator:abae7a5775c901f2fd12b058b00d09840"><td class="memSeparator" colspan="2">&#160;</td></tr>
  258. </table>
  259. <h2 class="groupheader">Macro Definition Documentation</h2>
  260. <a id="a819a3fd7f8b8cf24b6f1b3a26708973d"></a>
  261. <h2 class="memtitle"><span class="permalink"><a href="#a819a3fd7f8b8cf24b6f1b3a26708973d">&#9670;&nbsp;</a></span>EXPECT_FATAL_FAILURE</h2>
  262. <div class="memitem">
  263. <div class="memproto">
  264. <table class="memname">
  265. <tr>
  266. <td class="memname">#define EXPECT_FATAL_FAILURE</td>
  267. <td>(</td>
  268. <td class="paramtype">&#160;</td>
  269. <td class="paramname">statement, </td>
  270. </tr>
  271. <tr>
  272. <td class="paramkey"></td>
  273. <td></td>
  274. <td class="paramtype">&#160;</td>
  275. <td class="paramname">substr&#160;</td>
  276. </tr>
  277. <tr>
  278. <td></td>
  279. <td>)</td>
  280. <td></td><td></td>
  281. </tr>
  282. </table>
  283. </div><div class="memdoc">
  284. <b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> class GTestExpectFatalFailureHelper {\</div><div class="line"> public:\</div><div class="line"> static <span class="keywordtype">void</span> Execute() { statement; }\</div><div class="line"> };\</div><div class="line"> ::testing::TestPartResultArray gtest_failures;\</div><div class="line"> ::testing::internal::SingleFailureChecker gtest_checker(\</div><div class="line"> &amp;gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\</div><div class="line"> {\</div><div class="line"> ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\</div><div class="line"> ::testing::ScopedFakeTestPartResultReporter:: \</div><div class="line"> INTERCEPT_ONLY_CURRENT_THREAD, &amp;gtest_failures);\</div><div class="line"> GTestExpectFatalFailureHelper::Execute();\</div><div class="line"> }\</div><div class="line"> } <span class="keywordflow">while</span> (::<a class="code" href="namespacetesting_1_1internal.html#a4b24c851ab13569b1b15b3d259b60d2e">testing::internal::AlwaysFalse</a>())</div><div class="ttc" id="namespacetesting_1_1internal_html_a4b24c851ab13569b1b15b3d259b60d2e"><div class="ttname"><a href="namespacetesting_1_1internal.html#a4b24c851ab13569b1b15b3d259b60d2e">testing::internal::AlwaysFalse</a></div><div class="ttdeci">bool AlwaysFalse()</div><div class="ttdef"><b>Definition:</b> <a href="gtest_8h_source.html#l07260">gtest.h:7260</a></div></div>
  285. </div><!-- fragment -->
  286. </div>
  287. </div>
  288. <a id="ad8aac5bc859b2ddc07583636ae4f45cf"></a>
  289. <h2 class="memtitle"><span class="permalink"><a href="#ad8aac5bc859b2ddc07583636ae4f45cf">&#9670;&nbsp;</a></span>EXPECT_FATAL_FAILURE_ON_ALL_THREADS</h2>
  290. <div class="memitem">
  291. <div class="memproto">
  292. <table class="memname">
  293. <tr>
  294. <td class="memname">#define EXPECT_FATAL_FAILURE_ON_ALL_THREADS</td>
  295. <td>(</td>
  296. <td class="paramtype">&#160;</td>
  297. <td class="paramname">statement, </td>
  298. </tr>
  299. <tr>
  300. <td class="paramkey"></td>
  301. <td></td>
  302. <td class="paramtype">&#160;</td>
  303. <td class="paramname">substr&#160;</td>
  304. </tr>
  305. <tr>
  306. <td></td>
  307. <td>)</td>
  308. <td></td><td></td>
  309. </tr>
  310. </table>
  311. </div><div class="memdoc">
  312. <b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> class GTestExpectFatalFailureHelper {\</div><div class="line"> public:\</div><div class="line"> static <span class="keywordtype">void</span> Execute() { statement; }\</div><div class="line"> };\</div><div class="line"> ::testing::TestPartResultArray gtest_failures;\</div><div class="line"> ::testing::internal::SingleFailureChecker gtest_checker(\</div><div class="line"> &amp;gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\</div><div class="line"> {\</div><div class="line"> ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\</div><div class="line"> ::testing::ScopedFakeTestPartResultReporter:: \</div><div class="line"> INTERCEPT_ALL_THREADS, &amp;gtest_failures);\</div><div class="line"> GTestExpectFatalFailureHelper::Execute();\</div><div class="line"> }\</div><div class="line"> } <span class="keywordflow">while</span> (::<a class="code" href="namespacetesting_1_1internal.html#a4b24c851ab13569b1b15b3d259b60d2e">testing::internal::AlwaysFalse</a>())</div><div class="ttc" id="namespacetesting_1_1internal_html_a4b24c851ab13569b1b15b3d259b60d2e"><div class="ttname"><a href="namespacetesting_1_1internal.html#a4b24c851ab13569b1b15b3d259b60d2e">testing::internal::AlwaysFalse</a></div><div class="ttdeci">bool AlwaysFalse()</div><div class="ttdef"><b>Definition:</b> <a href="gtest_8h_source.html#l07260">gtest.h:7260</a></div></div>
  313. </div><!-- fragment -->
  314. </div>
  315. </div>
  316. <a id="a8376fd6821bd88fd806697355e79e138"></a>
  317. <h2 class="memtitle"><span class="permalink"><a href="#a8376fd6821bd88fd806697355e79e138">&#9670;&nbsp;</a></span>EXPECT_NONFATAL_FAILURE</h2>
  318. <div class="memitem">
  319. <div class="memproto">
  320. <table class="memname">
  321. <tr>
  322. <td class="memname">#define EXPECT_NONFATAL_FAILURE</td>
  323. <td>(</td>
  324. <td class="paramtype">&#160;</td>
  325. <td class="paramname">statement, </td>
  326. </tr>
  327. <tr>
  328. <td class="paramkey"></td>
  329. <td></td>
  330. <td class="paramtype">&#160;</td>
  331. <td class="paramname">substr&#160;</td>
  332. </tr>
  333. <tr>
  334. <td></td>
  335. <td>)</td>
  336. <td></td><td></td>
  337. </tr>
  338. </table>
  339. </div><div class="memdoc">
  340. <b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {\</div><div class="line"> ::testing::TestPartResultArray gtest_failures;\</div><div class="line"> ::testing::internal::SingleFailureChecker gtest_checker(\</div><div class="line"> &amp;gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \</div><div class="line"> (substr));\</div><div class="line"> {\</div><div class="line"> ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\</div><div class="line"> ::testing::ScopedFakeTestPartResultReporter:: \</div><div class="line"> INTERCEPT_ONLY_CURRENT_THREAD, &amp;gtest_failures);\</div><div class="line"> if (::<a class="code" href="namespacetesting_1_1internal.html#a4d46f09c3bfe68700b7f728d2cc3782f">testing::internal::AlwaysTrue</a>()) { statement; }\</div><div class="line"> }\</div><div class="line"> } <span class="keywordflow">while</span> (::<a class="code" href="namespacetesting_1_1internal.html#a4b24c851ab13569b1b15b3d259b60d2e">testing::internal::AlwaysFalse</a>())</div><div class="ttc" id="namespacetesting_1_1internal_html_a4d46f09c3bfe68700b7f728d2cc3782f"><div class="ttname"><a href="namespacetesting_1_1internal.html#a4d46f09c3bfe68700b7f728d2cc3782f">testing::internal::AlwaysTrue</a></div><div class="ttdeci">GTEST_API_ bool AlwaysTrue()</div></div>
  341. <div class="ttc" id="namespacetesting_1_1internal_html_a4b24c851ab13569b1b15b3d259b60d2e"><div class="ttname"><a href="namespacetesting_1_1internal.html#a4b24c851ab13569b1b15b3d259b60d2e">testing::internal::AlwaysFalse</a></div><div class="ttdeci">bool AlwaysFalse()</div><div class="ttdef"><b>Definition:</b> <a href="gtest_8h_source.html#l07260">gtest.h:7260</a></div></div>
  342. </div><!-- fragment -->
  343. </div>
  344. </div>
  345. <a id="a9f4cf1f150fe9facfc4cbf0bae646ee9"></a>
  346. <h2 class="memtitle"><span class="permalink"><a href="#a9f4cf1f150fe9facfc4cbf0bae646ee9">&#9670;&nbsp;</a></span>EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS</h2>
  347. <div class="memitem">
  348. <div class="memproto">
  349. <table class="memname">
  350. <tr>
  351. <td class="memname">#define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS</td>
  352. <td>(</td>
  353. <td class="paramtype">&#160;</td>
  354. <td class="paramname">statement, </td>
  355. </tr>
  356. <tr>
  357. <td class="paramkey"></td>
  358. <td></td>
  359. <td class="paramtype">&#160;</td>
  360. <td class="paramname">substr&#160;</td>
  361. </tr>
  362. <tr>
  363. <td></td>
  364. <td>)</td>
  365. <td></td><td></td>
  366. </tr>
  367. </table>
  368. </div><div class="memdoc">
  369. <b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {\</div><div class="line"> ::testing::TestPartResultArray gtest_failures;\</div><div class="line"> ::testing::internal::SingleFailureChecker gtest_checker(\</div><div class="line"> &amp;gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \</div><div class="line"> (substr));\</div><div class="line"> {\</div><div class="line"> ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\</div><div class="line"> ::testing::ScopedFakeTestPartResultReporter::INTERCEPT_ALL_THREADS, \</div><div class="line"> &amp;gtest_failures);\</div><div class="line"> if (::<a class="code" href="namespacetesting_1_1internal.html#a4d46f09c3bfe68700b7f728d2cc3782f">testing::internal::AlwaysTrue</a>()) { statement; }\</div><div class="line"> }\</div><div class="line"> } <span class="keywordflow">while</span> (::<a class="code" href="namespacetesting_1_1internal.html#a4b24c851ab13569b1b15b3d259b60d2e">testing::internal::AlwaysFalse</a>())</div><div class="ttc" id="namespacetesting_1_1internal_html_a4d46f09c3bfe68700b7f728d2cc3782f"><div class="ttname"><a href="namespacetesting_1_1internal.html#a4d46f09c3bfe68700b7f728d2cc3782f">testing::internal::AlwaysTrue</a></div><div class="ttdeci">GTEST_API_ bool AlwaysTrue()</div></div>
  370. <div class="ttc" id="namespacetesting_1_1internal_html_a4b24c851ab13569b1b15b3d259b60d2e"><div class="ttname"><a href="namespacetesting_1_1internal.html#a4b24c851ab13569b1b15b3d259b60d2e">testing::internal::AlwaysFalse</a></div><div class="ttdeci">bool AlwaysFalse()</div><div class="ttdef"><b>Definition:</b> <a href="gtest_8h_source.html#l07260">gtest.h:7260</a></div></div>
  371. </div><!-- fragment -->
  372. </div>
  373. </div>
  374. <a id="a7c139c1711de5a69cbc934e8a082e4f9"></a>
  375. <h2 class="memtitle"><span class="permalink"><a href="#a7c139c1711de5a69cbc934e8a082e4f9">&#9670;&nbsp;</a></span>GTEST_HAS_GETTIMEOFDAY_</h2>
  376. <div class="memitem">
  377. <div class="memproto">
  378. <table class="memname">
  379. <tr>
  380. <td class="memname">#define GTEST_HAS_GETTIMEOFDAY_&#160;&#160;&#160;1</td>
  381. </tr>
  382. </table>
  383. </div><div class="memdoc">
  384. </div>
  385. </div>
  386. <a id="a4a5b6fbde5dd05e05dd6846ac5e5c18e"></a>
  387. <h2 class="memtitle"><span class="permalink"><a href="#a4a5b6fbde5dd05e05dd6846ac5e5c18e">&#9670;&nbsp;</a></span>GTEST_IMPL_CMP_HELPER_</h2>
  388. <div class="memitem">
  389. <div class="memproto">
  390. <table class="memname">
  391. <tr>
  392. <td class="memname">#define GTEST_IMPL_CMP_HELPER_</td>
  393. <td>(</td>
  394. <td class="paramtype">&#160;</td>
  395. <td class="paramname">op_name, </td>
  396. </tr>
  397. <tr>
  398. <td class="paramkey"></td>
  399. <td></td>
  400. <td class="paramtype">&#160;</td>
  401. <td class="paramname">op&#160;</td>
  402. </tr>
  403. <tr>
  404. <td></td>
  405. <td>)</td>
  406. <td></td><td></td>
  407. </tr>
  408. </table>
  409. </div><div class="memdoc">
  410. <b>Value:</b><div class="fragment"><div class="line">AssertionResult CmpHelper##op_name(<span class="keyword">const</span> <span class="keywordtype">char</span>* expr1, <span class="keyword">const</span> <span class="keywordtype">char</span>* expr2, \</div><div class="line"> <a class="code" href="namespacetesting_1_1internal.html#a05c6bd9ede5ccdf25191a590d610dcc6">BiggestInt</a> val1, <a class="code" href="namespacetesting_1_1internal.html#a05c6bd9ede5ccdf25191a590d610dcc6">BiggestInt</a> val2) {\</div><div class="line"> if (val1 op val2) {\</div><div class="line"> return AssertionSuccess();\</div><div class="line"> } <span class="keywordflow">else</span> {\</div><div class="line"> return AssertionFailure() \</div><div class="line"> &lt;&lt; <span class="stringliteral">&quot;Expected: (&quot;</span> &lt;&lt; expr1 &lt;&lt; <span class="stringliteral">&quot;) &quot;</span> #op <span class="stringliteral">&quot; (&quot;</span> &lt;&lt; expr2\</div><div class="line"> &lt;&lt; <span class="stringliteral">&quot;), actual: &quot;</span> &lt;&lt; <a class="code" href="namespacetesting_1_1internal.html#a91ab078f10adc669f09b7f604975c518">FormatForComparisonFailureMessage</a>(val1, val2)\</div><div class="line"> &lt;&lt; <span class="stringliteral">&quot; vs &quot;</span> &lt;&lt; <a class="code" href="namespacetesting_1_1internal.html#a91ab078f10adc669f09b7f604975c518">FormatForComparisonFailureMessage</a>(val2, val1);\</div><div class="line"> }\</div><div class="line">}</div><div class="ttc" id="namespacetesting_1_1internal_html_a91ab078f10adc669f09b7f604975c518"><div class="ttname"><a href="namespacetesting_1_1internal.html#a91ab078f10adc669f09b7f604975c518">testing::internal::FormatForComparisonFailureMessage</a></div><div class="ttdeci">std::string FormatForComparisonFailureMessage(const T1 &amp;value, const T2 &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="gtest_8h_source.html#l08416">gtest.h:8416</a></div></div>
  411. <div class="ttc" id="namespacetesting_1_1internal_html_a05c6bd9ede5ccdf25191a590d610dcc6"><div class="ttname"><a href="namespacetesting_1_1internal.html#a05c6bd9ede5ccdf25191a590d610dcc6">testing::internal::BiggestInt</a></div><div class="ttdeci">long long BiggestInt</div><div class="ttdef"><b>Definition:</b> <a href="gtest_8h_source.html#l02223">gtest.h:2223</a></div></div>
  412. </div><!-- fragment -->
  413. </div>
  414. </div>
  415. <a id="a2f159eaa9c00e7aa9fd6b296e520e35c"></a>
  416. <h2 class="memtitle"><span class="permalink"><a href="#a2f159eaa9c00e7aa9fd6b296e520e35c">&#9670;&nbsp;</a></span>GTEST_INCLUDE_GTEST_GTEST_SPI_H_</h2>
  417. <div class="memitem">
  418. <div class="memproto">
  419. <table class="memname">
  420. <tr>
  421. <td class="memname">#define GTEST_INCLUDE_GTEST_GTEST_SPI_H_</td>
  422. </tr>
  423. </table>
  424. </div><div class="memdoc">
  425. <p class="definition">Definition at line <a class="el" href="gtest-all_8cc_source.html#l00109">109</a> of file <a class="el" href="gtest-all_8cc_source.html">gtest-all.cc</a>.</p>
  426. </div>
  427. </div>
  428. <a id="ad9d445747785a9271a57cf1d392b89ad"></a>
  429. <h2 class="memtitle"><span class="permalink"><a href="#ad9d445747785a9271a57cf1d392b89ad">&#9670;&nbsp;</a></span>GTEST_PATH_MAX_</h2>
  430. <div class="memitem">
  431. <div class="memproto">
  432. <table class="memname">
  433. <tr>
  434. <td class="memname">#define GTEST_PATH_MAX_&#160;&#160;&#160;_POSIX_PATH_MAX</td>
  435. </tr>
  436. </table>
  437. </div><div class="memdoc">
  438. <p class="definition">Definition at line <a class="el" href="gtest-all_8cc_source.html#l09221">9221</a> of file <a class="el" href="gtest-all_8cc_source.html">gtest-all.cc</a>.</p>
  439. </div>
  440. </div>
  441. <a id="a87a475ab9e81de8b49525787665b9229"></a>
  442. <h2 class="memtitle"><span class="permalink"><a href="#a87a475ab9e81de8b49525787665b9229">&#9670;&nbsp;</a></span>GTEST_REPEATER_METHOD_</h2>
  443. <div class="memitem">
  444. <div class="memproto">
  445. <table class="memname">
  446. <tr>
  447. <td class="memname">#define GTEST_REPEATER_METHOD_</td>
  448. <td>(</td>
  449. <td class="paramtype">&#160;</td>
  450. <td class="paramname">Name, </td>
  451. </tr>
  452. <tr>
  453. <td class="paramkey"></td>
  454. <td></td>
  455. <td class="paramtype">&#160;</td>
  456. <td class="paramname">Type&#160;</td>
  457. </tr>
  458. <tr>
  459. <td></td>
  460. <td>)</td>
  461. <td></td><td></td>
  462. </tr>
  463. </table>
  464. </div><div class="memdoc">
  465. <b>Value:</b><div class="fragment"><div class="line"><span class="keywordtype">void</span> TestEventRepeater::Name(<span class="keyword">const</span> Type&amp; parameter) { \</div><div class="line"> if (forwarding_enabled_) { \</div><div class="line"> for (<span class="keywordtype">size_t</span> i = 0; i &lt; listeners_.size(); i++) { \</div><div class="line"> listeners_[i]-&gt;Name(parameter); \</div><div class="line"> } \</div><div class="line"> } \</div><div class="line">}</div></div><!-- fragment -->
  466. </div>
  467. </div>
  468. <a id="aa7da32fd7da6a8cceeed6b448cb7b5f2"></a>
  469. <h2 class="memtitle"><span class="permalink"><a href="#aa7da32fd7da6a8cceeed6b448cb7b5f2">&#9670;&nbsp;</a></span>GTEST_REVERSE_REPEATER_METHOD_</h2>
  470. <div class="memitem">
  471. <div class="memproto">
  472. <table class="memname">
  473. <tr>
  474. <td class="memname">#define GTEST_REVERSE_REPEATER_METHOD_</td>
  475. <td>(</td>
  476. <td class="paramtype">&#160;</td>
  477. <td class="paramname">Name, </td>
  478. </tr>
  479. <tr>
  480. <td class="paramkey"></td>
  481. <td></td>
  482. <td class="paramtype">&#160;</td>
  483. <td class="paramname">Type&#160;</td>
  484. </tr>
  485. <tr>
  486. <td></td>
  487. <td>)</td>
  488. <td></td><td></td>
  489. </tr>
  490. </table>
  491. </div><div class="memdoc">
  492. <b>Value:</b><div class="fragment"><div class="line"><span class="keywordtype">void</span> TestEventRepeater::Name(<span class="keyword">const</span> Type&amp; parameter) { \</div><div class="line"> if (forwarding_enabled_) { \</div><div class="line"> for (<span class="keywordtype">int</span> i = static_cast&lt;int&gt;(listeners_.size()) - 1; i &gt;= 0; i--) { \</div><div class="line"> listeners_[i]-&gt;Name(parameter); \</div><div class="line"> } \</div><div class="line"> } \</div><div class="line">}</div></div><!-- fragment -->
  493. </div>
  494. </div>
  495. <a id="ab740e029f81d48cfba1b34cecce63fef"></a>
  496. <h2 class="memtitle"><span class="permalink"><a href="#ab740e029f81d48cfba1b34cecce63fef">&#9670;&nbsp;</a></span>GTEST_SRC_GTEST_INTERNAL_INL_H_</h2>
  497. <div class="memitem">
  498. <div class="memproto">
  499. <table class="memname">
  500. <tr>
  501. <td class="memname">#define GTEST_SRC_GTEST_INTERNAL_INL_H_</td>
  502. </tr>
  503. </table>
  504. </div><div class="memdoc">
  505. </div>
  506. </div>
  507. <h2 class="groupheader">Function Documentation</h2>
  508. <a id="a789f37f9c345c2032699c194a58623d9"></a>
  509. <h2 class="memtitle"><span class="permalink"><a href="#a789f37f9c345c2032699c194a58623d9">&#9670;&nbsp;</a></span>GTEST_DISABLE_MSC_WARNINGS_POP_()</h2>
  510. <div class="memitem">
  511. <div class="memproto">
  512. <table class="memname">
  513. <tr>
  514. <td class="memname">GTEST_DISABLE_MSC_WARNINGS_POP_ </td>
  515. <td>(</td>
  516. <td class="paramname"></td><td>)</td>
  517. <td></td>
  518. </tr>
  519. </table>
  520. </div><div class="memdoc">
  521. <p class="definition">Definition at line <a class="el" href="gtest-all_8cc_source.html#l00190">190</a> of file <a class="el" href="gtest-all_8cc_source.html">gtest-all.cc</a>.</p>
  522. </div>
  523. </div>
  524. <a id="a88f79832f9d045112a76e9da8611cc13"></a>
  525. <h2 class="memtitle"><span class="permalink"><a href="#a88f79832f9d045112a76e9da8611cc13">&#9670;&nbsp;</a></span>GTEST_DISABLE_MSC_WARNINGS_PUSH_()</h2>
  526. <div class="memitem">
  527. <div class="memproto">
  528. <table class="memname">
  529. <tr>
  530. <td class="memname">GTEST_DISABLE_MSC_WARNINGS_PUSH_ </td>
  531. <td>(</td>
  532. <td class="paramtype">4251&#160;</td>
  533. <td class="paramname"><em>5046</em></td><td>)</td>
  534. <td></td>
  535. </tr>
  536. </table>
  537. </div><div class="memdoc">
  538. <p class="definition">Definition at line <a class="el" href="gtest-all_8cc_source.html#l00112">112</a> of file <a class="el" href="gtest-all_8cc_source.html">gtest-all.cc</a>.</p>
  539. </div>
  540. </div>
  541. </div><!-- contents -->
  542. </div><!-- doc-content -->
  543. <!-- start footer part -->
  544. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  545. <ul>
  546. <li class="navelem"><a class="el" href="dir_13e138d54eb8818da29c3992edef070a.html">test</a></li><li class="navelem"><a class="el" href="dir_aaec33bad2bb7a5d6c86281ead709be5.html">eclipse-cygwin</a></li><li class="navelem"><a class="el" href="dir_c2811dd2f770757e67563302be4130d6.html">lib</a></li><li class="navelem"><a class="el" href="dir_a96de09a69cea6234edc1a1514d133f0.html">gtest</a></li><li class="navelem"><a class="el" href="gtest-all_8cc.html">gtest-all.cc</a></li>
  547. <li class="footer">Generated by
  548. <a href="http://www.doxygen.org/index.html">
  549. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  550. </ul>
  551. </div>
  552. </body>
  553. </html>