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