/thirdparty/breakpad/third_party/protobuf/protobuf/gtest/test/gtest_output_test_golden_lin.txt

http://github.com/tomahawk-player/tomahawk · Plain Text · 696 lines · 669 code · 27 blank · 0 comment · 0 complexity · e50c337ce28776d6e7983a6606ffbd18 MD5 · raw file

  1. The non-test part of the code is expected to have 2 failures.
  2. gtest_output_test_.cc:#: Failure
  3. Value of: false
  4. Actual: false
  5. Expected: true
  6. gtest_output_test_.cc:#: Failure
  7. Value of: 3
  8. Expected: 2
  9. [==========] Running 60 tests from 25 test cases.
  10. [----------] Global test environment set-up.
  11. FooEnvironment::SetUp() called.
  12. BarEnvironment::SetUp() called.
  13. [----------] 1 test from ADeathTest
  14. [ RUN ] ADeathTest.ShouldRunFirst
  15. [ OK ] ADeathTest.ShouldRunFirst
  16. [----------] 1 test from ATypedDeathTest/0, where TypeParam = int
  17. [ RUN ] ATypedDeathTest/0.ShouldRunFirst
  18. [ OK ] ATypedDeathTest/0.ShouldRunFirst
  19. [----------] 1 test from ATypedDeathTest/1, where TypeParam = double
  20. [ RUN ] ATypedDeathTest/1.ShouldRunFirst
  21. [ OK ] ATypedDeathTest/1.ShouldRunFirst
  22. [----------] 1 test from My/ATypeParamDeathTest/0, where TypeParam = int
  23. [ RUN ] My/ATypeParamDeathTest/0.ShouldRunFirst
  24. [ OK ] My/ATypeParamDeathTest/0.ShouldRunFirst
  25. [----------] 1 test from My/ATypeParamDeathTest/1, where TypeParam = double
  26. [ RUN ] My/ATypeParamDeathTest/1.ShouldRunFirst
  27. [ OK ] My/ATypeParamDeathTest/1.ShouldRunFirst
  28. [----------] 2 tests from PassingTest
  29. [ RUN ] PassingTest.PassingTest1
  30. [ OK ] PassingTest.PassingTest1
  31. [ RUN ] PassingTest.PassingTest2
  32. [ OK ] PassingTest.PassingTest2
  33. [----------] 3 tests from FatalFailureTest
  34. [ RUN ] FatalFailureTest.FatalFailureInSubroutine
  35. (expecting a failure that x should be 1)
  36. gtest_output_test_.cc:#: Failure
  37. Value of: x
  38. Actual: 2
  39. Expected: 1
  40. [ FAILED ] FatalFailureTest.FatalFailureInSubroutine
  41. [ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine
  42. (expecting a failure that x should be 1)
  43. gtest_output_test_.cc:#: Failure
  44. Value of: x
  45. Actual: 2
  46. Expected: 1
  47. [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
  48. [ RUN ] FatalFailureTest.NonfatalFailureInSubroutine
  49. (expecting a failure on false)
  50. gtest_output_test_.cc:#: Failure
  51. Value of: false
  52. Actual: false
  53. Expected: true
  54. [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
  55. [----------] 1 test from LoggingTest
  56. [ RUN ] LoggingTest.InterleavingLoggingAndAssertions
  57. (expecting 2 failures on (3) >= (a[i]))
  58. i == 0
  59. i == 1
  60. gtest_output_test_.cc:#: Failure
  61. Expected: (3) >= (a[i]), actual: 3 vs 9
  62. i == 2
  63. i == 3
  64. gtest_output_test_.cc:#: Failure
  65. Expected: (3) >= (a[i]), actual: 3 vs 6
  66. [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
  67. [----------] 6 tests from SCOPED_TRACETest
  68. [ RUN ] SCOPED_TRACETest.ObeysScopes
  69. (expected to fail)
  70. gtest_output_test_.cc:#: Failure
  71. Failed
  72. This failure is expected, and shouldn't have a trace.
  73. gtest_output_test_.cc:#: Failure
  74. Failed
  75. This failure is expected, and should have a trace.
  76. Google Test trace:
  77. gtest_output_test_.cc:#: Expected trace
  78. gtest_output_test_.cc:#: Failure
  79. Failed
  80. This failure is expected, and shouldn't have a trace.
  81. [ FAILED ] SCOPED_TRACETest.ObeysScopes
  82. [ RUN ] SCOPED_TRACETest.WorksInLoop
  83. (expected to fail)
  84. gtest_output_test_.cc:#: Failure
  85. Value of: n
  86. Actual: 1
  87. Expected: 2
  88. Google Test trace:
  89. gtest_output_test_.cc:#: i = 1
  90. gtest_output_test_.cc:#: Failure
  91. Value of: n
  92. Actual: 2
  93. Expected: 1
  94. Google Test trace:
  95. gtest_output_test_.cc:#: i = 2
  96. [ FAILED ] SCOPED_TRACETest.WorksInLoop
  97. [ RUN ] SCOPED_TRACETest.WorksInSubroutine
  98. (expected to fail)
  99. gtest_output_test_.cc:#: Failure
  100. Value of: n
  101. Actual: 1
  102. Expected: 2
  103. Google Test trace:
  104. gtest_output_test_.cc:#: n = 1
  105. gtest_output_test_.cc:#: Failure
  106. Value of: n
  107. Actual: 2
  108. Expected: 1
  109. Google Test trace:
  110. gtest_output_test_.cc:#: n = 2
  111. [ FAILED ] SCOPED_TRACETest.WorksInSubroutine
  112. [ RUN ] SCOPED_TRACETest.CanBeNested
  113. (expected to fail)
  114. gtest_output_test_.cc:#: Failure
  115. Value of: n
  116. Actual: 2
  117. Expected: 1
  118. Google Test trace:
  119. gtest_output_test_.cc:#: n = 2
  120. gtest_output_test_.cc:#:
  121. [ FAILED ] SCOPED_TRACETest.CanBeNested
  122. [ RUN ] SCOPED_TRACETest.CanBeRepeated
  123. (expected to fail)
  124. gtest_output_test_.cc:#: Failure
  125. Failed
  126. This failure is expected, and should contain trace point A.
  127. Google Test trace:
  128. gtest_output_test_.cc:#: A
  129. gtest_output_test_.cc:#: Failure
  130. Failed
  131. This failure is expected, and should contain trace point A and B.
  132. Google Test trace:
  133. gtest_output_test_.cc:#: B
  134. gtest_output_test_.cc:#: A
  135. gtest_output_test_.cc:#: Failure
  136. Failed
  137. This failure is expected, and should contain trace point A, B, and C.
  138. Google Test trace:
  139. gtest_output_test_.cc:#: C
  140. gtest_output_test_.cc:#: B
  141. gtest_output_test_.cc:#: A
  142. gtest_output_test_.cc:#: Failure
  143. Failed
  144. This failure is expected, and should contain trace point A, B, and D.
  145. Google Test trace:
  146. gtest_output_test_.cc:#: D
  147. gtest_output_test_.cc:#: B
  148. gtest_output_test_.cc:#: A
  149. [ FAILED ] SCOPED_TRACETest.CanBeRepeated
  150. [ RUN ] SCOPED_TRACETest.WorksConcurrently
  151. (expecting 6 failures)
  152. gtest_output_test_.cc:#: Failure
  153. Failed
  154. Expected failure #1 (in thread B, only trace B alive).
  155. Google Test trace:
  156. gtest_output_test_.cc:#: Trace B
  157. gtest_output_test_.cc:#: Failure
  158. Failed
  159. Expected failure #2 (in thread A, trace A & B both alive).
  160. Google Test trace:
  161. gtest_output_test_.cc:#: Trace A
  162. gtest_output_test_.cc:#: Failure
  163. Failed
  164. Expected failure #3 (in thread B, trace A & B both alive).
  165. Google Test trace:
  166. gtest_output_test_.cc:#: Trace B
  167. gtest_output_test_.cc:#: Failure
  168. Failed
  169. Expected failure #4 (in thread B, only trace A alive).
  170. gtest_output_test_.cc:#: Failure
  171. Failed
  172. Expected failure #5 (in thread A, only trace A alive).
  173. Google Test trace:
  174. gtest_output_test_.cc:#: Trace A
  175. gtest_output_test_.cc:#: Failure
  176. Failed
  177. Expected failure #6 (in thread A, no trace alive).
  178. [ FAILED ] SCOPED_TRACETest.WorksConcurrently
  179. [----------] 1 test from NonFatalFailureInFixtureConstructorTest
  180. [ RUN ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
  181. (expecting 5 failures)
  182. gtest_output_test_.cc:#: Failure
  183. Failed
  184. Expected failure #1, in the test fixture c'tor.
  185. gtest_output_test_.cc:#: Failure
  186. Failed
  187. Expected failure #2, in SetUp().
  188. gtest_output_test_.cc:#: Failure
  189. Failed
  190. Expected failure #3, in the test body.
  191. gtest_output_test_.cc:#: Failure
  192. Failed
  193. Expected failure #4, in TearDown.
  194. gtest_output_test_.cc:#: Failure
  195. Failed
  196. Expected failure #5, in the test fixture d'tor.
  197. [ FAILED ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
  198. [----------] 1 test from FatalFailureInFixtureConstructorTest
  199. [ RUN ] FatalFailureInFixtureConstructorTest.FailureInConstructor
  200. (expecting 2 failures)
  201. gtest_output_test_.cc:#: Failure
  202. Failed
  203. Expected failure #1, in the test fixture c'tor.
  204. gtest_output_test_.cc:#: Failure
  205. Failed
  206. Expected failure #2, in the test fixture d'tor.
  207. [ FAILED ] FatalFailureInFixtureConstructorTest.FailureInConstructor
  208. [----------] 1 test from NonFatalFailureInSetUpTest
  209. [ RUN ] NonFatalFailureInSetUpTest.FailureInSetUp
  210. (expecting 4 failures)
  211. gtest_output_test_.cc:#: Failure
  212. Failed
  213. Expected failure #1, in SetUp().
  214. gtest_output_test_.cc:#: Failure
  215. Failed
  216. Expected failure #2, in the test function.
  217. gtest_output_test_.cc:#: Failure
  218. Failed
  219. Expected failure #3, in TearDown().
  220. gtest_output_test_.cc:#: Failure
  221. Failed
  222. Expected failure #4, in the test fixture d'tor.
  223. [ FAILED ] NonFatalFailureInSetUpTest.FailureInSetUp
  224. [----------] 1 test from FatalFailureInSetUpTest
  225. [ RUN ] FatalFailureInSetUpTest.FailureInSetUp
  226. (expecting 3 failures)
  227. gtest_output_test_.cc:#: Failure
  228. Failed
  229. Expected failure #1, in SetUp().
  230. gtest_output_test_.cc:#: Failure
  231. Failed
  232. Expected failure #2, in TearDown().
  233. gtest_output_test_.cc:#: Failure
  234. Failed
  235. Expected failure #3, in the test fixture d'tor.
  236. [ FAILED ] FatalFailureInSetUpTest.FailureInSetUp
  237. [----------] 4 tests from MixedUpTestCaseTest
  238. [ RUN ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo
  239. [ OK ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo
  240. [ RUN ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo
  241. [ OK ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo
  242. [ RUN ] MixedUpTestCaseTest.ThisShouldFail
  243. gtest.cc:#: Failure
  244. Failed
  245. All tests in the same test case must use the same test fixture
  246. class. However, in test case MixedUpTestCaseTest,
  247. you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
  248. using two different test fixture classes. This can happen if
  249. the two classes are from different namespaces or translation
  250. units and have the same name. You should probably rename one
  251. of the classes to put the tests into different test cases.
  252. [ FAILED ] MixedUpTestCaseTest.ThisShouldFail
  253. [ RUN ] MixedUpTestCaseTest.ThisShouldFailToo
  254. gtest.cc:#: Failure
  255. Failed
  256. All tests in the same test case must use the same test fixture
  257. class. However, in test case MixedUpTestCaseTest,
  258. you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
  259. using two different test fixture classes. This can happen if
  260. the two classes are from different namespaces or translation
  261. units and have the same name. You should probably rename one
  262. of the classes to put the tests into different test cases.
  263. [ FAILED ] MixedUpTestCaseTest.ThisShouldFailToo
  264. [----------] 2 tests from MixedUpTestCaseWithSameTestNameTest
  265. [ RUN ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  266. [ OK ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  267. [ RUN ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  268. gtest.cc:#: Failure
  269. Failed
  270. All tests in the same test case must use the same test fixture
  271. class. However, in test case MixedUpTestCaseWithSameTestNameTest,
  272. you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
  273. using two different test fixture classes. This can happen if
  274. the two classes are from different namespaces or translation
  275. units and have the same name. You should probably rename one
  276. of the classes to put the tests into different test cases.
  277. [ FAILED ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  278. [----------] 2 tests from TEST_F_before_TEST_in_same_test_case
  279. [ RUN ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
  280. [ OK ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
  281. [ RUN ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
  282. gtest.cc:#: Failure
  283. Failed
  284. All tests in the same test case must use the same test fixture
  285. class, so mixing TEST_F and TEST in the same test case is
  286. illegal. In test case TEST_F_before_TEST_in_same_test_case,
  287. test DefinedUsingTEST_F is defined using TEST_F but
  288. test DefinedUsingTESTAndShouldFail is defined using TEST. You probably
  289. want to change the TEST to TEST_F or move it to another test
  290. case.
  291. [ FAILED ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
  292. [----------] 2 tests from TEST_before_TEST_F_in_same_test_case
  293. [ RUN ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
  294. [ OK ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
  295. [ RUN ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
  296. gtest.cc:#: Failure
  297. Failed
  298. All tests in the same test case must use the same test fixture
  299. class, so mixing TEST_F and TEST in the same test case is
  300. illegal. In test case TEST_before_TEST_F_in_same_test_case,
  301. test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
  302. test DefinedUsingTEST is defined using TEST. You probably
  303. want to change the TEST to TEST_F or move it to another test
  304. case.
  305. [ FAILED ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
  306. [----------] 8 tests from ExpectNonfatalFailureTest
  307. [ RUN ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
  308. [ OK ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
  309. [ RUN ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
  310. [ OK ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
  311. [ RUN ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
  312. [ OK ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
  313. [ RUN ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
  314. (expecting a failure)
  315. gtest.cc:#: Failure
  316. Expected: 1 non-fatal failure
  317. Actual: 0 failures
  318. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
  319. [ RUN ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
  320. (expecting a failure)
  321. gtest.cc:#: Failure
  322. Expected: 1 non-fatal failure
  323. Actual: 2 failures
  324. gtest_output_test_.cc:#: Non-fatal failure:
  325. Failed
  326. Expected non-fatal failure 1.
  327. gtest_output_test_.cc:#: Non-fatal failure:
  328. Failed
  329. Expected non-fatal failure 2.
  330. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
  331. [ RUN ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
  332. (expecting a failure)
  333. gtest.cc:#: Failure
  334. Expected: 1 non-fatal failure
  335. Actual:
  336. gtest_output_test_.cc:#: Fatal failure:
  337. Failed
  338. Expected fatal failure.
  339. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
  340. [ RUN ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
  341. (expecting a failure)
  342. gtest.cc:#: Failure
  343. Expected: 1 non-fatal failure
  344. Actual: 0 failures
  345. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
  346. [ RUN ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
  347. (expecting a failure)
  348. gtest.cc:#: Failure
  349. Expected: 1 non-fatal failure
  350. Actual: 0 failures
  351. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
  352. [----------] 8 tests from ExpectFatalFailureTest
  353. [ RUN ] ExpectFatalFailureTest.CanReferenceGlobalVariables
  354. [ OK ] ExpectFatalFailureTest.CanReferenceGlobalVariables
  355. [ RUN ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
  356. [ OK ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
  357. [ RUN ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
  358. [ OK ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
  359. [ RUN ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
  360. (expecting a failure)
  361. gtest.cc:#: Failure
  362. Expected: 1 fatal failure
  363. Actual: 0 failures
  364. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
  365. [ RUN ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
  366. (expecting a failure)
  367. gtest.cc:#: Failure
  368. Expected: 1 fatal failure
  369. Actual: 2 failures
  370. gtest_output_test_.cc:#: Fatal failure:
  371. Failed
  372. Expected fatal failure.
  373. gtest_output_test_.cc:#: Fatal failure:
  374. Failed
  375. Expected fatal failure.
  376. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
  377. [ RUN ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
  378. (expecting a failure)
  379. gtest.cc:#: Failure
  380. Expected: 1 fatal failure
  381. Actual:
  382. gtest_output_test_.cc:#: Non-fatal failure:
  383. Failed
  384. Expected non-fatal failure.
  385. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
  386. [ RUN ] ExpectFatalFailureTest.FailsWhenStatementReturns
  387. (expecting a failure)
  388. gtest.cc:#: Failure
  389. Expected: 1 fatal failure
  390. Actual: 0 failures
  391. [ FAILED ] ExpectFatalFailureTest.FailsWhenStatementReturns
  392. [ RUN ] ExpectFatalFailureTest.FailsWhenStatementThrows
  393. (expecting a failure)
  394. gtest.cc:#: Failure
  395. Expected: 1 fatal failure
  396. Actual: 0 failures
  397. [ FAILED ] ExpectFatalFailureTest.FailsWhenStatementThrows
  398. [----------] 2 tests from TypedTest/0, where TypeParam = int
  399. [ RUN ] TypedTest/0.Success
  400. [ OK ] TypedTest/0.Success
  401. [ RUN ] TypedTest/0.Failure
  402. gtest_output_test_.cc:#: Failure
  403. Value of: TypeParam()
  404. Actual: 0
  405. Expected: 1
  406. Expected failure
  407. [ FAILED ] TypedTest/0.Failure
  408. [----------] 2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
  409. [ RUN ] Unsigned/TypedTestP/0.Success
  410. [ OK ] Unsigned/TypedTestP/0.Success
  411. [ RUN ] Unsigned/TypedTestP/0.Failure
  412. gtest_output_test_.cc:#: Failure
  413. Value of: TypeParam()
  414. Actual: \0
  415. Expected: 1U
  416. Which is: 1
  417. Expected failure
  418. [ FAILED ] Unsigned/TypedTestP/0.Failure
  419. [----------] 2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
  420. [ RUN ] Unsigned/TypedTestP/1.Success
  421. [ OK ] Unsigned/TypedTestP/1.Success
  422. [ RUN ] Unsigned/TypedTestP/1.Failure
  423. gtest_output_test_.cc:#: Failure
  424. Value of: TypeParam()
  425. Actual: 0
  426. Expected: 1U
  427. Which is: 1
  428. Expected failure
  429. [ FAILED ] Unsigned/TypedTestP/1.Failure
  430. [----------] 4 tests from ExpectFailureTest
  431. [ RUN ] ExpectFailureTest.ExpectFatalFailure
  432. (expecting 1 failure)
  433. gtest.cc:#: Failure
  434. Expected: 1 fatal failure
  435. Actual:
  436. gtest_output_test_.cc:#: Success:
  437. Succeeded
  438. (expecting 1 failure)
  439. gtest.cc:#: Failure
  440. Expected: 1 fatal failure
  441. Actual:
  442. gtest_output_test_.cc:#: Non-fatal failure:
  443. Failed
  444. Expected non-fatal failure.
  445. (expecting 1 failure)
  446. gtest.cc:#: Failure
  447. Expected: 1 fatal failure containing "Some other fatal failure expected."
  448. Actual:
  449. gtest_output_test_.cc:#: Fatal failure:
  450. Failed
  451. Expected fatal failure.
  452. [ FAILED ] ExpectFailureTest.ExpectFatalFailure
  453. [ RUN ] ExpectFailureTest.ExpectNonFatalFailure
  454. (expecting 1 failure)
  455. gtest.cc:#: Failure
  456. Expected: 1 non-fatal failure
  457. Actual:
  458. gtest_output_test_.cc:#: Success:
  459. Succeeded
  460. (expecting 1 failure)
  461. gtest.cc:#: Failure
  462. Expected: 1 non-fatal failure
  463. Actual:
  464. gtest_output_test_.cc:#: Fatal failure:
  465. Failed
  466. Expected fatal failure.
  467. (expecting 1 failure)
  468. gtest.cc:#: Failure
  469. Expected: 1 non-fatal failure containing "Some other non-fatal failure."
  470. Actual:
  471. gtest_output_test_.cc:#: Non-fatal failure:
  472. Failed
  473. Expected non-fatal failure.
  474. [ FAILED ] ExpectFailureTest.ExpectNonFatalFailure
  475. [ RUN ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
  476. (expecting 1 failure)
  477. gtest.cc:#: Failure
  478. Expected: 1 fatal failure
  479. Actual:
  480. gtest_output_test_.cc:#: Success:
  481. Succeeded
  482. (expecting 1 failure)
  483. gtest.cc:#: Failure
  484. Expected: 1 fatal failure
  485. Actual:
  486. gtest_output_test_.cc:#: Non-fatal failure:
  487. Failed
  488. Expected non-fatal failure.
  489. (expecting 1 failure)
  490. gtest.cc:#: Failure
  491. Expected: 1 fatal failure containing "Some other fatal failure expected."
  492. Actual:
  493. gtest_output_test_.cc:#: Fatal failure:
  494. Failed
  495. Expected fatal failure.
  496. [ FAILED ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
  497. [ RUN ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
  498. (expecting 1 failure)
  499. gtest.cc:#: Failure
  500. Expected: 1 non-fatal failure
  501. Actual:
  502. gtest_output_test_.cc:#: Success:
  503. Succeeded
  504. (expecting 1 failure)
  505. gtest.cc:#: Failure
  506. Expected: 1 non-fatal failure
  507. Actual:
  508. gtest_output_test_.cc:#: Fatal failure:
  509. Failed
  510. Expected fatal failure.
  511. (expecting 1 failure)
  512. gtest.cc:#: Failure
  513. Expected: 1 non-fatal failure containing "Some other non-fatal failure."
  514. Actual:
  515. gtest_output_test_.cc:#: Non-fatal failure:
  516. Failed
  517. Expected non-fatal failure.
  518. [ FAILED ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
  519. [----------] 2 tests from ExpectFailureWithThreadsTest
  520. [ RUN ] ExpectFailureWithThreadsTest.ExpectFatalFailure
  521. (expecting 2 failures)
  522. gtest_output_test_.cc:#: Failure
  523. Failed
  524. Expected fatal failure.
  525. gtest.cc:#: Failure
  526. Expected: 1 fatal failure
  527. Actual: 0 failures
  528. [ FAILED ] ExpectFailureWithThreadsTest.ExpectFatalFailure
  529. [ RUN ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
  530. (expecting 2 failures)
  531. gtest_output_test_.cc:#: Failure
  532. Failed
  533. Expected non-fatal failure.
  534. gtest.cc:#: Failure
  535. Expected: 1 non-fatal failure
  536. Actual: 0 failures
  537. [ FAILED ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
  538. [----------] 1 test from ScopedFakeTestPartResultReporterTest
  539. [ RUN ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
  540. (expecting 2 failures)
  541. gtest_output_test_.cc:#: Failure
  542. Failed
  543. Expected fatal failure.
  544. gtest_output_test_.cc:#: Failure
  545. Failed
  546. Expected non-fatal failure.
  547. [ FAILED ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
  548. [----------] Global test environment tear-down
  549. BarEnvironment::TearDown() called.
  550. gtest_output_test_.cc:#: Failure
  551. Failed
  552. Expected non-fatal failure.
  553. FooEnvironment::TearDown() called.
  554. gtest_output_test_.cc:#: Failure
  555. Failed
  556. Expected fatal failure.
  557. [==========] 60 tests from 25 test cases ran.
  558. [ PASSED ] 21 tests.
  559. [ FAILED ] 39 tests, listed below:
  560. [ FAILED ] FatalFailureTest.FatalFailureInSubroutine
  561. [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
  562. [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
  563. [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
  564. [ FAILED ] SCOPED_TRACETest.ObeysScopes
  565. [ FAILED ] SCOPED_TRACETest.WorksInLoop
  566. [ FAILED ] SCOPED_TRACETest.WorksInSubroutine
  567. [ FAILED ] SCOPED_TRACETest.CanBeNested
  568. [ FAILED ] SCOPED_TRACETest.CanBeRepeated
  569. [ FAILED ] SCOPED_TRACETest.WorksConcurrently
  570. [ FAILED ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
  571. [ FAILED ] FatalFailureInFixtureConstructorTest.FailureInConstructor
  572. [ FAILED ] NonFatalFailureInSetUpTest.FailureInSetUp
  573. [ FAILED ] FatalFailureInSetUpTest.FailureInSetUp
  574. [ FAILED ] MixedUpTestCaseTest.ThisShouldFail
  575. [ FAILED ] MixedUpTestCaseTest.ThisShouldFailToo
  576. [ FAILED ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
  577. [ FAILED ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
  578. [ FAILED ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
  579. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
  580. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
  581. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
  582. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
  583. [ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
  584. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
  585. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
  586. [ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
  587. [ FAILED ] ExpectFatalFailureTest.FailsWhenStatementReturns
  588. [ FAILED ] ExpectFatalFailureTest.FailsWhenStatementThrows
  589. [ FAILED ] TypedTest/0.Failure, where TypeParam = int
  590. [ FAILED ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
  591. [ FAILED ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
  592. [ FAILED ] ExpectFailureTest.ExpectFatalFailure
  593. [ FAILED ] ExpectFailureTest.ExpectNonFatalFailure
  594. [ FAILED ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
  595. [ FAILED ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
  596. [ FAILED ] ExpectFailureWithThreadsTest.ExpectFatalFailure
  597. [ FAILED ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
  598. [ FAILED ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
  599. 39 FAILED TESTS
  600.  YOU HAVE 1 DISABLED TEST
  601. Note: Google Test filter = FatalFailureTest.*:LoggingTest.*
  602. [==========] Running 4 tests from 2 test cases.
  603. [----------] Global test environment set-up.
  604. [----------] 3 tests from FatalFailureTest
  605. [ RUN ] FatalFailureTest.FatalFailureInSubroutine
  606. (expecting a failure that x should be 1)
  607. gtest_output_test_.cc:#: Failure
  608. Value of: x
  609. Actual: 2
  610. Expected: 1
  611. [ FAILED ] FatalFailureTest.FatalFailureInSubroutine (? ms)
  612. [ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine
  613. (expecting a failure that x should be 1)
  614. gtest_output_test_.cc:#: Failure
  615. Value of: x
  616. Actual: 2
  617. Expected: 1
  618. [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
  619. [ RUN ] FatalFailureTest.NonfatalFailureInSubroutine
  620. (expecting a failure on false)
  621. gtest_output_test_.cc:#: Failure
  622. Value of: false
  623. Actual: false
  624. Expected: true
  625. [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
  626. [----------] 3 tests from FatalFailureTest (? ms total)
  627. [----------] 1 test from LoggingTest
  628. [ RUN ] LoggingTest.InterleavingLoggingAndAssertions
  629. (expecting 2 failures on (3) >= (a[i]))
  630. i == 0
  631. i == 1
  632. gtest_output_test_.cc:#: Failure
  633. Expected: (3) >= (a[i]), actual: 3 vs 9
  634. i == 2
  635. i == 3
  636. gtest_output_test_.cc:#: Failure
  637. Expected: (3) >= (a[i]), actual: 3 vs 6
  638. [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
  639. [----------] 1 test from LoggingTest (? ms total)
  640. [----------] Global test environment tear-down
  641. [==========] 4 tests from 2 test cases ran. (? ms total)
  642. [ PASSED ] 0 tests.
  643. [ FAILED ] 4 tests, listed below:
  644. [ FAILED ] FatalFailureTest.FatalFailureInSubroutine
  645. [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
  646. [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
  647. [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
  648. 4 FAILED TESTS
  649. YOU HAVE 1 DISABLED TEST
  650. Note: Google Test filter = *DISABLED_*
  651. [==========] Running 1 test from 1 test case.
  652. [----------] Global test environment set-up.
  653. [----------] 1 test from DisabledTestsWarningTest
  654. [ RUN ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
  655. [ OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
  656. [----------] Global test environment tear-down
  657. [==========] 1 test from 1 test case ran.
  658. [ PASSED ] 1 test.
  659. Note: Google Test filter = PassingTest.*
  660. Note: This is test shard 1 of 2.
  661. [==========] Running 1 test from 1 test case.
  662. [----------] Global test environment set-up.
  663. [----------] 1 test from PassingTest
  664. [ RUN ] PassingTest.PassingTest2
  665. [ OK ] PassingTest.PassingTest2
  666. [----------] Global test environment tear-down
  667. [==========] 1 test from 1 test case ran.
  668. [ PASSED ] 1 test.
  669. YOU HAVE 1 DISABLED TEST