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