googletest-output-test-golden-lin.txt 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201
  1. The non-test part of the code is expected to have 2 failures.
  2. googletest-output-test_.cc:#: Failure
  3. Value of: false
  4. Actual: false
  5. Expected: true
  6. Stack trace: (omitted)
  7. googletest-output-test_.cc:#: Failure
  8. Expected equality of these values:
  9. 2
  10. 3
  11. Stack trace: (omitted)
  12. [==========] Running 90 tests from 43 test suites.
  13. [----------] Global test environment set-up.
  14. FooEnvironment::SetUp() called.
  15. BarEnvironment::SetUp() called.
  16. [----------] 1 test from ADeathTest
  17. [ RUN ] ADeathTest.ShouldRunFirst
  18. [ OK ] ADeathTest.ShouldRunFirst
  19. [----------] 1 test from ATypedDeathTest/0, where TypeParam = int
  20. [ RUN ] ATypedDeathTest/0.ShouldRunFirst
  21. [ OK ] ATypedDeathTest/0.ShouldRunFirst
  22. [----------] 1 test from ATypedDeathTest/1, where TypeParam = double
  23. [ RUN ] ATypedDeathTest/1.ShouldRunFirst
  24. [ OK ] ATypedDeathTest/1.ShouldRunFirst
  25. [----------] 1 test from My/ATypeParamDeathTest/0, where TypeParam = int
  26. [ RUN ] My/ATypeParamDeathTest/0.ShouldRunFirst
  27. [ OK ] My/ATypeParamDeathTest/0.ShouldRunFirst
  28. [----------] 1 test from My/ATypeParamDeathTest/1, where TypeParam = double
  29. [ RUN ] My/ATypeParamDeathTest/1.ShouldRunFirst
  30. [ OK ] My/ATypeParamDeathTest/1.ShouldRunFirst
  31. [----------] 2 tests from PassingTest
  32. [ RUN ] PassingTest.PassingTest1
  33. [ OK ] PassingTest.PassingTest1
  34. [ RUN ] PassingTest.PassingTest2
  35. [ OK ] PassingTest.PassingTest2
  36. [----------] 2 tests from NonfatalFailureTest
  37. [ RUN ] NonfatalFailureTest.EscapesStringOperands
  38. googletest-output-test_.cc:#: Failure
  39. Expected equality of these values:
  40. kGoldenString
  41. Which is: "\"Line"
  42. actual
  43. Which is: "actual \"string\""
  44. Stack trace: (omitted)
  45. googletest-output-test_.cc:#: Failure
  46. Expected equality of these values:
  47. golden
  48. Which is: "\"Line"
  49. actual
  50. Which is: "actual \"string\""
  51. Stack trace: (omitted)
  52. [ FAILED ] NonfatalFailureTest.EscapesStringOperands
  53. [ RUN ] NonfatalFailureTest.DiffForLongStrings
  54. googletest-output-test_.cc:#: Failure
  55. Expected equality of these values:
  56. golden_str
  57. Which is: "\"Line\0 1\"\nLine 2"
  58. "Line 2"
  59. With diff:
  60. @@ -1,2 @@
  61. -\"Line\0 1\"
  62. Line 2
  63. Stack trace: (omitted)
  64. [ FAILED ] NonfatalFailureTest.DiffForLongStrings
  65. [----------] 3 tests from FatalFailureTest
  66. [ RUN ] FatalFailureTest.FatalFailureInSubroutine
  67. (expecting a failure that x should be 1)
  68. googletest-output-test_.cc:#: Failure
  69. Expected equality of these values:
  70. 1
  71. x
  72. Which is: 2
  73. Stack trace: (omitted)
  74. [ FAILED ] FatalFailureTest.FatalFailureInSubroutine
  75. [ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine
  76. (expecting a failure that x should be 1)
  77. googletest-output-test_.cc:#: Failure
  78. Expected equality of these values:
  79. 1
  80. x
  81. Which is: 2
  82. Stack trace: (omitted)
  83. [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
  84. [ RUN ] FatalFailureTest.NonfatalFailureInSubroutine
  85. (expecting a failure on false)
  86. googletest-output-test_.cc:#: Failure
  87. Value of: false
  88. Actual: false
  89. Expected: true
  90. Stack trace: (omitted)
  91. [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
  92. [----------] 1 test from LoggingTest
  93. [ RUN ] LoggingTest.InterleavingLoggingAndAssertions
  94. (expecting 2 failures on (3) >= (a[i]))
  95. i == 0
  96. i == 1
  97. googletest-output-test_.cc:#: Failure
  98. Expected: (3) >= (a[i]), actual: 3 vs 9
  99. Stack trace: (omitted)
  100. i == 2
  101. i == 3
  102. googletest-output-test_.cc:#: Failure
  103. Expected: (3) >= (a[i]), actual: 3 vs 6
  104. Stack trace: (omitted)
  105. [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
  106. [----------] 7 tests from SCOPED_TRACETest
  107. [ RUN ] SCOPED_TRACETest.AcceptedValues
  108. googletest-output-test_.cc:#: Failure
  109. Failed
  110. Just checking that all these values work fine.
  111. Google Test trace:
  112. googletest-output-test_.cc:#: (null)
  113. googletest-output-test_.cc:#: 1337
  114. googletest-output-test_.cc:#: std::string
  115. googletest-output-test_.cc:#: literal string
  116. Stack trace: (omitted)
  117. [ FAILED ] SCOPED_TRACETest.AcceptedValues
  118. [ RUN ] SCOPED_TRACETest.ObeysScopes
  119. (expected to fail)
  120. googletest-output-test_.cc:#: Failure
  121. Failed
  122. This failure is expected, and shouldn't have a trace.
  123. Stack trace: (omitted)
  124. googletest-output-test_.cc:#: Failure
  125. Failed
  126. This failure is expected, and should have a trace.
  127. Google Test trace:
  128. googletest-output-test_.cc:#: Expected trace
  129. Stack trace: (omitted)
  130. googletest-output-test_.cc:#: Failure
  131. Failed
  132. This failure is expected, and shouldn't have a trace.
  133. Stack trace: (omitted)
  134. [ FAILED ] SCOPED_TRACETest.ObeysScopes
  135. [ RUN ] SCOPED_TRACETest.WorksInLoop
  136. (expected to fail)
  137. googletest-output-test_.cc:#: Failure
  138. Expected equality of these values:
  139. 2
  140. n
  141. Which is: 1
  142. Google Test trace:
  143. googletest-output-test_.cc:#: i = 1
  144. Stack trace: (omitted)
  145. googletest-output-test_.cc:#: Failure
  146. Expected equality of these values:
  147. 1
  148. n
  149. Which is: 2
  150. Google Test trace:
  151. googletest-output-test_.cc:#: i = 2
  152. Stack trace: (omitted)
  153. [ FAILED ] SCOPED_TRACETest.WorksInLoop
  154. [ RUN ] SCOPED_TRACETest.WorksInSubroutine
  155. (expected to fail)
  156. googletest-output-test_.cc:#: Failure
  157. Expected equality of these values:
  158. 2
  159. n
  160. Which is: 1
  161. Google Test trace:
  162. googletest-output-test_.cc:#: n = 1
  163. Stack trace: (omitted)
  164. googletest-output-test_.cc:#: Failure
  165. Expected equality of these values:
  166. 1
  167. n
  168. Which is: 2
  169. Google Test trace:
  170. googletest-output-test_.cc:#: n = 2
  171. Stack trace: (omitted)
  172. [ FAILED ] SCOPED_TRACETest.WorksInSubroutine
  173. [ RUN ] SCOPED_TRACETest.CanBeNested
  174. (expected to fail)
  175. googletest-output-test_.cc:#: Failure
  176. Expected equality of these values:
  177. 1
  178. n
  179. Which is: 2
  180. Google Test trace:
  181. googletest-output-test_.cc:#: n = 2
  182. googletest-output-test_.cc:#:
  183. Stack trace: (omitted)
  184. [ FAILED ] SCOPED_TRACETest.CanBeNested
  185. [ RUN ] SCOPED_TRACETest.CanBeRepeated
  186. (expected to fail)
  187. googletest-output-test_.cc:#: Failure
  188. Failed
  189. This failure is expected, and should contain trace point A.
  190. Google Test trace:
  191. googletest-output-test_.cc:#: A
  192. Stack trace: (omitted)
  193. googletest-output-test_.cc:#: Failure
  194. Failed
  195. This failure is expected, and should contain trace point A and B.
  196. Google Test trace:
  197. googletest-output-test_.cc:#: B
  198. googletest-output-test_.cc:#: A
  199. Stack trace: (omitted)
  200. googletest-output-test_.cc:#: Failure
  201. Failed
  202. This failure is expected, and should contain trace point A, B, and C.
  203. Google Test trace:
  204. googletest-output-test_.cc:#: C
  205. googletest-output-test_.cc:#: B
  206. googletest-output-test_.cc:#: A
  207. Stack trace: (omitted)
  208. googletest-output-test_.cc:#: Failure
  209. Failed
  210. This failure is expected, and should contain trace point A, B, and D.
  211. Google Test trace:
  212. googletest-output-test_.cc:#: D
  213. googletest-output-test_.cc:#: B
  214. googletest-output-test_.cc:#: A
  215. Stack trace: (omitted)
  216. [ FAILED ] SCOPED_TRACETest.CanBeRepeated
  217. [ RUN ] SCOPED_TRACETest.WorksConcurrently
  218. (expecting 6 failures)
  219. googletest-output-test_.cc:#: Failure
  220. Failed
  221. Expected failure #1 (in thread B, only trace B alive).
  222. Google Test trace:
  223. googletest-output-test_.cc:#: Trace B
  224. Stack trace: (omitted)
  225. googletest-output-test_.cc:#: Failure
  226. Failed
  227. Expected failure #2 (in thread A, trace A & B both alive).
  228. Google Test trace:
  229. googletest-output-test_.cc:#: Trace A
  230. Stack trace: (omitted)
  231. googletest-output-test_.cc:#: Failure
  232. Failed
  233. Expected failure #3 (in thread B, trace A & B both alive).
  234. Google Test trace:
  235. googletest-output-test_.cc:#: Trace B
  236. Stack trace: (omitted)
  237. googletest-output-test_.cc:#: Failure
  238. Failed
  239. Expected failure #4 (in thread B, only trace A alive).
  240. Stack trace: (omitted)
  241. googletest-output-test_.cc:#: Failure
  242. Failed
  243. Expected failure #5 (in thread A, only trace A alive).
  244. Google Test trace:
  245. googletest-output-test_.cc:#: Trace A
  246. Stack trace: (omitted)
  247. googletest-output-test_.cc:#: Failure
  248. Failed
  249. Expected failure #6 (in thread A, no trace alive).
  250. Stack trace: (omitted)
  251. [ FAILED ] SCOPED_TRACETest.WorksConcurrently
  252. [----------] 1 test from ScopedTraceTest
  253. [ RUN ] ScopedTraceTest.WithExplicitFileAndLine
  254. googletest-output-test_.cc:#: Failure
  255. Failed
  256. Check that the trace is attached to a particular location.
  257. Google Test trace:
  258. explicit_file.cc:123: expected trace message
  259. Stack trace: (omitted)
  260. [ FAILED ] ScopedTraceTest.WithExplicitFileAndLine
  261. [----------] 1 test from NonFatalFailureInFixtureConstructorTest
  262. [ RUN ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
  263. (expecting 5 failures)
  264. googletest-output-test_.cc:#: Failure
  265. Failed
  266. Expected failure #1, in the test fixture c'tor.
  267. Stack trace: (omitted)
  268. googletest-output-test_.cc:#: Failure
  269. Failed
  270. Expected failure #2, in SetUp().
  271. Stack trace: (omitted)
  272. googletest-output-test_.cc:#: Failure
  273. Failed
  274. Expected failure #3, in the test body.
  275. Stack trace: (omitted)
  276. googletest-output-test_.cc:#: Failure
  277. Failed
  278. Expected failure #4, in TearDown.
  279. Stack trace: (omitted)
  280. googletest-output-test_.cc:#: Failure
  281. Failed
  282. Expected failure #5, in the test fixture d'tor.
  283. Stack trace: (omitted)
  284. [ FAILED ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
  285. [----------] 1 test from FatalFailureInFixtureConstructorTest
  286. [ RUN ] FatalFailureInFixtureConstructorTest.FailureInConstructor
  287. (expecting 2 failures)
  288. googletest-output-test_.cc:#: Failure
  289. Failed
  290. Expected failure #1, in the test fixture c'tor.
  291. Stack trace: (omitted)
  292. googletest-output-test_.cc:#: Failure
  293. Failed
  294. Expected failure #2, in the test fixture d'tor.
  295. Stack trace: (omitted)
  296. [ FAILED ] FatalFailureInFixtureConstructorTest.FailureInConstructor
  297. [----------] 1 test from NonFatalFailureInSetUpTest
  298. [ RUN ] NonFatalFailureInSetUpTest.FailureInSetUp
  299. (expecting 4 failures)
  300. googletest-output-test_.cc:#: Failure
  301. Failed
  302. Expected failure #1, in SetUp().
  303. Stack trace: (omitted)
  304. googletest-output-test_.cc:#: Failure
  305. Failed
  306. Expected failure #2, in the test function.
  307. Stack trace: (omitted)
  308. googletest-output-test_.cc:#: Failure
  309. Failed
  310. Expected failure #3, in TearDown().
  311. Stack trace: (omitted)
  312. googletest-output-test_.cc:#: Failure
  313. Failed
  314. Expected failure #4, in the test fixture d'tor.
  315. Stack trace: (omitted)
  316. [ FAILED ] NonFatalFailureInSetUpTest.FailureInSetUp
  317. [----------] 1 test from FatalFailureInSetUpTest
  318. [ RUN ] FatalFailureInSetUpTest.FailureInSetUp
  319. (expecting 3 failures)
  320. googletest-output-test_.cc:#: Failure
  321. Failed
  322. Expected failure #1, in SetUp().
  323. Stack trace: (omitted)
  324. googletest-output-test_.cc:#: Failure
  325. Failed
  326. Expected failure #2, in TearDown().
  327. Stack trace: (omitted)
  328. googletest-output-test_.cc:#: Failure
  329. Failed
  330. Expected failure #3, in the test fixture d'tor.
  331. Stack trace: (omitted)
  332. [ FAILED ] FatalFailureInSetUpTest.FailureInSetUp
  333. [----------] 1 test from AddFailureAtTest
  334. [ RUN ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
  335. foo.cc:42: Failure
  336. Failed
  337. Expected nonfatal failure in foo.cc
  338. Stack trace: (omitted)
  339. [ FAILED ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
  340. [----------] 1 test from GtestFailAtTest
  341. [ RUN ] GtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
  342. foo.cc:42: Failure
  343. Failed
  344. Expected fatal failure in foo.cc
  345. Stack trace: (omitted)
  346. [ FAILED ] GtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
  347. [----------] 4 tests from MixedUpTestSuiteTest
  348. [ RUN ] MixedUpTestSuiteTest.FirstTestFromNamespaceFoo
  349. [ OK ] MixedUpTestSuiteTest.FirstTestFromNamespaceFoo
  350. [ RUN ] MixedUpTestSuiteTest.SecondTestFromNamespaceFoo
  351. [ OK ] MixedUpTestSuiteTest.SecondTestFromNamespaceFoo
  352. [ RUN ] MixedUpTestSuiteTest.ThisShouldFail
  353. gtest.cc:#: Failure
  354. Failed
  355. All tests in the same test suite must use the same test fixture
  356. class. However, in test suite MixedUpTestSuiteTest,
  357. you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
  358. using two different test fixture classes. This can happen if
  359. the two classes are from different namespaces or translation
  360. units and have the same name. You should probably rename one
  361. of the classes to put the tests into different test suites.
  362. Stack trace: (omitted)
  363. [ FAILED ] MixedUpTestSuiteTest.ThisShouldFail
  364. [ RUN ] MixedUpTestSuiteTest.ThisShouldFailToo
  365. gtest.cc:#: Failure
  366. Failed
  367. All tests in the same test suite must use the same test fixture
  368. class. However, in test suite MixedUpTestSuiteTest,
  369. you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
  370. using two different test fixture classes. This can happen if
  371. the two classes are from different namespaces or translation
  372. units and have the same name. You should probably rename one
  373. of the classes to put the tests into different test suites.
  374. Stack trace: (omitted)
  375. [ FAILED ] MixedUpTestSuiteTest.ThisShouldFailToo
  376. [----------] 2 tests from MixedUpTestSuiteWithSameTestNameTest
  377. [ RUN ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  378. [ OK ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  379. [ RUN ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  380. gtest.cc:#: Failure
  381. Failed
  382. All tests in the same test suite must use the same test fixture
  383. class. However, in test suite MixedUpTestSuiteWithSameTestNameTest,
  384. you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
  385. using two different test fixture classes. This can happen if
  386. the two classes are from different namespaces or translation
  387. units and have the same name. You should probably rename one
  388. of the classes to put the tests into different test suites.
  389. Stack trace: (omitted)
  390. [ FAILED ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  391. [----------] 2 tests from TEST_F_before_TEST_in_same_test_case
  392. [ RUN ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
  393. [ OK ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
  394. [ RUN ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
  395. gtest.cc:#: Failure
  396. Failed
  397. All tests in the same test suite must use the same test fixture
  398. class, so mixing TEST_F and TEST in the same test suite is
  399. illegal. In test suite TEST_F_before_TEST_in_same_test_case,
  400. test DefinedUsingTEST_F is defined using TEST_F but
  401. test DefinedUsingTESTAndShouldFail is defined using TEST. You probably
  402. want to change the TEST to TEST_F or move it to another test
  403. case.
  404. Stack trace: (omitted)
  405. [ FAILED ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
  406. [----------] 2 tests from TEST_before_TEST_F_in_same_test_case
  407. [ RUN ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
  408. [ OK ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
  409. [ RUN ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
  410. gtest.cc:#: Failure
  411. Failed
  412. All tests in the same test suite must use the same test fixture
  413. class, so mixing TEST_F and TEST in the same test suite is
  414. illegal. In test suite TEST_before_TEST_F_in_same_test_case,
  415. test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
  416. test DefinedUsingTEST is defined using TEST. You probably
  417. want to change the TEST to TEST_F or move it to another test
  418. case.
  419. Stack trace: (omitted)
  420. [ FAILED ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
  421. [----------] 8 tests from ExpectNonfatalFailureTest
  422. [ RUN ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
  423. [ OK ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
  424. [ RUN ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
  425. [ OK ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
  426. [ RUN ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
  427. [ OK ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
  428. [ RUN ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
  429. (expecting a failure)
  430. gtest.cc:#: Failure
  431. Expected: 1 non-fatal failure
  432. Actual: 0 failures
  433. Stack trace: (omitted)
  434. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
  435. [ RUN ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
  436. (expecting a failure)
  437. gtest.cc:#: Failure
  438. Expected: 1 non-fatal failure
  439. Actual: 2 failures
  440. googletest-output-test_.cc:#: Non-fatal failure:
  441. Failed
  442. Expected non-fatal failure 1.
  443. Stack trace: (omitted)
  444. googletest-output-test_.cc:#: Non-fatal failure:
  445. Failed
  446. Expected non-fatal failure 2.
  447. Stack trace: (omitted)
  448. Stack trace: (omitted)
  449. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
  450. [ RUN ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
  451. (expecting a failure)
  452. gtest.cc:#: Failure
  453. Expected: 1 non-fatal failure
  454. Actual:
  455. googletest-output-test_.cc:#: Fatal failure:
  456. Failed
  457. Expected fatal failure.
  458. Stack trace: (omitted)
  459. Stack trace: (omitted)
  460. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
  461. [ RUN ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
  462. (expecting a failure)
  463. gtest.cc:#: Failure
  464. Expected: 1 non-fatal failure
  465. Actual: 0 failures
  466. Stack trace: (omitted)
  467. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
  468. [ RUN ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
  469. (expecting a failure)
  470. gtest.cc:#: Failure
  471. Expected: 1 non-fatal failure
  472. Actual: 0 failures
  473. Stack trace: (omitted)
  474. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
  475. [----------] 8 tests from ExpectFatalFailureTest
  476. [ RUN ] ExpectFatalFailureTest.CanReferenceGlobalVariables
  477. [ OK ] ExpectFatalFailureTest.CanReferenceGlobalVariables
  478. [ RUN ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
  479. [ OK ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
  480. [ RUN ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
  481. [ OK ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
  482. [ RUN ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
  483. (expecting a failure)
  484. gtest.cc:#: Failure
  485. Expected: 1 fatal failure
  486. Actual: 0 failures
  487. Stack trace: (omitted)
  488. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
  489. [ RUN ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
  490. (expecting a failure)
  491. gtest.cc:#: Failure
  492. Expected: 1 fatal failure
  493. Actual: 2 failures
  494. googletest-output-test_.cc:#: Fatal failure:
  495. Failed
  496. Expected fatal failure.
  497. Stack trace: (omitted)
  498. googletest-output-test_.cc:#: Fatal failure:
  499. Failed
  500. Expected fatal failure.
  501. Stack trace: (omitted)
  502. Stack trace: (omitted)
  503. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
  504. [ RUN ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
  505. (expecting a failure)
  506. gtest.cc:#: Failure
  507. Expected: 1 fatal failure
  508. Actual:
  509. googletest-output-test_.cc:#: Non-fatal failure:
  510. Failed
  511. Expected non-fatal failure.
  512. Stack trace: (omitted)
  513. Stack trace: (omitted)
  514. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
  515. [ RUN ] ExpectFatalFailureTest.FailsWhenStatementReturns
  516. (expecting a failure)
  517. gtest.cc:#: Failure
  518. Expected: 1 fatal failure
  519. Actual: 0 failures
  520. Stack trace: (omitted)
  521. [ FAILED ] ExpectFatalFailureTest.FailsWhenStatementReturns
  522. [ RUN ] ExpectFatalFailureTest.FailsWhenStatementThrows
  523. (expecting a failure)
  524. gtest.cc:#: Failure
  525. Expected: 1 fatal failure
  526. Actual: 0 failures
  527. Stack trace: (omitted)
  528. [ FAILED ] ExpectFatalFailureTest.FailsWhenStatementThrows
  529. [----------] 2 tests from TypedTest/0, where TypeParam = int
  530. [ RUN ] TypedTest/0.Success
  531. [ OK ] TypedTest/0.Success
  532. [ RUN ] TypedTest/0.Failure
  533. googletest-output-test_.cc:#: Failure
  534. Expected equality of these values:
  535. 1
  536. TypeParam()
  537. Which is: 0
  538. Expected failure
  539. Stack trace: (omitted)
  540. [ FAILED ] TypedTest/0.Failure, where TypeParam = int
  541. [----------] 2 tests from TypedTestWithNames/char0, where TypeParam = char
  542. [ RUN ] TypedTestWithNames/char0.Success
  543. [ OK ] TypedTestWithNames/char0.Success
  544. [ RUN ] TypedTestWithNames/char0.Failure
  545. googletest-output-test_.cc:#: Failure
  546. Failed
  547. Stack trace: (omitted)
  548. [ FAILED ] TypedTestWithNames/char0.Failure, where TypeParam = char
  549. [----------] 2 tests from TypedTestWithNames/int1, where TypeParam = int
  550. [ RUN ] TypedTestWithNames/int1.Success
  551. [ OK ] TypedTestWithNames/int1.Success
  552. [ RUN ] TypedTestWithNames/int1.Failure
  553. googletest-output-test_.cc:#: Failure
  554. Failed
  555. Stack trace: (omitted)
  556. [ FAILED ] TypedTestWithNames/int1.Failure, where TypeParam = int
  557. [----------] 2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
  558. [ RUN ] Unsigned/TypedTestP/0.Success
  559. [ OK ] Unsigned/TypedTestP/0.Success
  560. [ RUN ] Unsigned/TypedTestP/0.Failure
  561. googletest-output-test_.cc:#: Failure
  562. Expected equality of these values:
  563. 1U
  564. Which is: 1
  565. TypeParam()
  566. Which is: '\0'
  567. Expected failure
  568. Stack trace: (omitted)
  569. [ FAILED ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
  570. [----------] 2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
  571. [ RUN ] Unsigned/TypedTestP/1.Success
  572. [ OK ] Unsigned/TypedTestP/1.Success
  573. [ RUN ] Unsigned/TypedTestP/1.Failure
  574. googletest-output-test_.cc:#: Failure
  575. Expected equality of these values:
  576. 1U
  577. Which is: 1
  578. TypeParam()
  579. Which is: 0
  580. Expected failure
  581. Stack trace: (omitted)
  582. [ FAILED ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
  583. [----------] 2 tests from UnsignedCustomName/TypedTestP/unsignedChar0, where TypeParam = unsigned char
  584. [ RUN ] UnsignedCustomName/TypedTestP/unsignedChar0.Success
  585. [ OK ] UnsignedCustomName/TypedTestP/unsignedChar0.Success
  586. [ RUN ] UnsignedCustomName/TypedTestP/unsignedChar0.Failure
  587. googletest-output-test_.cc:#: Failure
  588. Expected equality of these values:
  589. 1U
  590. Which is: 1
  591. TypeParam()
  592. Which is: '\0'
  593. Expected failure
  594. Stack trace: (omitted)
  595. [ FAILED ] UnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
  596. [----------] 2 tests from UnsignedCustomName/TypedTestP/unsignedInt1, where TypeParam = unsigned int
  597. [ RUN ] UnsignedCustomName/TypedTestP/unsignedInt1.Success
  598. [ OK ] UnsignedCustomName/TypedTestP/unsignedInt1.Success
  599. [ RUN ] UnsignedCustomName/TypedTestP/unsignedInt1.Failure
  600. googletest-output-test_.cc:#: Failure
  601. Expected equality of these values:
  602. 1U
  603. Which is: 1
  604. TypeParam()
  605. Which is: 0
  606. Expected failure
  607. Stack trace: (omitted)
  608. [ FAILED ] UnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
  609. [----------] 4 tests from ExpectFailureTest
  610. [ RUN ] ExpectFailureTest.ExpectFatalFailure
  611. (expecting 1 failure)
  612. gtest.cc:#: Failure
  613. Expected: 1 fatal failure
  614. Actual:
  615. googletest-output-test_.cc:#: Success:
  616. Succeeded
  617. Stack trace: (omitted)
  618. (expecting 1 failure)
  619. gtest.cc:#: Failure
  620. Expected: 1 fatal failure
  621. Actual:
  622. googletest-output-test_.cc:#: Non-fatal failure:
  623. Failed
  624. Expected non-fatal failure.
  625. Stack trace: (omitted)
  626. Stack trace: (omitted)
  627. (expecting 1 failure)
  628. gtest.cc:#: Failure
  629. Expected: 1 fatal failure containing "Some other fatal failure expected."
  630. Actual:
  631. googletest-output-test_.cc:#: Fatal failure:
  632. Failed
  633. Expected fatal failure.
  634. Stack trace: (omitted)
  635. Stack trace: (omitted)
  636. [ FAILED ] ExpectFailureTest.ExpectFatalFailure
  637. [ RUN ] ExpectFailureTest.ExpectNonFatalFailure
  638. (expecting 1 failure)
  639. gtest.cc:#: Failure
  640. Expected: 1 non-fatal failure
  641. Actual:
  642. googletest-output-test_.cc:#: Success:
  643. Succeeded
  644. Stack trace: (omitted)
  645. (expecting 1 failure)
  646. gtest.cc:#: Failure
  647. Expected: 1 non-fatal failure
  648. Actual:
  649. googletest-output-test_.cc:#: Fatal failure:
  650. Failed
  651. Expected fatal failure.
  652. Stack trace: (omitted)
  653. Stack trace: (omitted)
  654. (expecting 1 failure)
  655. gtest.cc:#: Failure
  656. Expected: 1 non-fatal failure containing "Some other non-fatal failure."
  657. Actual:
  658. googletest-output-test_.cc:#: Non-fatal failure:
  659. Failed
  660. Expected non-fatal failure.
  661. Stack trace: (omitted)
  662. Stack trace: (omitted)
  663. [ FAILED ] ExpectFailureTest.ExpectNonFatalFailure
  664. [ RUN ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
  665. (expecting 1 failure)
  666. gtest.cc:#: Failure
  667. Expected: 1 fatal failure
  668. Actual:
  669. googletest-output-test_.cc:#: Success:
  670. Succeeded
  671. Stack trace: (omitted)
  672. (expecting 1 failure)
  673. gtest.cc:#: Failure
  674. Expected: 1 fatal failure
  675. Actual:
  676. googletest-output-test_.cc:#: Non-fatal failure:
  677. Failed
  678. Expected non-fatal failure.
  679. Stack trace: (omitted)
  680. Stack trace: (omitted)
  681. (expecting 1 failure)
  682. gtest.cc:#: Failure
  683. Expected: 1 fatal failure containing "Some other fatal failure expected."
  684. Actual:
  685. googletest-output-test_.cc:#: Fatal failure:
  686. Failed
  687. Expected fatal failure.
  688. Stack trace: (omitted)
  689. Stack trace: (omitted)
  690. [ FAILED ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
  691. [ RUN ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
  692. (expecting 1 failure)
  693. gtest.cc:#: Failure
  694. Expected: 1 non-fatal failure
  695. Actual:
  696. googletest-output-test_.cc:#: Success:
  697. Succeeded
  698. Stack trace: (omitted)
  699. (expecting 1 failure)
  700. gtest.cc:#: Failure
  701. Expected: 1 non-fatal failure
  702. Actual:
  703. googletest-output-test_.cc:#: Fatal failure:
  704. Failed
  705. Expected fatal failure.
  706. Stack trace: (omitted)
  707. Stack trace: (omitted)
  708. (expecting 1 failure)
  709. gtest.cc:#: Failure
  710. Expected: 1 non-fatal failure containing "Some other non-fatal failure."
  711. Actual:
  712. googletest-output-test_.cc:#: Non-fatal failure:
  713. Failed
  714. Expected non-fatal failure.
  715. Stack trace: (omitted)
  716. Stack trace: (omitted)
  717. [ FAILED ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
  718. [----------] 2 tests from ExpectFailureWithThreadsTest
  719. [ RUN ] ExpectFailureWithThreadsTest.ExpectFatalFailure
  720. (expecting 2 failures)
  721. googletest-output-test_.cc:#: Failure
  722. Failed
  723. Expected fatal failure.
  724. Stack trace: (omitted)
  725. gtest.cc:#: Failure
  726. Expected: 1 fatal failure
  727. Actual: 0 failures
  728. Stack trace: (omitted)
  729. [ FAILED ] ExpectFailureWithThreadsTest.ExpectFatalFailure
  730. [ RUN ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
  731. (expecting 2 failures)
  732. googletest-output-test_.cc:#: Failure
  733. Failed
  734. Expected non-fatal failure.
  735. Stack trace: (omitted)
  736. gtest.cc:#: Failure
  737. Expected: 1 non-fatal failure
  738. Actual: 0 failures
  739. Stack trace: (omitted)
  740. [ FAILED ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
  741. [----------] 1 test from ScopedFakeTestPartResultReporterTest
  742. [ RUN ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
  743. (expecting 2 failures)
  744. googletest-output-test_.cc:#: Failure
  745. Failed
  746. Expected fatal failure.
  747. Stack trace: (omitted)
  748. googletest-output-test_.cc:#: Failure
  749. Failed
  750. Expected non-fatal failure.
  751. Stack trace: (omitted)
  752. [ FAILED ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
  753. [----------] 2 tests from DynamicFixture
  754. DynamicFixture::SetUpTestSuite
  755. [ RUN ] DynamicFixture.DynamicTestPass
  756. DynamicFixture()
  757. DynamicFixture::SetUp
  758. DynamicFixture::TearDown
  759. ~DynamicFixture()
  760. [ OK ] DynamicFixture.DynamicTestPass
  761. [ RUN ] DynamicFixture.DynamicTestFail
  762. DynamicFixture()
  763. DynamicFixture::SetUp
  764. googletest-output-test_.cc:#: Failure
  765. Value of: Pass
  766. Actual: false
  767. Expected: true
  768. Stack trace: (omitted)
  769. DynamicFixture::TearDown
  770. ~DynamicFixture()
  771. [ FAILED ] DynamicFixture.DynamicTestFail
  772. DynamicFixture::TearDownTestSuite
  773. [----------] 1 test from DynamicFixtureAnotherName
  774. DynamicFixture::SetUpTestSuite
  775. [ RUN ] DynamicFixtureAnotherName.DynamicTestPass
  776. DynamicFixture()
  777. DynamicFixture::SetUp
  778. DynamicFixture::TearDown
  779. ~DynamicFixture()
  780. [ OK ] DynamicFixtureAnotherName.DynamicTestPass
  781. DynamicFixture::TearDownTestSuite
  782. [----------] 2 tests from BadDynamicFixture1
  783. DynamicFixture::SetUpTestSuite
  784. [ RUN ] BadDynamicFixture1.FixtureBase
  785. DynamicFixture()
  786. DynamicFixture::SetUp
  787. DynamicFixture::TearDown
  788. ~DynamicFixture()
  789. [ OK ] BadDynamicFixture1.FixtureBase
  790. [ RUN ] BadDynamicFixture1.TestBase
  791. DynamicFixture()
  792. gtest.cc:#: Failure
  793. Failed
  794. All tests in the same test suite must use the same test fixture
  795. class, so mixing TEST_F and TEST in the same test suite is
  796. illegal. In test suite BadDynamicFixture1,
  797. test FixtureBase is defined using TEST_F but
  798. test TestBase is defined using TEST. You probably
  799. want to change the TEST to TEST_F or move it to another test
  800. case.
  801. Stack trace: (omitted)
  802. ~DynamicFixture()
  803. [ FAILED ] BadDynamicFixture1.TestBase
  804. DynamicFixture::TearDownTestSuite
  805. [----------] 2 tests from BadDynamicFixture2
  806. DynamicFixture::SetUpTestSuite
  807. [ RUN ] BadDynamicFixture2.FixtureBase
  808. DynamicFixture()
  809. DynamicFixture::SetUp
  810. DynamicFixture::TearDown
  811. ~DynamicFixture()
  812. [ OK ] BadDynamicFixture2.FixtureBase
  813. [ RUN ] BadDynamicFixture2.Derived
  814. DynamicFixture()
  815. gtest.cc:#: Failure
  816. Failed
  817. All tests in the same test suite must use the same test fixture
  818. class. However, in test suite BadDynamicFixture2,
  819. you defined test FixtureBase and test Derived
  820. using two different test fixture classes. This can happen if
  821. the two classes are from different namespaces or translation
  822. units and have the same name. You should probably rename one
  823. of the classes to put the tests into different test suites.
  824. Stack trace: (omitted)
  825. ~DynamicFixture()
  826. [ FAILED ] BadDynamicFixture2.Derived
  827. DynamicFixture::TearDownTestSuite
  828. [----------] 1 test from TestSuiteThatFailsToSetUp
  829. googletest-output-test_.cc:#: Failure
  830. Value of: false
  831. Actual: false
  832. Expected: true
  833. Stack trace: (omitted)
  834. [ RUN ] TestSuiteThatFailsToSetUp.ShouldNotRun
  835. googletest-output-test_.cc:#: Skipped
  836. [ SKIPPED ] TestSuiteThatFailsToSetUp.ShouldNotRun
  837. [----------] 1 test from TestSuiteThatSkipsInSetUp
  838. googletest-output-test_.cc:#: Skipped
  839. Skip entire test suite
  840. [ RUN ] TestSuiteThatSkipsInSetUp.ShouldNotRun
  841. googletest-output-test_.cc:#: Skipped
  842. [ SKIPPED ] TestSuiteThatSkipsInSetUp.ShouldNotRun
  843. [----------] 1 test from PrintingFailingParams/FailingParamTest
  844. [ RUN ] PrintingFailingParams/FailingParamTest.Fails/0
  845. googletest-output-test_.cc:#: Failure
  846. Expected equality of these values:
  847. 1
  848. GetParam()
  849. Which is: 2
  850. Stack trace: (omitted)
  851. [ FAILED ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
  852. [----------] 1 test from EmptyBasenameParamInst
  853. [ RUN ] EmptyBasenameParamInst.Passes/0
  854. [ OK ] EmptyBasenameParamInst.Passes/0
  855. [----------] 2 tests from PrintingStrings/ParamTest
  856. [ RUN ] PrintingStrings/ParamTest.Success/a
  857. [ OK ] PrintingStrings/ParamTest.Success/a
  858. [ RUN ] PrintingStrings/ParamTest.Failure/a
  859. googletest-output-test_.cc:#: Failure
  860. Expected equality of these values:
  861. "b"
  862. GetParam()
  863. Which is: "a"
  864. Expected failure
  865. Stack trace: (omitted)
  866. [ FAILED ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
  867. [----------] 3 tests from GoogleTestVerification
  868. [ RUN ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
  869. googletest-output-test_.cc:#: Failure
  870. Parameterized test suite NoTests is instantiated via INSTANTIATE_TEST_SUITE_P, but no tests are defined via TEST_P . No test cases will run.
  871. Ideally, INSTANTIATE_TEST_SUITE_P should only ever be invoked from code that always depend on code that provides TEST_P. Failing to do so is often an indication of dead code, e.g. the last TEST_P was removed but the rest got left behind.
  872. To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
  873. GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(NoTests);
  874. Stack trace: (omitted)
  875. [ FAILED ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
  876. [ RUN ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
  877. googletest-output-test_.cc:#: Failure
  878. Parameterized test suite DetectNotInstantiatedTest is defined via TEST_P, but never instantiated. None of the test cases will run. Either no INSTANTIATE_TEST_SUITE_P is provided or the only ones provided expand to nothing.
  879. Ideally, TEST_P definitions should only ever be included as part of binaries that intend to use them. (As opposed to, for example, being placed in a library that may be linked in to get other utilities.)
  880. To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
  881. GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(DetectNotInstantiatedTest);
  882. Stack trace: (omitted)
  883. [ FAILED ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
  884. [ RUN ] GoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
  885. googletest-output-test_.cc:#: Failure
  886. Type parameterized test suite DetectNotInstantiatedTypesTest is defined via REGISTER_TYPED_TEST_SUITE_P, but never instantiated via INSTANTIATE_TYPED_TEST_SUITE_P. None of the test cases will run.
  887. Ideally, TYPED_TEST_P definitions should only ever be included as part of binaries that intend to use them. (As opposed to, for example, being placed in a library that may be linked in to get other utilities.)
  888. To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
  889. GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(DetectNotInstantiatedTypesTest);
  890. Stack trace: (omitted)
  891. [ FAILED ] GoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
  892. [----------] Global test environment tear-down
  893. BarEnvironment::TearDown() called.
  894. googletest-output-test_.cc:#: Failure
  895. Failed
  896. Expected non-fatal failure.
  897. Stack trace: (omitted)
  898. FooEnvironment::TearDown() called.
  899. googletest-output-test_.cc:#: Failure
  900. Failed
  901. Expected fatal failure.
  902. Stack trace: (omitted)
  903. [==========] 90 tests from 43 test suites ran.
  904. [ PASSED ] 31 tests.
  905. [ SKIPPED ] 2 tests, listed below:
  906. [ SKIPPED ] TestSuiteThatFailsToSetUp.ShouldNotRun
  907. [ SKIPPED ] TestSuiteThatSkipsInSetUp.ShouldNotRun
  908. [ FAILED ] 57 tests, listed below:
  909. [ FAILED ] NonfatalFailureTest.EscapesStringOperands
  910. [ FAILED ] NonfatalFailureTest.DiffForLongStrings
  911. [ FAILED ] FatalFailureTest.FatalFailureInSubroutine
  912. [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
  913. [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
  914. [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
  915. [ FAILED ] SCOPED_TRACETest.AcceptedValues
  916. [ FAILED ] SCOPED_TRACETest.ObeysScopes
  917. [ FAILED ] SCOPED_TRACETest.WorksInLoop
  918. [ FAILED ] SCOPED_TRACETest.WorksInSubroutine
  919. [ FAILED ] SCOPED_TRACETest.CanBeNested
  920. [ FAILED ] SCOPED_TRACETest.CanBeRepeated
  921. [ FAILED ] SCOPED_TRACETest.WorksConcurrently
  922. [ FAILED ] ScopedTraceTest.WithExplicitFileAndLine
  923. [ FAILED ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
  924. [ FAILED ] FatalFailureInFixtureConstructorTest.FailureInConstructor
  925. [ FAILED ] NonFatalFailureInSetUpTest.FailureInSetUp
  926. [ FAILED ] FatalFailureInSetUpTest.FailureInSetUp
  927. [ FAILED ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
  928. [ FAILED ] GtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
  929. [ FAILED ] MixedUpTestSuiteTest.ThisShouldFail
  930. [ FAILED ] MixedUpTestSuiteTest.ThisShouldFailToo
  931. [ FAILED ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  932. [ FAILED ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
  933. [ FAILED ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
  934. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
  935. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
  936. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
  937. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
  938. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
  939. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
  940. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
  941. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
  942. [ FAILED ] ExpectFatalFailureTest.FailsWhenStatementReturns
  943. [ FAILED ] ExpectFatalFailureTest.FailsWhenStatementThrows
  944. [ FAILED ] TypedTest/0.Failure, where TypeParam = int
  945. [ FAILED ] TypedTestWithNames/char0.Failure, where TypeParam = char
  946. [ FAILED ] TypedTestWithNames/int1.Failure, where TypeParam = int
  947. [ FAILED ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
  948. [ FAILED ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
  949. [ FAILED ] UnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
  950. [ FAILED ] UnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
  951. [ FAILED ] ExpectFailureTest.ExpectFatalFailure
  952. [ FAILED ] ExpectFailureTest.ExpectNonFatalFailure
  953. [ FAILED ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
  954. [ FAILED ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
  955. [ FAILED ] ExpectFailureWithThreadsTest.ExpectFatalFailure
  956. [ FAILED ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
  957. [ FAILED ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
  958. [ FAILED ] DynamicFixture.DynamicTestFail
  959. [ FAILED ] BadDynamicFixture1.TestBase
  960. [ FAILED ] BadDynamicFixture2.Derived
  961. [ FAILED ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
  962. [ FAILED ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
  963. [ FAILED ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
  964. [ FAILED ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
  965. [ FAILED ] GoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
  966. 57 FAILED TESTS
  967. [ FAILED ] TestSuiteThatFailsToSetUp: SetUpTestSuite or TearDownTestSuite
  968. 1 FAILED TEST SUITE
  969.  YOU HAVE 1 DISABLED TEST
  970. Note: Google Test filter = FatalFailureTest.*:LoggingTest.*
  971. [==========] Running 4 tests from 2 test suites.
  972. [----------] Global test environment set-up.
  973. [----------] 3 tests from FatalFailureTest
  974. [ RUN ] FatalFailureTest.FatalFailureInSubroutine
  975. (expecting a failure that x should be 1)
  976. googletest-output-test_.cc:#: Failure
  977. Expected equality of these values:
  978. 1
  979. x
  980. Which is: 2
  981. Stack trace: (omitted)
  982. [ FAILED ] FatalFailureTest.FatalFailureInSubroutine (? ms)
  983. [ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine
  984. (expecting a failure that x should be 1)
  985. googletest-output-test_.cc:#: Failure
  986. Expected equality of these values:
  987. 1
  988. x
  989. Which is: 2
  990. Stack trace: (omitted)
  991. [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
  992. [ RUN ] FatalFailureTest.NonfatalFailureInSubroutine
  993. (expecting a failure on false)
  994. googletest-output-test_.cc:#: Failure
  995. Value of: false
  996. Actual: false
  997. Expected: true
  998. Stack trace: (omitted)
  999. [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
  1000. [----------] 3 tests from FatalFailureTest (? ms total)
  1001. [----------] 1 test from LoggingTest
  1002. [ RUN ] LoggingTest.InterleavingLoggingAndAssertions
  1003. (expecting 2 failures on (3) >= (a[i]))
  1004. i == 0
  1005. i == 1
  1006. googletest-output-test_.cc:#: Failure
  1007. Expected: (3) >= (a[i]), actual: 3 vs 9
  1008. Stack trace: (omitted)
  1009. i == 2
  1010. i == 3
  1011. googletest-output-test_.cc:#: Failure
  1012. Expected: (3) >= (a[i]), actual: 3 vs 6
  1013. Stack trace: (omitted)
  1014. [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
  1015. [----------] 1 test from LoggingTest (? ms total)
  1016. [----------] Global test environment tear-down
  1017. [==========] 4 tests from 2 test suites ran. (? ms total)
  1018. [ PASSED ] 0 tests.
  1019. [ FAILED ] 4 tests, listed below:
  1020. [ FAILED ] FatalFailureTest.FatalFailureInSubroutine
  1021. [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
  1022. [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
  1023. [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
  1024. 4 FAILED TESTS
  1025. Note: Google Test filter = *DISABLED_*
  1026. [==========] Running 1 test from 1 test suite.
  1027. [----------] Global test environment set-up.
  1028. [----------] 1 test from DisabledTestsWarningTest
  1029. [ RUN ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
  1030. [ OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
  1031. [----------] Global test environment tear-down
  1032. [==========] 1 test from 1 test suite ran.
  1033. [ PASSED ] 1 test.
  1034. Note: Google Test filter = PassingTest.*
  1035. Note: This is test shard 2 of 2.
  1036. [==========] Running 1 test from 1 test suite.
  1037. [----------] Global test environment set-up.
  1038. [----------] 1 test from PassingTest
  1039. [ RUN ] PassingTest.PassingTest2
  1040. [ OK ] PassingTest.PassingTest2
  1041. [----------] Global test environment tear-down
  1042. [==========] 1 test from 1 test suite ran.
  1043. [ PASSED ] 1 test.