1 The non-test part of the code is expected to have 2 failures.
3 googletest-output-test_.cc:#: Failure
9 googletest-output-test_.cc:#: Failure
10 Expected equality of these values:
13 Stack trace: (omitted)
15 \e[0;32m[==========]
\e[mRunning 76 tests from 34 test cases.
16 \e[0;32m[----------]
\e[mGlobal test environment set-up.
17 FooEnvironment::SetUp() called.
18 BarEnvironment::SetUp() called.
19 \e[0;32m[----------]
\e[m1 test from ADeathTest
20 \e[0;32m[ RUN ]
\e[mADeathTest.ShouldRunFirst
21 \e[0;32m[ OK ]
\e[mADeathTest.ShouldRunFirst
22 \e[0;32m[----------]
\e[m1 test from ATypedDeathTest/0, where TypeParam = int
23 \e[0;32m[ RUN ]
\e[mATypedDeathTest/0.ShouldRunFirst
24 \e[0;32m[ OK ]
\e[mATypedDeathTest/0.ShouldRunFirst
25 \e[0;32m[----------]
\e[m1 test from ATypedDeathTest/1, where TypeParam = double
26 \e[0;32m[ RUN ]
\e[mATypedDeathTest/1.ShouldRunFirst
27 \e[0;32m[ OK ]
\e[mATypedDeathTest/1.ShouldRunFirst
28 \e[0;32m[----------]
\e[m1 test from My/ATypeParamDeathTest/0, where TypeParam = int
29 \e[0;32m[ RUN ]
\e[mMy/ATypeParamDeathTest/0.ShouldRunFirst
30 \e[0;32m[ OK ]
\e[mMy/ATypeParamDeathTest/0.ShouldRunFirst
31 \e[0;32m[----------]
\e[m1 test from My/ATypeParamDeathTest/1, where TypeParam = double
32 \e[0;32m[ RUN ]
\e[mMy/ATypeParamDeathTest/1.ShouldRunFirst
33 \e[0;32m[ OK ]
\e[mMy/ATypeParamDeathTest/1.ShouldRunFirst
34 \e[0;32m[----------]
\e[m2 tests from PassingTest
35 \e[0;32m[ RUN ]
\e[mPassingTest.PassingTest1
36 \e[0;32m[ OK ]
\e[mPassingTest.PassingTest1
37 \e[0;32m[ RUN ]
\e[mPassingTest.PassingTest2
38 \e[0;32m[ OK ]
\e[mPassingTest.PassingTest2
39 \e[0;32m[----------]
\e[m2 tests from NonfatalFailureTest
40 \e[0;32m[ RUN ]
\e[mNonfatalFailureTest.EscapesStringOperands
41 googletest-output-test_.cc:#: Failure
42 Expected equality of these values:
46 Which is: "actual \"string\""
47 Stack trace: (omitted)
49 googletest-output-test_.cc:#: Failure
50 Expected equality of these values:
54 Which is: "actual \"string\""
55 Stack trace: (omitted)
57 \e[0;31m[ FAILED ]
\e[mNonfatalFailureTest.EscapesStringOperands
58 \e[0;32m[ RUN ]
\e[mNonfatalFailureTest.DiffForLongStrings
59 googletest-output-test_.cc:#: Failure
60 Expected equality of these values:
62 Which is: "\"Line\0 1\"\nLine 2"
69 Stack trace: (omitted)
71 \e[0;31m[ FAILED ]
\e[mNonfatalFailureTest.DiffForLongStrings
72 \e[0;32m[----------]
\e[m3 tests from FatalFailureTest
73 \e[0;32m[ RUN ]
\e[mFatalFailureTest.FatalFailureInSubroutine
74 (expecting a failure that x should be 1)
75 googletest-output-test_.cc:#: Failure
76 Expected equality of these values:
80 Stack trace: (omitted)
82 \e[0;31m[ FAILED ]
\e[mFatalFailureTest.FatalFailureInSubroutine
83 \e[0;32m[ RUN ]
\e[mFatalFailureTest.FatalFailureInNestedSubroutine
84 (expecting a failure that x should be 1)
85 googletest-output-test_.cc:#: Failure
86 Expected equality of these values:
90 Stack trace: (omitted)
92 \e[0;31m[ FAILED ]
\e[mFatalFailureTest.FatalFailureInNestedSubroutine
93 \e[0;32m[ RUN ]
\e[mFatalFailureTest.NonfatalFailureInSubroutine
94 (expecting a failure on false)
95 googletest-output-test_.cc:#: Failure
99 Stack trace: (omitted)
101 \e[0;31m[ FAILED ]
\e[mFatalFailureTest.NonfatalFailureInSubroutine
102 \e[0;32m[----------]
\e[m1 test from LoggingTest
103 \e[0;32m[ RUN ]
\e[mLoggingTest.InterleavingLoggingAndAssertions
104 (expecting 2 failures on (3) >= (a[i]))
107 googletest-output-test_.cc:#: Failure
108 Expected: (3) >= (a[i]), actual: 3 vs 9
109 Stack trace: (omitted)
113 googletest-output-test_.cc:#: Failure
114 Expected: (3) >= (a[i]), actual: 3 vs 6
115 Stack trace: (omitted)
117 \e[0;31m[ FAILED ]
\e[mLoggingTest.InterleavingLoggingAndAssertions
118 \e[0;32m[----------]
\e[m7 tests from SCOPED_TRACETest
119 \e[0;32m[ RUN ]
\e[mSCOPED_TRACETest.AcceptedValues
120 googletest-output-test_.cc:#: Failure
122 Just checking that all these values work fine.
124 googletest-output-test_.cc:#: (null)
125 googletest-output-test_.cc:#: 1337
126 googletest-output-test_.cc:#: std::string
127 googletest-output-test_.cc:#: literal string
128 Stack trace: (omitted)
130 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.AcceptedValues
131 \e[0;32m[ RUN ]
\e[mSCOPED_TRACETest.ObeysScopes
133 googletest-output-test_.cc:#: Failure
135 This failure is expected, and shouldn't have a trace.
136 Stack trace: (omitted)
138 googletest-output-test_.cc:#: Failure
140 This failure is expected, and should have a trace.
142 googletest-output-test_.cc:#: Expected trace
143 Stack trace: (omitted)
145 googletest-output-test_.cc:#: Failure
147 This failure is expected, and shouldn't have a trace.
148 Stack trace: (omitted)
150 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.ObeysScopes
151 \e[0;32m[ RUN ]
\e[mSCOPED_TRACETest.WorksInLoop
153 googletest-output-test_.cc:#: Failure
154 Expected equality of these values:
159 googletest-output-test_.cc:#: i = 1
160 Stack trace: (omitted)
162 googletest-output-test_.cc:#: Failure
163 Expected equality of these values:
168 googletest-output-test_.cc:#: i = 2
169 Stack trace: (omitted)
171 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.WorksInLoop
172 \e[0;32m[ RUN ]
\e[mSCOPED_TRACETest.WorksInSubroutine
174 googletest-output-test_.cc:#: Failure
175 Expected equality of these values:
180 googletest-output-test_.cc:#: n = 1
181 Stack trace: (omitted)
183 googletest-output-test_.cc:#: Failure
184 Expected equality of these values:
189 googletest-output-test_.cc:#: n = 2
190 Stack trace: (omitted)
192 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.WorksInSubroutine
193 \e[0;32m[ RUN ]
\e[mSCOPED_TRACETest.CanBeNested
195 googletest-output-test_.cc:#: Failure
196 Expected equality of these values:
201 googletest-output-test_.cc:#: n = 2
202 googletest-output-test_.cc:#:
203 Stack trace: (omitted)
205 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.CanBeNested
206 \e[0;32m[ RUN ]
\e[mSCOPED_TRACETest.CanBeRepeated
208 googletest-output-test_.cc:#: Failure
210 This failure is expected, and should contain trace point A.
212 googletest-output-test_.cc:#: A
213 Stack trace: (omitted)
215 googletest-output-test_.cc:#: Failure
217 This failure is expected, and should contain trace point A and B.
219 googletest-output-test_.cc:#: B
220 googletest-output-test_.cc:#: A
221 Stack trace: (omitted)
223 googletest-output-test_.cc:#: Failure
225 This failure is expected, and should contain trace point A, B, and C.
227 googletest-output-test_.cc:#: C
228 googletest-output-test_.cc:#: B
229 googletest-output-test_.cc:#: A
230 Stack trace: (omitted)
232 googletest-output-test_.cc:#: Failure
234 This failure is expected, and should contain trace point A, B, and D.
236 googletest-output-test_.cc:#: D
237 googletest-output-test_.cc:#: B
238 googletest-output-test_.cc:#: A
239 Stack trace: (omitted)
241 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.CanBeRepeated
242 \e[0;32m[ RUN ]
\e[mSCOPED_TRACETest.WorksConcurrently
243 (expecting 6 failures)
244 googletest-output-test_.cc:#: Failure
246 Expected failure #1 (in thread B, only trace B alive).
248 googletest-output-test_.cc:#: Trace B
249 Stack trace: (omitted)
251 googletest-output-test_.cc:#: Failure
253 Expected failure #2 (in thread A, trace A & B both alive).
255 googletest-output-test_.cc:#: Trace A
256 Stack trace: (omitted)
258 googletest-output-test_.cc:#: Failure
260 Expected failure #3 (in thread B, trace A & B both alive).
262 googletest-output-test_.cc:#: Trace B
263 Stack trace: (omitted)
265 googletest-output-test_.cc:#: Failure
267 Expected failure #4 (in thread B, only trace A alive).
268 Stack trace: (omitted)
270 googletest-output-test_.cc:#: Failure
272 Expected failure #5 (in thread A, only trace A alive).
274 googletest-output-test_.cc:#: Trace A
275 Stack trace: (omitted)
277 googletest-output-test_.cc:#: Failure
279 Expected failure #6 (in thread A, no trace alive).
280 Stack trace: (omitted)
282 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.WorksConcurrently
283 \e[0;32m[----------]
\e[m1 test from ScopedTraceTest
284 \e[0;32m[ RUN ]
\e[mScopedTraceTest.WithExplicitFileAndLine
285 googletest-output-test_.cc:#: Failure
287 Check that the trace is attached to a particular location.
289 explicit_file.cc:123: expected trace message
290 Stack trace: (omitted)
292 \e[0;31m[ FAILED ]
\e[mScopedTraceTest.WithExplicitFileAndLine
293 \e[0;32m[----------]
\e[m1 test from NonFatalFailureInFixtureConstructorTest
294 \e[0;32m[ RUN ]
\e[mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
295 (expecting 5 failures)
296 googletest-output-test_.cc:#: Failure
298 Expected failure #1, in the test fixture c'tor.
299 Stack trace: (omitted)
301 googletest-output-test_.cc:#: Failure
303 Expected failure #2, in SetUp().
304 Stack trace: (omitted)
306 googletest-output-test_.cc:#: Failure
308 Expected failure #3, in the test body.
309 Stack trace: (omitted)
311 googletest-output-test_.cc:#: Failure
313 Expected failure #4, in TearDown.
314 Stack trace: (omitted)
316 googletest-output-test_.cc:#: Failure
318 Expected failure #5, in the test fixture d'tor.
319 Stack trace: (omitted)
321 \e[0;31m[ FAILED ]
\e[mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
322 \e[0;32m[----------]
\e[m1 test from FatalFailureInFixtureConstructorTest
323 \e[0;32m[ RUN ]
\e[mFatalFailureInFixtureConstructorTest.FailureInConstructor
324 (expecting 2 failures)
325 googletest-output-test_.cc:#: Failure
327 Expected failure #1, in the test fixture c'tor.
328 Stack trace: (omitted)
330 googletest-output-test_.cc:#: Failure
332 Expected failure #2, in the test fixture d'tor.
333 Stack trace: (omitted)
335 \e[0;31m[ FAILED ]
\e[mFatalFailureInFixtureConstructorTest.FailureInConstructor
336 \e[0;32m[----------]
\e[m1 test from NonFatalFailureInSetUpTest
337 \e[0;32m[ RUN ]
\e[mNonFatalFailureInSetUpTest.FailureInSetUp
338 (expecting 4 failures)
339 googletest-output-test_.cc:#: Failure
341 Expected failure #1, in SetUp().
342 Stack trace: (omitted)
344 googletest-output-test_.cc:#: Failure
346 Expected failure #2, in the test function.
347 Stack trace: (omitted)
349 googletest-output-test_.cc:#: Failure
351 Expected failure #3, in TearDown().
352 Stack trace: (omitted)
354 googletest-output-test_.cc:#: Failure
356 Expected failure #4, in the test fixture d'tor.
357 Stack trace: (omitted)
359 \e[0;31m[ FAILED ]
\e[mNonFatalFailureInSetUpTest.FailureInSetUp
360 \e[0;32m[----------]
\e[m1 test from FatalFailureInSetUpTest
361 \e[0;32m[ RUN ]
\e[mFatalFailureInSetUpTest.FailureInSetUp
362 (expecting 3 failures)
363 googletest-output-test_.cc:#: Failure
365 Expected failure #1, in SetUp().
366 Stack trace: (omitted)
368 googletest-output-test_.cc:#: Failure
370 Expected failure #2, in TearDown().
371 Stack trace: (omitted)
373 googletest-output-test_.cc:#: Failure
375 Expected failure #3, in the test fixture d'tor.
376 Stack trace: (omitted)
378 \e[0;31m[ FAILED ]
\e[mFatalFailureInSetUpTest.FailureInSetUp
379 \e[0;32m[----------]
\e[m1 test from AddFailureAtTest
380 \e[0;32m[ RUN ]
\e[mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
383 Expected failure in foo.cc
384 Stack trace: (omitted)
386 \e[0;31m[ FAILED ]
\e[mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
387 \e[0;32m[----------]
\e[m4 tests from MixedUpTestCaseTest
388 \e[0;32m[ RUN ]
\e[mMixedUpTestCaseTest.FirstTestFromNamespaceFoo
389 \e[0;32m[ OK ]
\e[mMixedUpTestCaseTest.FirstTestFromNamespaceFoo
390 \e[0;32m[ RUN ]
\e[mMixedUpTestCaseTest.SecondTestFromNamespaceFoo
391 \e[0;32m[ OK ]
\e[mMixedUpTestCaseTest.SecondTestFromNamespaceFoo
392 \e[0;32m[ RUN ]
\e[mMixedUpTestCaseTest.ThisShouldFail
395 All tests in the same test case must use the same test fixture
396 class. However, in test case MixedUpTestCaseTest,
397 you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
398 using two different test fixture classes. This can happen if
399 the two classes are from different namespaces or translation
400 units and have the same name. You should probably rename one
401 of the classes to put the tests into different test cases.
402 Stack trace: (omitted)
404 \e[0;31m[ FAILED ]
\e[mMixedUpTestCaseTest.ThisShouldFail
405 \e[0;32m[ RUN ]
\e[mMixedUpTestCaseTest.ThisShouldFailToo
408 All tests in the same test case must use the same test fixture
409 class. However, in test case MixedUpTestCaseTest,
410 you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
411 using two different test fixture classes. This can happen if
412 the two classes are from different namespaces or translation
413 units and have the same name. You should probably rename one
414 of the classes to put the tests into different test cases.
415 Stack trace: (omitted)
417 \e[0;31m[ FAILED ]
\e[mMixedUpTestCaseTest.ThisShouldFailToo
418 \e[0;32m[----------]
\e[m2 tests from MixedUpTestCaseWithSameTestNameTest
419 \e[0;32m[ RUN ]
\e[mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
420 \e[0;32m[ OK ]
\e[mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
421 \e[0;32m[ RUN ]
\e[mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
424 All tests in the same test case must use the same test fixture
425 class. However, in test case MixedUpTestCaseWithSameTestNameTest,
426 you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
427 using two different test fixture classes. This can happen if
428 the two classes are from different namespaces or translation
429 units and have the same name. You should probably rename one
430 of the classes to put the tests into different test cases.
431 Stack trace: (omitted)
433 \e[0;31m[ FAILED ]
\e[mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
434 \e[0;32m[----------]
\e[m2 tests from TEST_F_before_TEST_in_same_test_case
435 \e[0;32m[ RUN ]
\e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
436 \e[0;32m[ OK ]
\e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
437 \e[0;32m[ RUN ]
\e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
440 All tests in the same test case must use the same test fixture
441 class, so mixing TEST_F and TEST in the same test case is
442 illegal. In test case TEST_F_before_TEST_in_same_test_case,
443 test DefinedUsingTEST_F is defined using TEST_F but
444 test DefinedUsingTESTAndShouldFail is defined using TEST. You probably
445 want to change the TEST to TEST_F or move it to another test
447 Stack trace: (omitted)
449 \e[0;31m[ FAILED ]
\e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
450 \e[0;32m[----------]
\e[m2 tests from TEST_before_TEST_F_in_same_test_case
451 \e[0;32m[ RUN ]
\e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
452 \e[0;32m[ OK ]
\e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
453 \e[0;32m[ RUN ]
\e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
456 All tests in the same test case must use the same test fixture
457 class, so mixing TEST_F and TEST in the same test case is
458 illegal. In test case TEST_before_TEST_F_in_same_test_case,
459 test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
460 test DefinedUsingTEST is defined using TEST. You probably
461 want to change the TEST to TEST_F or move it to another test
463 Stack trace: (omitted)
465 \e[0;31m[ FAILED ]
\e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
466 \e[0;32m[----------]
\e[m8 tests from ExpectNonfatalFailureTest
467 \e[0;32m[ RUN ]
\e[mExpectNonfatalFailureTest.CanReferenceGlobalVariables
468 \e[0;32m[ OK ]
\e[mExpectNonfatalFailureTest.CanReferenceGlobalVariables
469 \e[0;32m[ RUN ]
\e[mExpectNonfatalFailureTest.CanReferenceLocalVariables
470 \e[0;32m[ OK ]
\e[mExpectNonfatalFailureTest.CanReferenceLocalVariables
471 \e[0;32m[ RUN ]
\e[mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
472 \e[0;32m[ OK ]
\e[mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
473 \e[0;32m[ RUN ]
\e[mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
474 (expecting a failure)
476 Expected: 1 non-fatal failure
478 Stack trace: (omitted)
480 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
481 \e[0;32m[ RUN ]
\e[mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
482 (expecting a failure)
484 Expected: 1 non-fatal failure
486 googletest-output-test_.cc:#: Non-fatal failure:
488 Expected non-fatal failure 1.
489 Stack trace: (omitted)
492 googletest-output-test_.cc:#: Non-fatal failure:
494 Expected non-fatal failure 2.
495 Stack trace: (omitted)
498 Stack trace: (omitted)
500 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
501 \e[0;32m[ RUN ]
\e[mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
502 (expecting a failure)
504 Expected: 1 non-fatal failure
506 googletest-output-test_.cc:#: Fatal failure:
508 Expected fatal failure.
509 Stack trace: (omitted)
512 Stack trace: (omitted)
514 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
515 \e[0;32m[ RUN ]
\e[mExpectNonfatalFailureTest.FailsWhenStatementReturns
516 (expecting a failure)
518 Expected: 1 non-fatal failure
520 Stack trace: (omitted)
522 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenStatementReturns
523 \e[0;32m[ RUN ]
\e[mExpectNonfatalFailureTest.FailsWhenStatementThrows
524 (expecting a failure)
526 Expected: 1 non-fatal failure
528 Stack trace: (omitted)
530 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenStatementThrows
531 \e[0;32m[----------]
\e[m8 tests from ExpectFatalFailureTest
532 \e[0;32m[ RUN ]
\e[mExpectFatalFailureTest.CanReferenceGlobalVariables
533 \e[0;32m[ OK ]
\e[mExpectFatalFailureTest.CanReferenceGlobalVariables
534 \e[0;32m[ RUN ]
\e[mExpectFatalFailureTest.CanReferenceLocalStaticVariables
535 \e[0;32m[ OK ]
\e[mExpectFatalFailureTest.CanReferenceLocalStaticVariables
536 \e[0;32m[ RUN ]
\e[mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
537 \e[0;32m[ OK ]
\e[mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
538 \e[0;32m[ RUN ]
\e[mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
539 (expecting a failure)
541 Expected: 1 fatal failure
543 Stack trace: (omitted)
545 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
546 \e[0;32m[ RUN ]
\e[mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
547 (expecting a failure)
549 Expected: 1 fatal failure
551 googletest-output-test_.cc:#: Fatal failure:
553 Expected fatal failure.
554 Stack trace: (omitted)
557 googletest-output-test_.cc:#: Fatal failure:
559 Expected fatal failure.
560 Stack trace: (omitted)
563 Stack trace: (omitted)
565 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
566 \e[0;32m[ RUN ]
\e[mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
567 (expecting a failure)
569 Expected: 1 fatal failure
571 googletest-output-test_.cc:#: Non-fatal failure:
573 Expected non-fatal failure.
574 Stack trace: (omitted)
577 Stack trace: (omitted)
579 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
580 \e[0;32m[ RUN ]
\e[mExpectFatalFailureTest.FailsWhenStatementReturns
581 (expecting a failure)
583 Expected: 1 fatal failure
585 Stack trace: (omitted)
587 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenStatementReturns
588 \e[0;32m[ RUN ]
\e[mExpectFatalFailureTest.FailsWhenStatementThrows
589 (expecting a failure)
591 Expected: 1 fatal failure
593 Stack trace: (omitted)
595 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenStatementThrows
596 \e[0;32m[----------]
\e[m2 tests from TypedTest/0, where TypeParam = int
597 \e[0;32m[ RUN ]
\e[mTypedTest/0.Success
598 \e[0;32m[ OK ]
\e[mTypedTest/0.Success
599 \e[0;32m[ RUN ]
\e[mTypedTest/0.Failure
600 googletest-output-test_.cc:#: Failure
601 Expected equality of these values:
606 Stack trace: (omitted)
608 \e[0;31m[ FAILED ]
\e[mTypedTest/0.Failure, where TypeParam = int
609 \e[0;32m[----------]
\e[m2 tests from TypedTestWithNames/char0, where TypeParam = char
610 \e[0;32m[ RUN ]
\e[mTypedTestWithNames/char0.Success
611 \e[0;32m[ OK ]
\e[mTypedTestWithNames/char0.Success
612 \e[0;32m[ RUN ]
\e[mTypedTestWithNames/char0.Failure
613 googletest-output-test_.cc:#: Failure
615 Stack trace: (omitted)
617 \e[0;31m[ FAILED ]
\e[mTypedTestWithNames/char0.Failure, where TypeParam = char
618 \e[0;32m[----------]
\e[m2 tests from TypedTestWithNames/int1, where TypeParam = int
619 \e[0;32m[ RUN ]
\e[mTypedTestWithNames/int1.Success
620 \e[0;32m[ OK ]
\e[mTypedTestWithNames/int1.Success
621 \e[0;32m[ RUN ]
\e[mTypedTestWithNames/int1.Failure
622 googletest-output-test_.cc:#: Failure
624 Stack trace: (omitted)
626 \e[0;31m[ FAILED ]
\e[mTypedTestWithNames/int1.Failure, where TypeParam = int
627 \e[0;32m[----------]
\e[m2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
628 \e[0;32m[ RUN ]
\e[mUnsigned/TypedTestP/0.Success
629 \e[0;32m[ OK ]
\e[mUnsigned/TypedTestP/0.Success
630 \e[0;32m[ RUN ]
\e[mUnsigned/TypedTestP/0.Failure
631 googletest-output-test_.cc:#: Failure
632 Expected equality of these values:
638 Stack trace: (omitted)
640 \e[0;31m[ FAILED ]
\e[mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
641 \e[0;32m[----------]
\e[m2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
642 \e[0;32m[ RUN ]
\e[mUnsigned/TypedTestP/1.Success
643 \e[0;32m[ OK ]
\e[mUnsigned/TypedTestP/1.Success
644 \e[0;32m[ RUN ]
\e[mUnsigned/TypedTestP/1.Failure
645 googletest-output-test_.cc:#: Failure
646 Expected equality of these values:
652 Stack trace: (omitted)
654 \e[0;31m[ FAILED ]
\e[mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
655 \e[0;32m[----------]
\e[m2 tests from UnsignedCustomName/TypedTestP/unsignedChar0, where TypeParam = unsigned char
656 \e[0;32m[ RUN ]
\e[mUnsignedCustomName/TypedTestP/unsignedChar0.Success
657 \e[0;32m[ OK ]
\e[mUnsignedCustomName/TypedTestP/unsignedChar0.Success
658 \e[0;32m[ RUN ]
\e[mUnsignedCustomName/TypedTestP/unsignedChar0.Failure
659 googletest-output-test_.cc:#: Failure
660 Expected equality of these values:
666 Stack trace: (omitted)
668 \e[0;31m[ FAILED ]
\e[mUnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
669 \e[0;32m[----------]
\e[m2 tests from UnsignedCustomName/TypedTestP/unsignedInt1, where TypeParam = unsigned int
670 \e[0;32m[ RUN ]
\e[mUnsignedCustomName/TypedTestP/unsignedInt1.Success
671 \e[0;32m[ OK ]
\e[mUnsignedCustomName/TypedTestP/unsignedInt1.Success
672 \e[0;32m[ RUN ]
\e[mUnsignedCustomName/TypedTestP/unsignedInt1.Failure
673 googletest-output-test_.cc:#: Failure
674 Expected equality of these values:
680 Stack trace: (omitted)
682 \e[0;31m[ FAILED ]
\e[mUnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
683 \e[0;32m[----------]
\e[m4 tests from ExpectFailureTest
684 \e[0;32m[ RUN ]
\e[mExpectFailureTest.ExpectFatalFailure
685 (expecting 1 failure)
687 Expected: 1 fatal failure
689 googletest-output-test_.cc:#: Success:
691 Stack trace: (omitted)
694 Stack trace: (omitted)
696 (expecting 1 failure)
698 Expected: 1 fatal failure
700 googletest-output-test_.cc:#: Non-fatal failure:
702 Expected non-fatal failure.
703 Stack trace: (omitted)
706 Stack trace: (omitted)
708 (expecting 1 failure)
710 Expected: 1 fatal failure containing "Some other fatal failure expected."
712 googletest-output-test_.cc:#: Fatal failure:
714 Expected fatal failure.
715 Stack trace: (omitted)
718 Stack trace: (omitted)
720 \e[0;31m[ FAILED ]
\e[mExpectFailureTest.ExpectFatalFailure
721 \e[0;32m[ RUN ]
\e[mExpectFailureTest.ExpectNonFatalFailure
722 (expecting 1 failure)
724 Expected: 1 non-fatal failure
726 googletest-output-test_.cc:#: Success:
728 Stack trace: (omitted)
731 Stack trace: (omitted)
733 (expecting 1 failure)
735 Expected: 1 non-fatal failure
737 googletest-output-test_.cc:#: Fatal failure:
739 Expected fatal failure.
740 Stack trace: (omitted)
743 Stack trace: (omitted)
745 (expecting 1 failure)
747 Expected: 1 non-fatal failure containing "Some other non-fatal failure."
749 googletest-output-test_.cc:#: Non-fatal failure:
751 Expected non-fatal failure.
752 Stack trace: (omitted)
755 Stack trace: (omitted)
757 \e[0;31m[ FAILED ]
\e[mExpectFailureTest.ExpectNonFatalFailure
758 \e[0;32m[ RUN ]
\e[mExpectFailureTest.ExpectFatalFailureOnAllThreads
759 (expecting 1 failure)
761 Expected: 1 fatal failure
763 googletest-output-test_.cc:#: Success:
765 Stack trace: (omitted)
768 Stack trace: (omitted)
770 (expecting 1 failure)
772 Expected: 1 fatal failure
774 googletest-output-test_.cc:#: Non-fatal failure:
776 Expected non-fatal failure.
777 Stack trace: (omitted)
780 Stack trace: (omitted)
782 (expecting 1 failure)
784 Expected: 1 fatal failure containing "Some other fatal failure expected."
786 googletest-output-test_.cc:#: Fatal failure:
788 Expected fatal failure.
789 Stack trace: (omitted)
792 Stack trace: (omitted)
794 \e[0;31m[ FAILED ]
\e[mExpectFailureTest.ExpectFatalFailureOnAllThreads
795 \e[0;32m[ RUN ]
\e[mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
796 (expecting 1 failure)
798 Expected: 1 non-fatal failure
800 googletest-output-test_.cc:#: Success:
802 Stack trace: (omitted)
805 Stack trace: (omitted)
807 (expecting 1 failure)
809 Expected: 1 non-fatal failure
811 googletest-output-test_.cc:#: Fatal failure:
813 Expected fatal failure.
814 Stack trace: (omitted)
817 Stack trace: (omitted)
819 (expecting 1 failure)
821 Expected: 1 non-fatal failure containing "Some other non-fatal failure."
823 googletest-output-test_.cc:#: Non-fatal failure:
825 Expected non-fatal failure.
826 Stack trace: (omitted)
829 Stack trace: (omitted)
831 \e[0;31m[ FAILED ]
\e[mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
832 \e[0;32m[----------]
\e[m2 tests from ExpectFailureWithThreadsTest
833 \e[0;32m[ RUN ]
\e[mExpectFailureWithThreadsTest.ExpectFatalFailure
834 (expecting 2 failures)
835 googletest-output-test_.cc:#: Failure
837 Expected fatal failure.
838 Stack trace: (omitted)
841 Expected: 1 fatal failure
843 Stack trace: (omitted)
845 \e[0;31m[ FAILED ]
\e[mExpectFailureWithThreadsTest.ExpectFatalFailure
846 \e[0;32m[ RUN ]
\e[mExpectFailureWithThreadsTest.ExpectNonFatalFailure
847 (expecting 2 failures)
848 googletest-output-test_.cc:#: Failure
850 Expected non-fatal failure.
851 Stack trace: (omitted)
854 Expected: 1 non-fatal failure
856 Stack trace: (omitted)
858 \e[0;31m[ FAILED ]
\e[mExpectFailureWithThreadsTest.ExpectNonFatalFailure
859 \e[0;32m[----------]
\e[m1 test from ScopedFakeTestPartResultReporterTest
860 \e[0;32m[ RUN ]
\e[mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
861 (expecting 2 failures)
862 googletest-output-test_.cc:#: Failure
864 Expected fatal failure.
865 Stack trace: (omitted)
867 googletest-output-test_.cc:#: Failure
869 Expected non-fatal failure.
870 Stack trace: (omitted)
872 \e[0;31m[ FAILED ]
\e[mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
873 \e[0;32m[----------]
\e[m1 test from PrintingFailingParams/FailingParamTest
874 \e[0;32m[ RUN ]
\e[mPrintingFailingParams/FailingParamTest.Fails/0
875 googletest-output-test_.cc:#: Failure
876 Expected equality of these values:
880 Stack trace: (omitted)
882 \e[0;31m[ FAILED ]
\e[mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
883 \e[0;32m[----------]
\e[m2 tests from PrintingStrings/ParamTest
884 \e[0;32m[ RUN ]
\e[mPrintingStrings/ParamTest.Success/a
885 \e[0;32m[ OK ]
\e[mPrintingStrings/ParamTest.Success/a
886 \e[0;32m[ RUN ]
\e[mPrintingStrings/ParamTest.Failure/a
887 googletest-output-test_.cc:#: Failure
888 Expected equality of these values:
893 Stack trace: (omitted)
895 \e[0;31m[ FAILED ]
\e[mPrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
896 \e[0;32m[----------]
\e[mGlobal test environment tear-down
897 BarEnvironment::TearDown() called.
898 googletest-output-test_.cc:#: Failure
900 Expected non-fatal failure.
901 Stack trace: (omitted)
903 FooEnvironment::TearDown() called.
904 googletest-output-test_.cc:#: Failure
906 Expected fatal failure.
907 Stack trace: (omitted)
909 \e[0;32m[==========]
\e[m76 tests from 34 test cases ran.
910 \e[0;32m[ PASSED ]
\e[m26 tests.
911 \e[0;31m[ FAILED ]
\e[m50 tests, listed below:
912 \e[0;31m[ FAILED ]
\e[mNonfatalFailureTest.EscapesStringOperands
913 \e[0;31m[ FAILED ]
\e[mNonfatalFailureTest.DiffForLongStrings
914 \e[0;31m[ FAILED ]
\e[mFatalFailureTest.FatalFailureInSubroutine
915 \e[0;31m[ FAILED ]
\e[mFatalFailureTest.FatalFailureInNestedSubroutine
916 \e[0;31m[ FAILED ]
\e[mFatalFailureTest.NonfatalFailureInSubroutine
917 \e[0;31m[ FAILED ]
\e[mLoggingTest.InterleavingLoggingAndAssertions
918 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.AcceptedValues
919 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.ObeysScopes
920 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.WorksInLoop
921 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.WorksInSubroutine
922 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.CanBeNested
923 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.CanBeRepeated
924 \e[0;31m[ FAILED ]
\e[mSCOPED_TRACETest.WorksConcurrently
925 \e[0;31m[ FAILED ]
\e[mScopedTraceTest.WithExplicitFileAndLine
926 \e[0;31m[ FAILED ]
\e[mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
927 \e[0;31m[ FAILED ]
\e[mFatalFailureInFixtureConstructorTest.FailureInConstructor
928 \e[0;31m[ FAILED ]
\e[mNonFatalFailureInSetUpTest.FailureInSetUp
929 \e[0;31m[ FAILED ]
\e[mFatalFailureInSetUpTest.FailureInSetUp
930 \e[0;31m[ FAILED ]
\e[mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
931 \e[0;31m[ FAILED ]
\e[mMixedUpTestCaseTest.ThisShouldFail
932 \e[0;31m[ FAILED ]
\e[mMixedUpTestCaseTest.ThisShouldFailToo
933 \e[0;31m[ FAILED ]
\e[mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
934 \e[0;31m[ FAILED ]
\e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
935 \e[0;31m[ FAILED ]
\e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
936 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
937 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
938 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
939 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenStatementReturns
940 \e[0;31m[ FAILED ]
\e[mExpectNonfatalFailureTest.FailsWhenStatementThrows
941 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
942 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
943 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
944 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenStatementReturns
945 \e[0;31m[ FAILED ]
\e[mExpectFatalFailureTest.FailsWhenStatementThrows
946 \e[0;31m[ FAILED ]
\e[mTypedTest/0.Failure, where TypeParam = int
947 \e[0;31m[ FAILED ]
\e[mTypedTestWithNames/char0.Failure, where TypeParam = char
948 \e[0;31m[ FAILED ]
\e[mTypedTestWithNames/int1.Failure, where TypeParam = int
949 \e[0;31m[ FAILED ]
\e[mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
950 \e[0;31m[ FAILED ]
\e[mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
951 \e[0;31m[ FAILED ]
\e[mUnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
952 \e[0;31m[ FAILED ]
\e[mUnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
953 \e[0;31m[ FAILED ]
\e[mExpectFailureTest.ExpectFatalFailure
954 \e[0;31m[ FAILED ]
\e[mExpectFailureTest.ExpectNonFatalFailure
955 \e[0;31m[ FAILED ]
\e[mExpectFailureTest.ExpectFatalFailureOnAllThreads
956 \e[0;31m[ FAILED ]
\e[mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
957 \e[0;31m[ FAILED ]
\e[mExpectFailureWithThreadsTest.ExpectFatalFailure
958 \e[0;31m[ FAILED ]
\e[mExpectFailureWithThreadsTest.ExpectNonFatalFailure
959 \e[0;31m[ FAILED ]
\e[mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
960 \e[0;31m[ FAILED ]
\e[mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
961 \e[0;31m[ FAILED ]
\e[mPrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
964 \e[0;33m YOU HAVE 1 DISABLED TEST
966 \e[mNote: Google Test filter = FatalFailureTest.*:LoggingTest.*
967 [==========] Running 4 tests from 2 test cases.
968 [----------] Global test environment set-up.
969 [----------] 3 tests from FatalFailureTest
970 [ RUN ] FatalFailureTest.FatalFailureInSubroutine
971 (expecting a failure that x should be 1)
972 googletest-output-test_.cc:#: Failure
973 Expected equality of these values:
977 Stack trace: (omitted)
979 [ FAILED ] FatalFailureTest.FatalFailureInSubroutine (? ms)
980 [ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine
981 (expecting a failure that x should be 1)
982 googletest-output-test_.cc:#: Failure
983 Expected equality of these values:
987 Stack trace: (omitted)
989 [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
990 [ RUN ] FatalFailureTest.NonfatalFailureInSubroutine
991 (expecting a failure on false)
992 googletest-output-test_.cc:#: Failure
996 Stack trace: (omitted)
998 [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
999 [----------] 3 tests from FatalFailureTest (? ms total)
1001 [----------] 1 test from LoggingTest
1002 [ RUN ] LoggingTest.InterleavingLoggingAndAssertions
1003 (expecting 2 failures on (3) >= (a[i]))
1006 googletest-output-test_.cc:#: Failure
1007 Expected: (3) >= (a[i]), actual: 3 vs 9
1008 Stack trace: (omitted)
1012 googletest-output-test_.cc:#: Failure
1013 Expected: (3) >= (a[i]), actual: 3 vs 6
1014 Stack trace: (omitted)
1016 [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
1017 [----------] 1 test from LoggingTest (? ms total)
1019 [----------] Global test environment tear-down
1020 [==========] 4 tests from 2 test cases ran. (? ms total)
1022 [ FAILED ] 4 tests, listed below:
1023 [ FAILED ] FatalFailureTest.FatalFailureInSubroutine
1024 [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
1025 [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
1026 [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
1029 Note: Google Test filter = *DISABLED_*
1030 [==========] Running 1 test from 1 test case.
1031 [----------] Global test environment set-up.
1032 [----------] 1 test from DisabledTestsWarningTest
1033 [ RUN ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
1034 [ OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
1035 [----------] Global test environment tear-down
1036 [==========] 1 test from 1 test case ran.
1038 Note: Google Test filter = PassingTest.*
1039 Note: This is test shard 2 of 2.
1040 [==========] Running 1 test from 1 test case.
1041 [----------] Global test environment set-up.
1042 [----------] 1 test from PassingTest
1043 [ RUN ] PassingTest.PassingTest2
1044 [ OK ] PassingTest.PassingTest2
1045 [----------] Global test environment tear-down
1046 [==========] 1 test from 1 test case ran.