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