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