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