Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

230 lines
15 KiB

  1. \hypertarget{classtesting_1_1_test_info}{}\section{testing\+:\+:Test\+Info Class Reference}
  2. \label{classtesting_1_1_test_info}\index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  3. {\ttfamily \#include $<$gtest.\+h$>$}
  4. \subsection*{Public Member Functions}
  5. \begin{DoxyCompactItemize}
  6. \item
  7. \mbox{\hyperlink{classtesting_1_1_test_info_a8d382c1b1b511f0d9112c14684809852}{$\sim$\+Test\+Info}} ()
  8. \item
  9. const char $\ast$ \mbox{\hyperlink{classtesting_1_1_test_info_a82a84ffd0e4d18eb5a3f97a2077e12cc}{test\+\_\+suite\+\_\+name}} () const
  10. \item
  11. const char $\ast$ \mbox{\hyperlink{classtesting_1_1_test_info_a036a20710c8c2252889544daba9a8ff9}{test\+\_\+case\+\_\+name}} () const
  12. \item
  13. const char $\ast$ \mbox{\hyperlink{classtesting_1_1_test_info_ac2581b45eccc9a3b94cb41c4807d0e34}{name}} () const
  14. \item
  15. const char $\ast$ \mbox{\hyperlink{classtesting_1_1_test_info_a7759bc57f4350ad406cbbb0b3bcea320}{type\+\_\+param}} () const
  16. \item
  17. const char $\ast$ \mbox{\hyperlink{classtesting_1_1_test_info_abdf2c6cfcf4819e725816c64e1c1fc24}{value\+\_\+param}} () const
  18. \item
  19. const char $\ast$ \mbox{\hyperlink{classtesting_1_1_test_info_a9b74d79cf618ce5bb0d0b1da75ee8b35}{file}} () const
  20. \item
  21. int \mbox{\hyperlink{classtesting_1_1_test_info_af5931cfc594b5d660c56b3c61c41ea13}{line}} () const
  22. \item
  23. bool \mbox{\hyperlink{classtesting_1_1_test_info_a8621f2cf7623fd1609db8e324f0c2fec}{is\+\_\+in\+\_\+another\+\_\+shard}} () const
  24. \item
  25. bool \mbox{\hyperlink{classtesting_1_1_test_info_a866e33b5bc5ab2a6e5375fc7d3af0f96}{should\+\_\+run}} () const
  26. \item
  27. bool \mbox{\hyperlink{classtesting_1_1_test_info_a63e7042028b0b846f4b5a1e5bcffc079}{is\+\_\+reportable}} () const
  28. \item
  29. const \mbox{\hyperlink{classtesting_1_1_test_result}{Test\+Result}} $\ast$ \mbox{\hyperlink{classtesting_1_1_test_info_aee8cb884c95cd446129aba936b4159e0}{result}} () const
  30. \end{DoxyCompactItemize}
  31. \subsection*{Friends}
  32. \begin{DoxyCompactItemize}
  33. \item
  34. class \mbox{\hyperlink{classtesting_1_1_test_info_a5b78b1c2e1fa07ffed92da365593eaa4}{Test}}
  35. \item
  36. class \mbox{\hyperlink{classtesting_1_1_test_info_ab9aaba231fd11196425e75caf709bfc6}{Test\+Suite}}
  37. \item
  38. class \mbox{\hyperlink{classtesting_1_1_test_info_acc0a5e7573fd6ae7ad1878613bb86853}{internal\+::\+Unit\+Test\+Impl}}
  39. \item
  40. class \mbox{\hyperlink{classtesting_1_1_test_info_adc037d188dab349a94868991955c9cd4}{internal\+::\+Streaming\+Listener\+Test}}
  41. \item
  42. \mbox{\hyperlink{classtesting_1_1_test_info}{Test\+Info}} $\ast$ \mbox{\hyperlink{classtesting_1_1_test_info_a63d61c7ffd0423b1d3615f0ff5f2040e}{internal\+::\+Make\+And\+Register\+Test\+Info}} (const char $\ast$\mbox{\hyperlink{classtesting_1_1_test_info_a82a84ffd0e4d18eb5a3f97a2077e12cc}{test\+\_\+suite\+\_\+name}}, const char $\ast$\mbox{\hyperlink{classtesting_1_1_test_info_ac2581b45eccc9a3b94cb41c4807d0e34}{name}}, const char $\ast$\mbox{\hyperlink{classtesting_1_1_test_info_a7759bc57f4350ad406cbbb0b3bcea320}{type\+\_\+param}}, const char $\ast$\mbox{\hyperlink{classtesting_1_1_test_info_abdf2c6cfcf4819e725816c64e1c1fc24}{value\+\_\+param}}, \mbox{\hyperlink{structtesting_1_1internal_1_1_code_location}{internal\+::\+Code\+Location}} code\+\_\+location, \mbox{\hyperlink{namespacetesting_1_1internal_ab1114197d3c657d8b7f8e0c5caa12d00}{internal\+::\+Type\+Id}} fixture\+\_\+class\+\_\+id, \mbox{\hyperlink{namespacetesting_1_1internal_a83e4e0732ac6a9dcfe6ee299dc1b9fa2}{internal\+::\+Set\+Up\+Test\+Suite\+Func}} set\+\_\+up\+\_\+tc, \mbox{\hyperlink{namespacetesting_1_1internal_a8257a87aa42cebaa54b0c48a6ae657a5}{internal\+::\+Tear\+Down\+Test\+Suite\+Func}} tear\+\_\+down\+\_\+tc, \mbox{\hyperlink{classtesting_1_1internal_1_1_test_factory_base}{internal\+::\+Test\+Factory\+Base}} $\ast$factory)
  43. \end{DoxyCompactItemize}
  44. \subsection{Detailed Description}
  45. Definition at line 15294 of file gtest.\+h.
  46. \subsection{Constructor \& Destructor Documentation}
  47. \mbox{\Hypertarget{classtesting_1_1_test_info_a8d382c1b1b511f0d9112c14684809852}\label{classtesting_1_1_test_info_a8d382c1b1b511f0d9112c14684809852}}
  48. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!````~Test\+Info@{$\sim$\+Test\+Info}}
  49. \index{````~Test\+Info@{$\sim$\+Test\+Info}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  50. \subsubsection{\texorpdfstring{$\sim$\+Test\+Info()}{~TestInfo()}}
  51. {\footnotesize\ttfamily testing\+::\+Test\+Info\+::$\sim$\+Test\+Info (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
  52. \subsection{Member Function Documentation}
  53. \mbox{\Hypertarget{classtesting_1_1_test_info_a9b74d79cf618ce5bb0d0b1da75ee8b35}\label{classtesting_1_1_test_info_a9b74d79cf618ce5bb0d0b1da75ee8b35}}
  54. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!file@{file}}
  55. \index{file@{file}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  56. \subsubsection{\texorpdfstring{file()}{file()}}
  57. {\footnotesize\ttfamily const char$\ast$ testing\+::\+Test\+Info\+::file (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  58. Definition at line 15326 of file gtest.\+h.
  59. \mbox{\Hypertarget{classtesting_1_1_test_info_a8621f2cf7623fd1609db8e324f0c2fec}\label{classtesting_1_1_test_info_a8621f2cf7623fd1609db8e324f0c2fec}}
  60. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!is\+\_\+in\+\_\+another\+\_\+shard@{is\+\_\+in\+\_\+another\+\_\+shard}}
  61. \index{is\+\_\+in\+\_\+another\+\_\+shard@{is\+\_\+in\+\_\+another\+\_\+shard}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  62. \subsubsection{\texorpdfstring{is\+\_\+in\+\_\+another\+\_\+shard()}{is\_in\_another\_shard()}}
  63. {\footnotesize\ttfamily bool testing\+::\+Test\+Info\+::is\+\_\+in\+\_\+another\+\_\+shard (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  64. Definition at line 15332 of file gtest.\+h.
  65. \mbox{\Hypertarget{classtesting_1_1_test_info_a63e7042028b0b846f4b5a1e5bcffc079}\label{classtesting_1_1_test_info_a63e7042028b0b846f4b5a1e5bcffc079}}
  66. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!is\+\_\+reportable@{is\+\_\+reportable}}
  67. \index{is\+\_\+reportable@{is\+\_\+reportable}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  68. \subsubsection{\texorpdfstring{is\+\_\+reportable()}{is\_reportable()}}
  69. {\footnotesize\ttfamily bool testing\+::\+Test\+Info\+::is\+\_\+reportable (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  70. Definition at line 15353 of file gtest.\+h.
  71. \mbox{\Hypertarget{classtesting_1_1_test_info_af5931cfc594b5d660c56b3c61c41ea13}\label{classtesting_1_1_test_info_af5931cfc594b5d660c56b3c61c41ea13}}
  72. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!line@{line}}
  73. \index{line@{line}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  74. \subsubsection{\texorpdfstring{line()}{line()}}
  75. {\footnotesize\ttfamily int testing\+::\+Test\+Info\+::line (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  76. Definition at line 15329 of file gtest.\+h.
  77. \mbox{\Hypertarget{classtesting_1_1_test_info_ac2581b45eccc9a3b94cb41c4807d0e34}\label{classtesting_1_1_test_info_ac2581b45eccc9a3b94cb41c4807d0e34}}
  78. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!name@{name}}
  79. \index{name@{name}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  80. \subsubsection{\texorpdfstring{name()}{name()}}
  81. {\footnotesize\ttfamily const char$\ast$ testing\+::\+Test\+Info\+::name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  82. Definition at line 15309 of file gtest.\+h.
  83. \mbox{\Hypertarget{classtesting_1_1_test_info_aee8cb884c95cd446129aba936b4159e0}\label{classtesting_1_1_test_info_aee8cb884c95cd446129aba936b4159e0}}
  84. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!result@{result}}
  85. \index{result@{result}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  86. \subsubsection{\texorpdfstring{result()}{result()}}
  87. {\footnotesize\ttfamily const \mbox{\hyperlink{classtesting_1_1_test_result}{Test\+Result}}$\ast$ testing\+::\+Test\+Info\+::result (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  88. Definition at line 15360 of file gtest.\+h.
  89. \mbox{\Hypertarget{classtesting_1_1_test_info_a866e33b5bc5ab2a6e5375fc7d3af0f96}\label{classtesting_1_1_test_info_a866e33b5bc5ab2a6e5375fc7d3af0f96}}
  90. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!should\+\_\+run@{should\+\_\+run}}
  91. \index{should\+\_\+run@{should\+\_\+run}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  92. \subsubsection{\texorpdfstring{should\+\_\+run()}{should\_run()}}
  93. {\footnotesize\ttfamily bool testing\+::\+Test\+Info\+::should\+\_\+run (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  94. Definition at line 15350 of file gtest.\+h.
  95. \mbox{\Hypertarget{classtesting_1_1_test_info_a036a20710c8c2252889544daba9a8ff9}\label{classtesting_1_1_test_info_a036a20710c8c2252889544daba9a8ff9}}
  96. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!test\+\_\+case\+\_\+name@{test\+\_\+case\+\_\+name}}
  97. \index{test\+\_\+case\+\_\+name@{test\+\_\+case\+\_\+name}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  98. \subsubsection{\texorpdfstring{test\+\_\+case\+\_\+name()}{test\_case\_name()}}
  99. {\footnotesize\ttfamily const char$\ast$ testing\+::\+Test\+Info\+::test\+\_\+case\+\_\+name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  100. Definition at line 15305 of file gtest.\+h.
  101. \mbox{\Hypertarget{classtesting_1_1_test_info_a82a84ffd0e4d18eb5a3f97a2077e12cc}\label{classtesting_1_1_test_info_a82a84ffd0e4d18eb5a3f97a2077e12cc}}
  102. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!test\+\_\+suite\+\_\+name@{test\+\_\+suite\+\_\+name}}
  103. \index{test\+\_\+suite\+\_\+name@{test\+\_\+suite\+\_\+name}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  104. \subsubsection{\texorpdfstring{test\+\_\+suite\+\_\+name()}{test\_suite\_name()}}
  105. {\footnotesize\ttfamily const char$\ast$ testing\+::\+Test\+Info\+::test\+\_\+suite\+\_\+name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  106. Definition at line 15301 of file gtest.\+h.
  107. \mbox{\Hypertarget{classtesting_1_1_test_info_a7759bc57f4350ad406cbbb0b3bcea320}\label{classtesting_1_1_test_info_a7759bc57f4350ad406cbbb0b3bcea320}}
  108. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!type\+\_\+param@{type\+\_\+param}}
  109. \index{type\+\_\+param@{type\+\_\+param}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  110. \subsubsection{\texorpdfstring{type\+\_\+param()}{type\_param()}}
  111. {\footnotesize\ttfamily const char$\ast$ testing\+::\+Test\+Info\+::type\+\_\+param (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  112. Definition at line 15313 of file gtest.\+h.
  113. \mbox{\Hypertarget{classtesting_1_1_test_info_abdf2c6cfcf4819e725816c64e1c1fc24}\label{classtesting_1_1_test_info_abdf2c6cfcf4819e725816c64e1c1fc24}}
  114. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!value\+\_\+param@{value\+\_\+param}}
  115. \index{value\+\_\+param@{value\+\_\+param}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  116. \subsubsection{\texorpdfstring{value\+\_\+param()}{value\_param()}}
  117. {\footnotesize\ttfamily const char$\ast$ testing\+::\+Test\+Info\+::value\+\_\+param (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  118. Definition at line 15320 of file gtest.\+h.
  119. \subsection{Friends And Related Function Documentation}
  120. \mbox{\Hypertarget{classtesting_1_1_test_info_a63d61c7ffd0423b1d3615f0ff5f2040e}\label{classtesting_1_1_test_info_a63d61c7ffd0423b1d3615f0ff5f2040e}}
  121. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!internal\+::\+Make\+And\+Register\+Test\+Info@{internal\+::\+Make\+And\+Register\+Test\+Info}}
  122. \index{internal\+::\+Make\+And\+Register\+Test\+Info@{internal\+::\+Make\+And\+Register\+Test\+Info}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  123. \subsubsection{\texorpdfstring{internal\+::\+Make\+And\+Register\+Test\+Info}{internal::MakeAndRegisterTestInfo}}
  124. {\footnotesize\ttfamily \mbox{\hyperlink{classtesting_1_1_test_info}{Test\+Info}}$\ast$ \mbox{\hyperlink{namespacetesting_1_1internal_a7ab4072540184e26119ad853f45059f7}{internal\+::\+Make\+And\+Register\+Test\+Info}} (\begin{DoxyParamCaption}\item[{const char $\ast$}]{test\+\_\+suite\+\_\+name, }\item[{const char $\ast$}]{name, }\item[{const char $\ast$}]{type\+\_\+param, }\item[{const char $\ast$}]{value\+\_\+param, }\item[{\mbox{\hyperlink{structtesting_1_1internal_1_1_code_location}{internal\+::\+Code\+Location}}}]{code\+\_\+location, }\item[{\mbox{\hyperlink{namespacetesting_1_1internal_ab1114197d3c657d8b7f8e0c5caa12d00}{internal\+::\+Type\+Id}}}]{fixture\+\_\+class\+\_\+id, }\item[{\mbox{\hyperlink{namespacetesting_1_1internal_a83e4e0732ac6a9dcfe6ee299dc1b9fa2}{internal\+::\+Set\+Up\+Test\+Suite\+Func}}}]{set\+\_\+up\+\_\+tc, }\item[{\mbox{\hyperlink{namespacetesting_1_1internal_a8257a87aa42cebaa54b0c48a6ae657a5}{internal\+::\+Tear\+Down\+Test\+Suite\+Func}}}]{tear\+\_\+down\+\_\+tc, }\item[{\mbox{\hyperlink{classtesting_1_1internal_1_1_test_factory_base}{internal\+::\+Test\+Factory\+Base}} $\ast$}]{factory }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [friend]}}
  125. \mbox{\Hypertarget{classtesting_1_1_test_info_adc037d188dab349a94868991955c9cd4}\label{classtesting_1_1_test_info_adc037d188dab349a94868991955c9cd4}}
  126. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!internal\+::\+Streaming\+Listener\+Test@{internal\+::\+Streaming\+Listener\+Test}}
  127. \index{internal\+::\+Streaming\+Listener\+Test@{internal\+::\+Streaming\+Listener\+Test}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  128. \subsubsection{\texorpdfstring{internal\+::\+Streaming\+Listener\+Test}{internal::StreamingListenerTest}}
  129. {\footnotesize\ttfamily friend class internal\+::\+Streaming\+Listener\+Test\hspace{0.3cm}{\ttfamily [friend]}}
  130. Definition at line 15369 of file gtest.\+h.
  131. \mbox{\Hypertarget{classtesting_1_1_test_info_acc0a5e7573fd6ae7ad1878613bb86853}\label{classtesting_1_1_test_info_acc0a5e7573fd6ae7ad1878613bb86853}}
  132. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!internal\+::\+Unit\+Test\+Impl@{internal\+::\+Unit\+Test\+Impl}}
  133. \index{internal\+::\+Unit\+Test\+Impl@{internal\+::\+Unit\+Test\+Impl}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  134. \subsubsection{\texorpdfstring{internal\+::\+Unit\+Test\+Impl}{internal::UnitTestImpl}}
  135. {\footnotesize\ttfamily friend class internal\+::\+Unit\+Test\+Impl\hspace{0.3cm}{\ttfamily [friend]}}
  136. Definition at line 15368 of file gtest.\+h.
  137. \mbox{\Hypertarget{classtesting_1_1_test_info_a5b78b1c2e1fa07ffed92da365593eaa4}\label{classtesting_1_1_test_info_a5b78b1c2e1fa07ffed92da365593eaa4}}
  138. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!Test@{Test}}
  139. \index{Test@{Test}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  140. \subsubsection{\texorpdfstring{Test}{Test}}
  141. {\footnotesize\ttfamily friend class \mbox{\hyperlink{classtesting_1_1_test}{Test}}\hspace{0.3cm}{\ttfamily [friend]}}
  142. Definition at line 15366 of file gtest.\+h.
  143. \mbox{\Hypertarget{classtesting_1_1_test_info_ab9aaba231fd11196425e75caf709bfc6}\label{classtesting_1_1_test_info_ab9aaba231fd11196425e75caf709bfc6}}
  144. \index{testing\+::\+Test\+Info@{testing\+::\+Test\+Info}!Test\+Suite@{Test\+Suite}}
  145. \index{Test\+Suite@{Test\+Suite}!testing\+::\+Test\+Info@{testing\+::\+Test\+Info}}
  146. \subsubsection{\texorpdfstring{Test\+Suite}{TestSuite}}
  147. {\footnotesize\ttfamily friend class \mbox{\hyperlink{classtesting_1_1_test_suite}{Test\+Suite}}\hspace{0.3cm}{\ttfamily [friend]}}
  148. Definition at line 15367 of file gtest.\+h.
  149. The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
  150. \item
  151. test/eclipse-\/cygwin/lib/gtest/\mbox{\hyperlink{gtest_8h}{gtest.\+h}}\end{DoxyCompactItemize}