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 56 tests from 23 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[----------] [m5 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[----------] [m1 test from NonFatalFailureInFixtureConstructorTest
152
[0;32m[ RUN ] [mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
153
(expecting 5 failures)
154
gtest_output_test_.cc:#: Failure
156
Expected failure #1, in the test fixture c'tor.
157
gtest_output_test_.cc:#: Failure
159
Expected failure #2, in SetUp().
160
gtest_output_test_.cc:#: Failure
162
Expected failure #3, in the test body.
163
gtest_output_test_.cc:#: Failure
165
Expected failure #4, in TearDown.
166
gtest_output_test_.cc:#: Failure
168
Expected failure #5, in the test fixture d'tor.
169
[0;31m[ FAILED ] [mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
170
[0;32m[----------] [m1 test from FatalFailureInFixtureConstructorTest
171
[0;32m[ RUN ] [mFatalFailureInFixtureConstructorTest.FailureInConstructor
172
(expecting 2 failures)
173
gtest_output_test_.cc:#: Failure
175
Expected failure #1, in the test fixture c'tor.
176
gtest_output_test_.cc:#: Failure
178
Expected failure #2, in the test fixture d'tor.
179
[0;31m[ FAILED ] [mFatalFailureInFixtureConstructorTest.FailureInConstructor
180
[0;32m[----------] [m1 test from NonFatalFailureInSetUpTest
181
[0;32m[ RUN ] [mNonFatalFailureInSetUpTest.FailureInSetUp
182
(expecting 4 failures)
183
gtest_output_test_.cc:#: Failure
185
Expected failure #1, in SetUp().
186
gtest_output_test_.cc:#: Failure
188
Expected failure #2, in the test function.
189
gtest_output_test_.cc:#: Failure
191
Expected failure #3, in TearDown().
192
gtest_output_test_.cc:#: Failure
194
Expected failure #4, in the test fixture d'tor.
195
[0;31m[ FAILED ] [mNonFatalFailureInSetUpTest.FailureInSetUp
196
[0;32m[----------] [m1 test from FatalFailureInSetUpTest
197
[0;32m[ RUN ] [mFatalFailureInSetUpTest.FailureInSetUp
198
(expecting 3 failures)
199
gtest_output_test_.cc:#: Failure
201
Expected failure #1, in SetUp().
202
gtest_output_test_.cc:#: Failure
204
Expected failure #2, in TearDown().
205
gtest_output_test_.cc:#: Failure
207
Expected failure #3, in the test fixture d'tor.
208
[0;31m[ FAILED ] [mFatalFailureInSetUpTest.FailureInSetUp
209
[0;32m[----------] [m4 tests from MixedUpTestCaseTest
210
[0;32m[ RUN ] [mMixedUpTestCaseTest.FirstTestFromNamespaceFoo
211
[0;32m[ OK ] [mMixedUpTestCaseTest.FirstTestFromNamespaceFoo
212
[0;32m[ RUN ] [mMixedUpTestCaseTest.SecondTestFromNamespaceFoo
213
[0;32m[ OK ] [mMixedUpTestCaseTest.SecondTestFromNamespaceFoo
214
[0;32m[ RUN ] [mMixedUpTestCaseTest.ThisShouldFail
217
All tests in the same test case must use the same test fixture
218
class. However, in test case MixedUpTestCaseTest,
219
you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
220
using two different test fixture classes. This can happen if
221
the two classes are from different namespaces or translation
222
units and have the same name. You should probably rename one
223
of the classes to put the tests into different test cases.
224
[0;31m[ FAILED ] [mMixedUpTestCaseTest.ThisShouldFail
225
[0;32m[ RUN ] [mMixedUpTestCaseTest.ThisShouldFailToo
228
All tests in the same test case must use the same test fixture
229
class. However, in test case MixedUpTestCaseTest,
230
you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
231
using two different test fixture classes. This can happen if
232
the two classes are from different namespaces or translation
233
units and have the same name. You should probably rename one
234
of the classes to put the tests into different test cases.
235
[0;31m[ FAILED ] [mMixedUpTestCaseTest.ThisShouldFailToo
236
[0;32m[----------] [m2 tests from MixedUpTestCaseWithSameTestNameTest
237
[0;32m[ RUN ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
238
[0;32m[ OK ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
239
[0;32m[ RUN ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
242
All tests in the same test case must use the same test fixture
243
class. However, in test case MixedUpTestCaseWithSameTestNameTest,
244
you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
245
using two different test fixture classes. This can happen if
246
the two classes are from different namespaces or translation
247
units and have the same name. You should probably rename one
248
of the classes to put the tests into different test cases.
249
[0;31m[ FAILED ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
250
[0;32m[----------] [m2 tests from TEST_F_before_TEST_in_same_test_case
251
[0;32m[ RUN ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
252
[0;32m[ OK ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
253
[0;32m[ RUN ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
256
All tests in the same test case must use the same test fixture
257
class, so mixing TEST_F and TEST in the same test case is
258
illegal. In test case TEST_F_before_TEST_in_same_test_case,
259
test DefinedUsingTEST_F is defined using TEST_F but
260
test DefinedUsingTESTAndShouldFail is defined using TEST. You probably
261
want to change the TEST to TEST_F or move it to another test
263
[0;31m[ FAILED ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
264
[0;32m[----------] [m2 tests from TEST_before_TEST_F_in_same_test_case
265
[0;32m[ RUN ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
266
[0;32m[ OK ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
267
[0;32m[ RUN ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
270
All tests in the same test case must use the same test fixture
271
class, so mixing TEST_F and TEST in the same test case is
272
illegal. In test case TEST_before_TEST_F_in_same_test_case,
273
test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
274
test DefinedUsingTEST is defined using TEST. You probably
275
want to change the TEST to TEST_F or move it to another test
277
[0;31m[ FAILED ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
278
[0;32m[----------] [m8 tests from ExpectNonfatalFailureTest
279
[0;32m[ RUN ] [mExpectNonfatalFailureTest.CanReferenceGlobalVariables
280
[0;32m[ OK ] [mExpectNonfatalFailureTest.CanReferenceGlobalVariables
281
[0;32m[ RUN ] [mExpectNonfatalFailureTest.CanReferenceLocalVariables
282
[0;32m[ OK ] [mExpectNonfatalFailureTest.CanReferenceLocalVariables
283
[0;32m[ RUN ] [mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
284
[0;32m[ OK ] [mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
285
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
286
(expecting a failure)
288
Expected: 1 non-fatal failure
290
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
291
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
292
(expecting a failure)
294
Expected: 1 non-fatal failure
296
gtest_output_test_.cc:#: Non-fatal failure:
298
Expected non-fatal failure 1.
300
gtest_output_test_.cc:#: Non-fatal failure:
302
Expected non-fatal failure 2.
304
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
305
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
306
(expecting a failure)
308
Expected: 1 non-fatal failure
310
gtest_output_test_.cc:#: Fatal failure:
312
Expected fatal failure.
314
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
315
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenStatementReturns
316
(expecting a failure)
318
Expected: 1 non-fatal failure
320
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementReturns
321
[0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenStatementThrows
322
(expecting a failure)
324
Expected: 1 non-fatal failure
326
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementThrows
327
[0;32m[----------] [m8 tests from ExpectFatalFailureTest
328
[0;32m[ RUN ] [mExpectFatalFailureTest.CanReferenceGlobalVariables
329
[0;32m[ OK ] [mExpectFatalFailureTest.CanReferenceGlobalVariables
330
[0;32m[ RUN ] [mExpectFatalFailureTest.CanReferenceLocalStaticVariables
331
[0;32m[ OK ] [mExpectFatalFailureTest.CanReferenceLocalStaticVariables
332
[0;32m[ RUN ] [mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
333
[0;32m[ OK ] [mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
334
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
335
(expecting a failure)
337
Expected: 1 fatal failure
339
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
340
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
341
(expecting a failure)
343
Expected: 1 fatal failure
345
gtest_output_test_.cc:#: Fatal failure:
347
Expected fatal failure.
349
gtest_output_test_.cc:#: Fatal failure:
351
Expected fatal failure.
353
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
354
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
355
(expecting a failure)
357
Expected: 1 fatal failure
359
gtest_output_test_.cc:#: Non-fatal failure:
361
Expected non-fatal failure.
363
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
364
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenStatementReturns
365
(expecting a failure)
367
Expected: 1 fatal failure
369
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementReturns
370
[0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenStatementThrows
371
(expecting a failure)
373
Expected: 1 fatal failure
375
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementThrows
376
[0;32m[----------] [m2 tests from TypedTest/0, where TypeParam = int
377
[0;32m[ RUN ] [mTypedTest/0.Success
378
[0;32m[ OK ] [mTypedTest/0.Success
379
[0;32m[ RUN ] [mTypedTest/0.Failure
380
gtest_output_test_.cc:#: Failure
381
Value of: TypeParam()
385
[0;31m[ FAILED ] [mTypedTest/0.Failure
386
[0;32m[----------] [m2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
387
[0;32m[ RUN ] [mUnsigned/TypedTestP/0.Success
388
[0;32m[ OK ] [mUnsigned/TypedTestP/0.Success
389
[0;32m[ RUN ] [mUnsigned/TypedTestP/0.Failure
390
gtest_output_test_.cc:#: Failure
391
Value of: TypeParam()
396
[0;31m[ FAILED ] [mUnsigned/TypedTestP/0.Failure
397
[0;32m[----------] [m2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
398
[0;32m[ RUN ] [mUnsigned/TypedTestP/1.Success
399
[0;32m[ OK ] [mUnsigned/TypedTestP/1.Success
400
[0;32m[ RUN ] [mUnsigned/TypedTestP/1.Failure
401
gtest_output_test_.cc:#: Failure
402
Value of: TypeParam()
407
[0;31m[ FAILED ] [mUnsigned/TypedTestP/1.Failure
408
[0;32m[----------] [m4 tests from ExpectFailureTest
409
[0;32m[ RUN ] [mExpectFailureTest.ExpectFatalFailure
410
(expecting 1 failure)
412
Expected: 1 fatal failure
414
gtest_output_test_.cc:#: Success:
417
(expecting 1 failure)
419
Expected: 1 fatal failure
421
gtest_output_test_.cc:#: Non-fatal failure:
423
Expected non-fatal failure.
425
(expecting 1 failure)
427
Expected: 1 fatal failure containing "Some other fatal failure expected."
429
gtest_output_test_.cc:#: Fatal failure:
431
Expected fatal failure.
433
[0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailure
434
[0;32m[ RUN ] [mExpectFailureTest.ExpectNonFatalFailure
435
(expecting 1 failure)
437
Expected: 1 non-fatal failure
439
gtest_output_test_.cc:#: Success:
442
(expecting 1 failure)
444
Expected: 1 non-fatal failure
446
gtest_output_test_.cc:#: Fatal failure:
448
Expected fatal failure.
450
(expecting 1 failure)
452
Expected: 1 non-fatal failure containing "Some other non-fatal failure."
454
gtest_output_test_.cc:#: Non-fatal failure:
456
Expected non-fatal failure.
458
[0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailure
459
[0;32m[ RUN ] [mExpectFailureTest.ExpectFatalFailureOnAllThreads
460
(expecting 1 failure)
462
Expected: 1 fatal failure
464
gtest_output_test_.cc:#: Success:
467
(expecting 1 failure)
469
Expected: 1 fatal failure
471
gtest_output_test_.cc:#: Non-fatal failure:
473
Expected non-fatal failure.
475
(expecting 1 failure)
477
Expected: 1 fatal failure containing "Some other fatal failure expected."
479
gtest_output_test_.cc:#: Fatal failure:
481
Expected fatal failure.
483
[0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailureOnAllThreads
484
[0;32m[ RUN ] [mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
485
(expecting 1 failure)
487
Expected: 1 non-fatal failure
489
gtest_output_test_.cc:#: Success:
492
(expecting 1 failure)
494
Expected: 1 non-fatal failure
496
gtest_output_test_.cc:#: Fatal failure:
498
Expected fatal failure.
500
(expecting 1 failure)
502
Expected: 1 non-fatal failure containing "Some other non-fatal failure."
504
gtest_output_test_.cc:#: Non-fatal failure:
506
Expected non-fatal failure.
508
[0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
509
[0;32m[----------] [mGlobal test environment tear-down
510
BarEnvironment::TearDown() called.
511
gtest_output_test_.cc:#: Failure
513
Expected non-fatal failure.
514
FooEnvironment::TearDown() called.
515
gtest_output_test_.cc:#: Failure
517
Expected fatal failure.
518
[0;32m[==========] [m56 tests from 23 test cases ran.
519
[0;32m[ PASSED ] [m21 tests.
520
[0;31m[ FAILED ] [m35 tests, listed below:
521
[0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInSubroutine
522
[0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInNestedSubroutine
523
[0;31m[ FAILED ] [mFatalFailureTest.NonfatalFailureInSubroutine
524
[0;31m[ FAILED ] [mLoggingTest.InterleavingLoggingAndAssertions
525
[0;31m[ FAILED ] [mSCOPED_TRACETest.ObeysScopes
526
[0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInLoop
527
[0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInSubroutine
528
[0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeNested
529
[0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeRepeated
530
[0;31m[ FAILED ] [mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
531
[0;31m[ FAILED ] [mFatalFailureInFixtureConstructorTest.FailureInConstructor
532
[0;31m[ FAILED ] [mNonFatalFailureInSetUpTest.FailureInSetUp
533
[0;31m[ FAILED ] [mFatalFailureInSetUpTest.FailureInSetUp
534
[0;31m[ FAILED ] [mMixedUpTestCaseTest.ThisShouldFail
535
[0;31m[ FAILED ] [mMixedUpTestCaseTest.ThisShouldFailToo
536
[0;31m[ FAILED ] [mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
537
[0;31m[ FAILED ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
538
[0;31m[ FAILED ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
539
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
540
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
541
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
542
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementReturns
543
[0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementThrows
544
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
545
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
546
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
547
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementReturns
548
[0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementThrows
549
[0;31m[ FAILED ] [mTypedTest/0.Failure, where TypeParam = int
550
[0;31m[ FAILED ] [mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
551
[0;31m[ FAILED ] [mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
552
[0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailure
553
[0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailure
554
[0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailureOnAllThreads
555
[0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
558
[0;33m YOU HAVE 1 DISABLED TEST
560
[mNote: Google Test filter = FatalFailureTest.*:LoggingTest.*
561
[==========] Running 4 tests from 2 test cases.
562
[----------] Global test environment set-up.
563
[----------] 3 tests from FatalFailureTest
564
[ RUN ] FatalFailureTest.FatalFailureInSubroutine
565
(expecting a failure that x should be 1)
566
gtest_output_test_.cc:#: Failure
570
[ FAILED ] FatalFailureTest.FatalFailureInSubroutine (? ms)
571
[ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine
572
(expecting a failure that x should be 1)
573
gtest_output_test_.cc:#: Failure
577
[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
578
[ RUN ] FatalFailureTest.NonfatalFailureInSubroutine
579
(expecting a failure on false)
580
gtest_output_test_.cc:#: Failure
584
[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
585
[----------] 3 tests from FatalFailureTest (? ms total)
587
[----------] 1 test from LoggingTest
588
[ RUN ] LoggingTest.InterleavingLoggingAndAssertions
589
(expecting 2 failures on (3) >= (a[i]))
592
gtest_output_test_.cc:#: Failure
593
Expected: (3) >= (a[i]), actual: 3 vs 9
596
gtest_output_test_.cc:#: Failure
597
Expected: (3) >= (a[i]), actual: 3 vs 6
598
[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
599
[----------] 1 test from LoggingTest (? ms total)
601
[----------] Global test environment tear-down
602
[==========] 4 tests from 2 test cases ran. (? ms total)
604
[ FAILED ] 4 tests, listed below:
605
[ FAILED ] FatalFailureTest.FatalFailureInSubroutine
606
[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
607
[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
608
[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
611
YOU HAVE 1 DISABLED TEST
613
Note: Google Test filter = *DISABLED_*
614
[==========] Running 1 test from 1 test case.
615
[----------] Global test environment set-up.
616
[----------] 1 test from DisabledTestsWarningTest
617
[ RUN ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
618
[ OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
619
[----------] Global test environment tear-down
620
[==========] 1 test from 1 test case ran.
622
Note: Google Test filter = PassingTest.*
623
Note: This is test shard 1 of 2.
624
[==========] Running 1 test from 1 test case.
625
[----------] Global test environment set-up.
626
[----------] 1 test from PassingTest
627
[ RUN ] PassingTest.PassingTest2
628
[ OK ] PassingTest.PassingTest2
629
[----------] Global test environment tear-down
630
[==========] 1 test from 1 test case ran.
633
YOU HAVE 1 DISABLED TEST