1
The non-test part of the code is expected to have 2 failures.
3
gtest_output_test_.cc:#: Failure
7
gtest_output_test_.cc:#: Failure
10
[0;32m[==========] [mRunning 60 tests from 25 test cases.
11
[0;32m[----------] [mGlobal test environment set-up.
12
FooEnvironment::SetUp() called.
13
BarEnvironment::SetUp() called.
14
[0;32m[----------] [m1 test from ADeathTest
15
[0;32m[ RUN ] [mADeathTest.ShouldRunFirst
16
[0;32m[ OK ] [mADeathTest.ShouldRunFirst
17
[0;32m[----------] [m1 test from ATypedDeathTest/0, where TypeParam = int
18
[0;32m[ RUN ] [mATypedDeathTest/0.ShouldRunFirst
19
[0;32m[ OK ] [mATypedDeathTest/0.ShouldRunFirst
20
[0;32m[----------] [m1 test from ATypedDeathTest/1, where TypeParam = double
21
[0;32m[ RUN ] [mATypedDeathTest/1.ShouldRunFirst
22
[0;32m[ OK ] [mATypedDeathTest/1.ShouldRunFirst
23
[0;32m[----------] [m1 test from My/ATypeParamDeathTest/0, where TypeParam = int
24
[0;32m[ RUN ] [mMy/ATypeParamDeathTest/0.ShouldRunFirst
25
[0;32m[ OK ] [mMy/ATypeParamDeathTest/0.ShouldRunFirst
26
[0;32m[----------] [m1 test from My/ATypeParamDeathTest/1, where TypeParam = double
27
[0;32m[ RUN ] [mMy/ATypeParamDeathTest/1.ShouldRunFirst
28
[0;32m[ OK ] [mMy/ATypeParamDeathTest/1.ShouldRunFirst
29
[0;32m[----------] [m2 tests from PassingTest
30
[0;32m[ RUN ] [mPassingTest.PassingTest1
31
[0;32m[ OK ] [mPassingTest.PassingTest1
32
[0;32m[ RUN ] [mPassingTest.PassingTest2
33
[0;32m[ OK ] [mPassingTest.PassingTest2
34
[0;32m[----------] [m3 tests from FatalFailureTest
35
[0;32m[ RUN ] [mFatalFailureTest.FatalFailureInSubroutine
36
(expecting a failure that x should be 1)
37
gtest_output_test_.cc:#: Failure
41
[0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInSubroutine
42
[0;32m[ RUN ] [mFatalFailureTest.FatalFailureInNestedSubroutine
43
(expecting a failure that x should be 1)
44
gtest_output_test_.cc:#: Failure
48
[0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInNestedSubroutine
49
[0;32m[ RUN ] [mFatalFailureTest.NonfatalFailureInSubroutine
50
(expecting a failure on false)
51
gtest_output_test_.cc:#: Failure
55
[0;31m[ FAILED ] [mFatalFailureTest.NonfatalFailureInSubroutine
56
[0;32m[----------] [m1 test from LoggingTest
57
[0;32m[ RUN ] [mLoggingTest.InterleavingLoggingAndAssertions
58
(expecting 2 failures on (3) >= (a[i]))
61
gtest_output_test_.cc:#: Failure
62
Expected: (3) >= (a[i]), actual: 3 vs 9
65
gtest_output_test_.cc:#: Failure
66
Expected: (3) >= (a[i]), actual: 3 vs 6
67
[0;31m[ FAILED ] [mLoggingTest.InterleavingLoggingAndAssertions
68
[0;32m[----------] [m6 tests from SCOPED_TRACETest
69
[0;32m[ RUN ] [mSCOPED_TRACETest.ObeysScopes
71
gtest_output_test_.cc:#: Failure
73
This failure is expected, and shouldn't have a trace.
74
gtest_output_test_.cc:#: Failure
76
This failure is expected, and should have a trace.
78
gtest_output_test_.cc:#: Expected trace
79
gtest_output_test_.cc:#: Failure
81
This failure is expected, and shouldn't have a trace.
82
[0;31m[ FAILED ] [mSCOPED_TRACETest.ObeysScopes
83
[0;32m[ RUN ] [mSCOPED_TRACETest.WorksInLoop
85
gtest_output_test_.cc:#: Failure
90
gtest_output_test_.cc:#: i = 1
91
gtest_output_test_.cc:#: Failure
96
gtest_output_test_.cc:#: i = 2
97
[0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInLoop
98
[0;32m[ RUN ] [mSCOPED_TRACETest.WorksInSubroutine
100
gtest_output_test_.cc:#: Failure
105
gtest_output_test_.cc:#: n = 1
106
gtest_output_test_.cc:#: Failure
111
gtest_output_test_.cc:#: n = 2
112
[0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInSubroutine
113
[0;32m[ RUN ] [mSCOPED_TRACETest.CanBeNested
115
gtest_output_test_.cc:#: Failure
120
gtest_output_test_.cc:#: n = 2
121
gtest_output_test_.cc:#:
122
[0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeNested
123
[0;32m[ RUN ] [mSCOPED_TRACETest.CanBeRepeated
125
gtest_output_test_.cc:#: Failure
127
This failure is expected, and should contain trace point A.
129
gtest_output_test_.cc:#: A
130
gtest_output_test_.cc:#: Failure
132
This failure is expected, and should contain trace point A and B.
134
gtest_output_test_.cc:#: B
135
gtest_output_test_.cc:#: A
136
gtest_output_test_.cc:#: Failure
138
This failure is expected, and should contain trace point A, B, and C.
140
gtest_output_test_.cc:#: C
141
gtest_output_test_.cc:#: B
142
gtest_output_test_.cc:#: A
143
gtest_output_test_.cc:#: Failure
145
This failure is expected, and should contain trace point A, B, and D.
147
gtest_output_test_.cc:#: D
148
gtest_output_test_.cc:#: B
149
gtest_output_test_.cc:#: A
150
[0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeRepeated
151
[0;32m[ RUN ] [mSCOPED_TRACETest.WorksConcurrently
152
(expecting 6 failures)
153
gtest_output_test_.cc:#: Failure
155
Expected failure #1 (in thread B, only trace B alive).
157
gtest_output_test_.cc:#: Trace B
158
gtest_output_test_.cc:#: Failure
160
Expected failure #2 (in thread A, trace A & B both alive).
162
gtest_output_test_.cc:#: Trace A
163
gtest_output_test_.cc:#: Failure
165
Expected failure #3 (in thread B, trace A & B both alive).
167
gtest_output_test_.cc:#: Trace B
168
gtest_output_test_.cc:#: Failure
170
Expected failure #4 (in thread B, only trace A alive).
171
gtest_output_test_.cc:#: Failure
173
Expected failure #5 (in thread A, only trace A alive).
175
gtest_output_test_.cc:#: Trace A
176
gtest_output_test_.cc:#: Failure
178
Expected failure #6 (in thread A, no trace alive).
179
[0;31m[ FAILED ] [mSCOPED_TRACETest.WorksConcurrently
180
[0;32m[----------] [m1 test from NonFatalFailureInFixtureConstructorTest
181
[0;32m[ RUN ] [mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
182
(expecting 5 failures)
183
gtest_output_test_.cc:#: Failure
185
Expected failure #1, in the test fixture c'tor.
186
gtest_output_test_.cc:#: Failure
188
Expected failure #2, in SetUp().
189
gtest_output_test_.cc:#: Failure
191
Expected failure #3, in the test body.
192
gtest_output_test_.cc:#: Failure
194
Expected failure #4, in TearDown.
195
gtest_output_test_.cc:#: Failure
197
Expected failure #5, in the test fixture d'tor.
198
[0;31m[ FAILED ] [mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
199
[0;32m[----------] [m1 test from FatalFailureInFixtureConstructorTest
200
[0;32m[ RUN ] [mFatalFailureInFixtureConstructorTest.FailureInConstructor
201
(expecting 2 failures)
202
gtest_output_test_.cc:#: Failure
204
Expected failure #1, in the test fixture c'tor.
205
gtest_output_test_.cc:#: Failure
207
Expected failure #2, in the test fixture d'tor.
208
[0;31m[ FAILED ] [mFatalFailureInFixtureConstructorTest.FailureInConstructor
209
[0;32m[----------] [m1 test from NonFatalFailureInSetUpTest
210
[0;32m[ RUN ] [mNonFatalFailureInSetUpTest.FailureInSetUp
211
(expecting 4 failures)
212
gtest_output_test_.cc:#: Failure
214
Expected failure #1, in SetUp().
215
gtest_output_test_.cc:#: Failure
217
Expected failure #2, in the test function.
218
gtest_output_test_.cc:#: Failure
220
Expected failure #3, in TearDown().
221
gtest_output_test_.cc:#: Failure
223
Expected failure #4, in the test fixture d'tor.
224
[0;31m[ FAILED ] [mNonFatalFailureInSetUpTest.FailureInSetUp
225
[0;32m[----------] [m1 test from FatalFailureInSetUpTest
226
[0;32m[ RUN ] [mFatalFailureInSetUpTest.FailureInSetUp
227
(expecting 3 failures)
228
gtest_output_test_.cc:#: Failure
230
Expected failure #1, in SetUp().
231
gtest_output_test_.cc:#: Failure
233
Expected failure #2, in TearDown().
234
gtest_output_test_.cc:#: Failure
236
Expected failure #3, in the test fixture d'tor.
237
[0;31m[ FAILED ] [mFatalFailureInSetUpTest.FailureInSetUp
238
[0;32m[----------] [m4 tests from MixedUpTestCaseTest
239
[0;32m[ RUN ] [mMixedUpTestCaseTest.FirstTestFromNamespaceFoo
240
[0;32m[ OK ] [mMixedUpTestCaseTest.FirstTestFromNamespaceFoo
241
[0;32m[ RUN ] [mMixedUpTestCaseTest.SecondTestFromNamespaceFoo
242
[0;32m[ OK ] [mMixedUpTestCaseTest.SecondTestFromNamespaceFoo
243
[0;32m[ RUN ] [mMixedUpTestCaseTest.ThisShouldFail
246
All tests in the same test case must use the same test fixture
247
class. However, in test case MixedUpTestCaseTest,
248
you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
249
using two different test fixture classes. This can happen if
250
the two classes are from different namespaces or translation
251
units and have the same name. You should probably rename one
252
of the classes to put the tests into different test cases.
253
[0;31m[ FAILED ] [mMixedUpTestCaseTest.ThisShouldFail
254
[0;32m[ RUN ] [mMixedUpTestCaseTest.ThisShouldFailToo
257
All tests in the same test case must use the same test fixture
258
class. However, in test case MixedUpTestCaseTest,
259
you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
260
using two different test fixture classes. This can happen if
261
the two classes are from different namespaces or translation
262
units and have the same name. You should probably rename one
263
of the classes to put the tests into different test cases.
264
[0;31m[ FAILED ] [mMixedUpTestCaseTest.ThisShouldFailToo
265
[0;32m[----------] [m2 tests from MixedUpTestCaseWithSameTestNameTest
266
[0;32m[ RUN ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
267
[0;32m[ OK ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
268
[0;32m[ RUN ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
271
All tests in the same test case must use the same test fixture
272
class. However, in test case MixedUpTestCaseWithSameTestNameTest,
273
you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
274
using two different test fixture classes. This can happen if
275
the two classes are from different namespaces or translation
276
units and have the same name. You should probably rename one
277
of the classes to put the tests into different test cases.
278
[0;31m[ FAILED ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
279
[0;32m[----------] [m2 tests from TEST_F_before_TEST_in_same_test_case
280
[0;32m[ RUN ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
281
[0;32m[ OK ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
282
[0;32m[ RUN ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
285
All tests in the same test case must use the same test fixture
286
class, so mixing TEST_F and TEST in the same test case is
287
illegal. In test case TEST_F_before_TEST_in_same_test_case,
288
test DefinedUsingTEST_F is defined using TEST_F but
289
test DefinedUsingTESTAndShouldFail is defined using TEST. You probably
290
want to change the TEST to TEST_F or move it to another test
292
[0;31m[ FAILED ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
293
[0;32m[----------] [m2 tests from TEST_before_TEST_F_in_same_test_case
294
[0;32m[ RUN ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
295
[0;32m[ OK ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
296
[0;32m[ RUN ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
299
All tests in the same test case must use the same test fixture
300
class, so mixing TEST_F and TEST in the same test case is
301
illegal. In test case TEST_before_TEST_F_in_same_test_case,
302
test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
303
test DefinedUsingTEST is defined using TEST. You probably
304
want to change the TEST to TEST_F or move it to another test
306
[0;31m[ FAILED ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
307
[0;32m[----------] [m8 tests from ExpectNonfatalFailureTest
308
[0;32m[ RUN ] [mExpectNonfatalFailureTest.CanReferenceGlobalVariables
309
[0;32m[ OK ] [mExpectNonfatalFailureTest.CanReferenceGlobalVariables
310
[0;32m[ RUN ] [mExpectNonfatalFailureTest.CanReferenceLocalVariables
311
[0;32m[ OK ] [mExpectNonfatalFailureTest.CanReferenceLocalVariables
312
[0;32m[ RUN ] [mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
313
[0;32m[ OK ] [mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
314
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
315
(expecting a failure)
317
Expected: 1 non-fatal failure
319
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
320
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
321
(expecting a failure)
323
Expected: 1 non-fatal failure
325
gtest_output_test_.cc:#: Non-fatal failure:
327
Expected non-fatal failure 1.
329
gtest_output_test_.cc:#: Non-fatal failure:
331
Expected non-fatal failure 2.
333
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
334
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
335
(expecting a failure)
337
Expected: 1 non-fatal failure
339
gtest_output_test_.cc:#: Fatal failure:
341
Expected fatal failure.
343
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
344
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenStatementReturns
345
(expecting a failure)
347
Expected: 1 non-fatal failure
349
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementReturns
350
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenStatementThrows
351
(expecting a failure)
353
Expected: 1 non-fatal failure
355
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementThrows
356
[0;32m[----------] [m8 tests from ExpectFatalFailureTest
357
[0;32m[ RUN ] [mExpectFatalFailureTest.CanReferenceGlobalVariables
358
[0;32m[ OK ] [mExpectFatalFailureTest.CanReferenceGlobalVariables
359
[0;32m[ RUN ] [mExpectFatalFailureTest.CanReferenceLocalStaticVariables
360
[0;32m[ OK ] [mExpectFatalFailureTest.CanReferenceLocalStaticVariables
361
[0;32m[ RUN ] [mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
362
[0;32m[ OK ] [mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
363
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
364
(expecting a failure)
366
Expected: 1 fatal failure
368
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
369
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
370
(expecting a failure)
372
Expected: 1 fatal failure
374
gtest_output_test_.cc:#: Fatal failure:
376
Expected fatal failure.
378
gtest_output_test_.cc:#: Fatal failure:
380
Expected fatal failure.
382
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
383
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
384
(expecting a failure)
386
Expected: 1 fatal failure
388
gtest_output_test_.cc:#: Non-fatal failure:
390
Expected non-fatal failure.
392
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
393
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenStatementReturns
394
(expecting a failure)
396
Expected: 1 fatal failure
398
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementReturns
399
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenStatementThrows
400
(expecting a failure)
402
Expected: 1 fatal failure
404
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementThrows
405
[0;32m[----------] [m2 tests from TypedTest/0, where TypeParam = int
406
[0;32m[ RUN ] [mTypedTest/0.Success
407
[0;32m[ OK ] [mTypedTest/0.Success
408
[0;32m[ RUN ] [mTypedTest/0.Failure
409
gtest_output_test_.cc:#: Failure
410
Value of: TypeParam()
414
[0;31m[ FAILED ] [mTypedTest/0.Failure
415
[0;32m[----------] [m2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
416
[0;32m[ RUN ] [mUnsigned/TypedTestP/0.Success
417
[0;32m[ OK ] [mUnsigned/TypedTestP/0.Success
418
[0;32m[ RUN ] [mUnsigned/TypedTestP/0.Failure
419
gtest_output_test_.cc:#: Failure
420
Value of: TypeParam()
425
[0;31m[ FAILED ] [mUnsigned/TypedTestP/0.Failure
426
[0;32m[----------] [m2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
427
[0;32m[ RUN ] [mUnsigned/TypedTestP/1.Success
428
[0;32m[ OK ] [mUnsigned/TypedTestP/1.Success
429
[0;32m[ RUN ] [mUnsigned/TypedTestP/1.Failure
430
gtest_output_test_.cc:#: Failure
431
Value of: TypeParam()
436
[0;31m[ FAILED ] [mUnsigned/TypedTestP/1.Failure
437
[0;32m[----------] [m4 tests from ExpectFailureTest
438
[0;32m[ RUN ] [mExpectFailureTest.ExpectFatalFailure
439
(expecting 1 failure)
441
Expected: 1 fatal failure
443
gtest_output_test_.cc:#: Success:
446
(expecting 1 failure)
448
Expected: 1 fatal failure
450
gtest_output_test_.cc:#: Non-fatal failure:
452
Expected non-fatal failure.
454
(expecting 1 failure)
456
Expected: 1 fatal failure containing "Some other fatal failure expected."
458
gtest_output_test_.cc:#: Fatal failure:
460
Expected fatal failure.
462
[0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailure
463
[0;32m[ RUN ] [mExpectFailureTest.ExpectNonFatalFailure
464
(expecting 1 failure)
466
Expected: 1 non-fatal failure
468
gtest_output_test_.cc:#: Success:
471
(expecting 1 failure)
473
Expected: 1 non-fatal failure
475
gtest_output_test_.cc:#: Fatal failure:
477
Expected fatal failure.
479
(expecting 1 failure)
481
Expected: 1 non-fatal failure containing "Some other non-fatal failure."
483
gtest_output_test_.cc:#: Non-fatal failure:
485
Expected non-fatal failure.
487
[0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailure
488
[0;32m[ RUN ] [mExpectFailureTest.ExpectFatalFailureOnAllThreads
489
(expecting 1 failure)
491
Expected: 1 fatal failure
493
gtest_output_test_.cc:#: Success:
496
(expecting 1 failure)
498
Expected: 1 fatal failure
500
gtest_output_test_.cc:#: Non-fatal failure:
502
Expected non-fatal failure.
504
(expecting 1 failure)
506
Expected: 1 fatal failure containing "Some other fatal failure expected."
508
gtest_output_test_.cc:#: Fatal failure:
510
Expected fatal failure.
512
[0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailureOnAllThreads
513
[0;32m[ RUN ] [mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
514
(expecting 1 failure)
516
Expected: 1 non-fatal failure
518
gtest_output_test_.cc:#: Success:
521
(expecting 1 failure)
523
Expected: 1 non-fatal failure
525
gtest_output_test_.cc:#: Fatal failure:
527
Expected fatal failure.
529
(expecting 1 failure)
531
Expected: 1 non-fatal failure containing "Some other non-fatal failure."
533
gtest_output_test_.cc:#: Non-fatal failure:
535
Expected non-fatal failure.
537
[0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
538
[0;32m[----------] [m2 tests from ExpectFailureWithThreadsTest
539
[0;32m[ RUN ] [mExpectFailureWithThreadsTest.ExpectFatalFailure
540
(expecting 2 failures)
541
gtest_output_test_.cc:#: Failure
543
Expected fatal failure.
545
Expected: 1 fatal failure
547
[0;31m[ FAILED ] [mExpectFailureWithThreadsTest.ExpectFatalFailure
548
[0;32m[ RUN ] [mExpectFailureWithThreadsTest.ExpectNonFatalFailure
549
(expecting 2 failures)
550
gtest_output_test_.cc:#: Failure
552
Expected non-fatal failure.
554
Expected: 1 non-fatal failure
556
[0;31m[ FAILED ] [mExpectFailureWithThreadsTest.ExpectNonFatalFailure
557
[0;32m[----------] [m1 test from ScopedFakeTestPartResultReporterTest
558
[0;32m[ RUN ] [mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
559
(expecting 2 failures)
560
gtest_output_test_.cc:#: Failure
562
Expected fatal failure.
563
gtest_output_test_.cc:#: Failure
565
Expected non-fatal failure.
566
[0;31m[ FAILED ] [mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
567
[0;32m[----------] [mGlobal test environment tear-down
568
BarEnvironment::TearDown() called.
569
gtest_output_test_.cc:#: Failure
571
Expected non-fatal failure.
572
FooEnvironment::TearDown() called.
573
gtest_output_test_.cc:#: Failure
575
Expected fatal failure.
576
[0;32m[==========] [m60 tests from 25 test cases ran.
577
[0;32m[ PASSED ] [m21 tests.
578
[0;31m[ FAILED ] [m39 tests, listed below:
579
[0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInSubroutine
580
[0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInNestedSubroutine
581
[0;31m[ FAILED ] [mFatalFailureTest.NonfatalFailureInSubroutine
582
[0;31m[ FAILED ] [mLoggingTest.InterleavingLoggingAndAssertions
583
[0;31m[ FAILED ] [mSCOPED_TRACETest.ObeysScopes
584
[0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInLoop
585
[0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInSubroutine
586
[0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeNested
587
[0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeRepeated
588
[0;31m[ FAILED ] [mSCOPED_TRACETest.WorksConcurrently
589
[0;31m[ FAILED ] [mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
590
[0;31m[ FAILED ] [mFatalFailureInFixtureConstructorTest.FailureInConstructor
591
[0;31m[ FAILED ] [mNonFatalFailureInSetUpTest.FailureInSetUp
592
[0;31m[ FAILED ] [mFatalFailureInSetUpTest.FailureInSetUp
593
[0;31m[ FAILED ] [mMixedUpTestCaseTest.ThisShouldFail
594
[0;31m[ FAILED ] [mMixedUpTestCaseTest.ThisShouldFailToo
595
[0;31m[ FAILED ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
596
[0;31m[ FAILED ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
597
[0;31m[ FAILED ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
598
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
599
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
600
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
601
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementReturns
602
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementThrows
603
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
604
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
605
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
606
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementReturns
607
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementThrows
608
[0;31m[ FAILED ] [mTypedTest/0.Failure, where TypeParam = int
609
[0;31m[ FAILED ] [mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
610
[0;31m[ FAILED ] [mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
611
[0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailure
612
[0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailure
613
[0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailureOnAllThreads
614
[0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
615
[0;31m[ FAILED ] [mExpectFailureWithThreadsTest.ExpectFatalFailure
616
[0;31m[ FAILED ] [mExpectFailureWithThreadsTest.ExpectNonFatalFailure
617
[0;31m[ FAILED ] [mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
620
[0;33m YOU HAVE 1 DISABLED TEST
622
[mNote: Google Test filter = FatalFailureTest.*:LoggingTest.*
623
[==========] Running 4 tests from 2 test cases.
624
[----------] Global test environment set-up.
625
[----------] 3 tests from FatalFailureTest
626
[ RUN ] FatalFailureTest.FatalFailureInSubroutine
627
(expecting a failure that x should be 1)
628
gtest_output_test_.cc:#: Failure
632
[ FAILED ] FatalFailureTest.FatalFailureInSubroutine (? ms)
633
[ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine
634
(expecting a failure that x should be 1)
635
gtest_output_test_.cc:#: Failure
639
[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
640
[ RUN ] FatalFailureTest.NonfatalFailureInSubroutine
641
(expecting a failure on false)
642
gtest_output_test_.cc:#: Failure
646
[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
647
[----------] 3 tests from FatalFailureTest (? ms total)
649
[----------] 1 test from LoggingTest
650
[ RUN ] LoggingTest.InterleavingLoggingAndAssertions
651
(expecting 2 failures on (3) >= (a[i]))
654
gtest_output_test_.cc:#: Failure
655
Expected: (3) >= (a[i]), actual: 3 vs 9
658
gtest_output_test_.cc:#: Failure
659
Expected: (3) >= (a[i]), actual: 3 vs 6
660
[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
661
[----------] 1 test from LoggingTest (? ms total)
663
[----------] Global test environment tear-down
664
[==========] 4 tests from 2 test cases ran. (? ms total)
666
[ FAILED ] 4 tests, listed below:
667
[ FAILED ] FatalFailureTest.FatalFailureInSubroutine
668
[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
669
[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
670
[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
673
YOU HAVE 1 DISABLED TEST
675
Note: Google Test filter = *DISABLED_*
676
[==========] Running 1 test from 1 test case.
677
[----------] Global test environment set-up.
678
[----------] 1 test from DisabledTestsWarningTest
679
[ RUN ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
680
[ OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
681
[----------] Global test environment tear-down
682
[==========] 1 test from 1 test case ran.
684
Note: Google Test filter = PassingTest.*
685
Note: This is test shard 1 of 2.
686
[==========] Running 1 test from 1 test case.
687
[----------] Global test environment set-up.
688
[----------] 1 test from PassingTest
689
[ RUN ] PassingTest.PassingTest2
690
[ OK ] PassingTest.PassingTest2
691
[----------] Global test environment tear-down
692
[==========] 1 test from 1 test case ran.
695
YOU HAVE 1 DISABLED TEST