1The non-test part of the code is expected to have 2 failures. 2 3gtest_output_test_.cc:#: error: Value of: false 4 Actual: false 5Expected: true 6gtest_output_test_.cc:#: error: Value of: 3 7Expected: 2 8[==========] Running 57 tests from 26 test cases. 9[----------] Global test environment set-up. 10FooEnvironment::SetUp() called. 11BarEnvironment::SetUp() called. 12[----------] 1 test from ADeathTest 13[ RUN ] ADeathTest.ShouldRunFirst 14[ OK ] ADeathTest.ShouldRunFirst 15[----------] 1 test from ATypedDeathTest/0, where TypeParam = int 16[ RUN ] ATypedDeathTest/0.ShouldRunFirst 17[ OK ] ATypedDeathTest/0.ShouldRunFirst 18[----------] 1 test from ATypedDeathTest/1, where TypeParam = double 19[ RUN ] ATypedDeathTest/1.ShouldRunFirst 20[ OK ] ATypedDeathTest/1.ShouldRunFirst 21[----------] 1 test from My/ATypeParamDeathTest/0, where TypeParam = int 22[ RUN ] My/ATypeParamDeathTest/0.ShouldRunFirst 23[ OK ] My/ATypeParamDeathTest/0.ShouldRunFirst 24[----------] 1 test from My/ATypeParamDeathTest/1, where TypeParam = double 25[ RUN ] My/ATypeParamDeathTest/1.ShouldRunFirst 26[ OK ] My/ATypeParamDeathTest/1.ShouldRunFirst 27[----------] 2 tests from PassingTest 28[ RUN ] PassingTest.PassingTest1 29[ OK ] PassingTest.PassingTest1 30[ RUN ] PassingTest.PassingTest2 31[ OK ] PassingTest.PassingTest2 32[----------] 3 tests from FatalFailureTest 33[ RUN ] FatalFailureTest.FatalFailureInSubroutine 34(expecting a failure that x should be 1) 35gtest_output_test_.cc:#: error: Value of: x 36 Actual: 2 37Expected: 1 38[ FAILED ] FatalFailureTest.FatalFailureInSubroutine 39[ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine 40(expecting a failure that x should be 1) 41gtest_output_test_.cc:#: error: Value of: x 42 Actual: 2 43Expected: 1 44[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine 45[ RUN ] FatalFailureTest.NonfatalFailureInSubroutine 46(expecting a failure on false) 47gtest_output_test_.cc:#: error: Value of: false 48 Actual: false 49Expected: true 50[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine 51[----------] 1 test from LoggingTest 52[ RUN ] LoggingTest.InterleavingLoggingAndAssertions 53(expecting 2 failures on (3) >= (a[i])) 54i == 0 55i == 1 56gtest_output_test_.cc:#: error: Expected: (3) >= (a[i]), actual: 3 vs 9 57i == 2 58i == 3 59gtest_output_test_.cc:#: error: Expected: (3) >= (a[i]), actual: 3 vs 6 60[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions 61[----------] 5 tests from SCOPED_TRACETest 62[ RUN ] SCOPED_TRACETest.ObeysScopes 63(expected to fail) 64gtest_output_test_.cc:#: error: Failed 65This failure is expected, and shouldn't have a trace. 66gtest_output_test_.cc:#: error: Failed 67This failure is expected, and should have a trace. 68Google Test trace: 69gtest_output_test_.cc:#: Expected trace 70gtest_output_test_.cc:#: error: Failed 71This failure is expected, and shouldn't have a trace. 72[ FAILED ] SCOPED_TRACETest.ObeysScopes 73[ RUN ] SCOPED_TRACETest.WorksInLoop 74(expected to fail) 75gtest_output_test_.cc:#: error: Value of: n 76 Actual: 1 77Expected: 2 78Google Test trace: 79gtest_output_test_.cc:#: i = 1 80gtest_output_test_.cc:#: error: Value of: n 81 Actual: 2 82Expected: 1 83Google Test trace: 84gtest_output_test_.cc:#: i = 2 85[ FAILED ] SCOPED_TRACETest.WorksInLoop 86[ RUN ] SCOPED_TRACETest.WorksInSubroutine 87(expected to fail) 88gtest_output_test_.cc:#: error: Value of: n 89 Actual: 1 90Expected: 2 91Google Test trace: 92gtest_output_test_.cc:#: n = 1 93gtest_output_test_.cc:#: error: Value of: n 94 Actual: 2 95Expected: 1 96Google Test trace: 97gtest_output_test_.cc:#: n = 2 98[ FAILED ] SCOPED_TRACETest.WorksInSubroutine 99[ RUN ] SCOPED_TRACETest.CanBeNested 100(expected to fail) 101gtest_output_test_.cc:#: error: Value of: n 102 Actual: 2 103Expected: 1 104Google Test trace: 105gtest_output_test_.cc:#: n = 2 106gtest_output_test_.cc:#: 107[ FAILED ] SCOPED_TRACETest.CanBeNested 108[ RUN ] SCOPED_TRACETest.CanBeRepeated 109(expected to fail) 110gtest_output_test_.cc:#: error: Failed 111This failure is expected, and should contain trace point A. 112Google Test trace: 113gtest_output_test_.cc:#: A 114gtest_output_test_.cc:#: error: Failed 115This failure is expected, and should contain trace point A and B. 116Google Test trace: 117gtest_output_test_.cc:#: B 118gtest_output_test_.cc:#: A 119gtest_output_test_.cc:#: error: Failed 120This failure is expected, and should contain trace point A, B, and C. 121Google Test trace: 122gtest_output_test_.cc:#: C 123gtest_output_test_.cc:#: B 124gtest_output_test_.cc:#: A 125gtest_output_test_.cc:#: error: Failed 126This failure is expected, and should contain trace point A, B, and D. 127Google Test trace: 128gtest_output_test_.cc:#: D 129gtest_output_test_.cc:#: B 130gtest_output_test_.cc:#: A 131[ FAILED ] SCOPED_TRACETest.CanBeRepeated 132[----------] 1 test from NonFatalFailureInFixtureConstructorTest 133[ RUN ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor 134(expecting 5 failures) 135gtest_output_test_.cc:#: error: Failed 136Expected failure #1, in the test fixture c'tor. 137gtest_output_test_.cc:#: error: Failed 138Expected failure #2, in SetUp(). 139gtest_output_test_.cc:#: error: Failed 140Expected failure #3, in the test body. 141gtest_output_test_.cc:#: error: Failed 142Expected failure #4, in TearDown. 143gtest_output_test_.cc:#: error: Failed 144Expected failure #5, in the test fixture d'tor. 145[ FAILED ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor 146[----------] 1 test from FatalFailureInFixtureConstructorTest 147[ RUN ] FatalFailureInFixtureConstructorTest.FailureInConstructor 148(expecting 2 failures) 149gtest_output_test_.cc:#: error: Failed 150Expected failure #1, in the test fixture c'tor. 151gtest_output_test_.cc:#: error: Failed 152Expected failure #2, in the test fixture d'tor. 153[ FAILED ] FatalFailureInFixtureConstructorTest.FailureInConstructor 154[----------] 1 test from NonFatalFailureInSetUpTest 155[ RUN ] NonFatalFailureInSetUpTest.FailureInSetUp 156(expecting 4 failures) 157gtest_output_test_.cc:#: error: Failed 158Expected failure #1, in SetUp(). 159gtest_output_test_.cc:#: error: Failed 160Expected failure #2, in the test function. 161gtest_output_test_.cc:#: error: Failed 162Expected failure #3, in TearDown(). 163gtest_output_test_.cc:#: error: Failed 164Expected failure #4, in the test fixture d'tor. 165[ FAILED ] NonFatalFailureInSetUpTest.FailureInSetUp 166[----------] 1 test from FatalFailureInSetUpTest 167[ RUN ] FatalFailureInSetUpTest.FailureInSetUp 168(expecting 3 failures) 169gtest_output_test_.cc:#: error: Failed 170Expected failure #1, in SetUp(). 171gtest_output_test_.cc:#: error: Failed 172Expected failure #2, in TearDown(). 173gtest_output_test_.cc:#: error: Failed 174Expected failure #3, in the test fixture d'tor. 175[ FAILED ] FatalFailureInSetUpTest.FailureInSetUp 176[----------] 1 test from ExceptionInFixtureCtorTest 177[ RUN ] ExceptionInFixtureCtorTest.ExceptionInFixtureCtor 178(expecting a failure on thrown exception in the test fixture's constructor) 179unknown file: error: Exception thrown with code 0xc0000005 in the test fixture's constructor. 180[----------] 1 test from ExceptionInSetUpTest 181[ RUN ] ExceptionInSetUpTest.ExceptionInSetUp 182(expecting 3 failures) 183unknown file: error: Exception thrown with code 0xc0000005 in SetUp(). 184gtest_output_test_.cc:#: error: Failed 185Expected failure #2, in TearDown(). 186gtest_output_test_.cc:#: error: Failed 187Expected failure #3, in the test fixture d'tor. 188[ FAILED ] ExceptionInSetUpTest.ExceptionInSetUp 189[----------] 1 test from ExceptionInTestFunctionTest 190[ RUN ] ExceptionInTestFunctionTest.SEH 191(expecting 3 failures) 192unknown file: error: Exception thrown with code 0xc0000005 in the test body. 193gtest_output_test_.cc:#: error: Failed 194Expected failure #2, in TearDown(). 195gtest_output_test_.cc:#: error: Failed 196Expected failure #3, in the test fixture d'tor. 197[ FAILED ] ExceptionInTestFunctionTest.SEH 198[----------] 4 tests from MixedUpTestCaseTest 199[ RUN ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo 200[ OK ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo 201[ RUN ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo 202[ OK ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo 203[ RUN ] MixedUpTestCaseTest.ThisShouldFail 204gtest.cc:#: error: Failed 205All tests in the same test case must use the same test fixture 206class. However, in test case MixedUpTestCaseTest, 207you defined test FirstTestFromNamespaceFoo and test ThisShouldFail 208using two different test fixture classes. This can happen if 209the two classes are from different namespaces or translation 210units and have the same name. You should probably rename one 211of the classes to put the tests into different test cases. 212[ FAILED ] MixedUpTestCaseTest.ThisShouldFail 213[ RUN ] MixedUpTestCaseTest.ThisShouldFailToo 214gtest.cc:#: error: Failed 215All tests in the same test case must use the same test fixture 216class. However, in test case MixedUpTestCaseTest, 217you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo 218using two different test fixture classes. This can happen if 219the two classes are from different namespaces or translation 220units and have the same name. You should probably rename one 221of the classes to put the tests into different test cases. 222[ FAILED ] MixedUpTestCaseTest.ThisShouldFailToo 223[----------] 2 tests from MixedUpTestCaseWithSameTestNameTest 224[ RUN ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail 225[ OK ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail 226[ RUN ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail 227gtest.cc:#: error: Failed 228All tests in the same test case must use the same test fixture 229class. However, in test case MixedUpTestCaseWithSameTestNameTest, 230you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail 231using two different test fixture classes. This can happen if 232the two classes are from different namespaces or translation 233units and have the same name. You should probably rename one 234of the classes to put the tests into different test cases. 235[ FAILED ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail 236[----------] 2 tests from TEST_F_before_TEST_in_same_test_case 237[ RUN ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F 238[ OK ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F 239[ RUN ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail 240gtest.cc:#: error: Failed 241All tests in the same test case must use the same test fixture 242class, so mixing TEST_F and TEST in the same test case is 243illegal. In test case TEST_F_before_TEST_in_same_test_case, 244test DefinedUsingTEST_F is defined using TEST_F but 245test DefinedUsingTESTAndShouldFail is defined using TEST. You probably 246want to change the TEST to TEST_F or move it to another test 247case. 248[ FAILED ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail 249[----------] 2 tests from TEST_before_TEST_F_in_same_test_case 250[ RUN ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST 251[ OK ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST 252[ RUN ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail 253gtest.cc:#: error: Failed 254All tests in the same test case must use the same test fixture 255class, so mixing TEST_F and TEST in the same test case is 256illegal. In test case TEST_before_TEST_F_in_same_test_case, 257test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but 258test DefinedUsingTEST is defined using TEST. You probably 259want to change the TEST to TEST_F or move it to another test 260case. 261[ FAILED ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail 262[----------] 7 tests from ExpectNonfatalFailureTest 263[ RUN ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables 264[ OK ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables 265[ RUN ] ExpectNonfatalFailureTest.CanReferenceLocalVariables 266[ OK ] ExpectNonfatalFailureTest.CanReferenceLocalVariables 267[ RUN ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure 268[ OK ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure 269[ RUN ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure 270(expecting a failure) 271gtest.cc:#: error: Expected: 1 non-fatal failure 272 Actual: 0 failures 273[ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure 274[ RUN ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures 275(expecting a failure) 276gtest.cc:#: error: Expected: 1 non-fatal failure 277 Actual: 2 failures 278gtest_output_test_.cc:#: Non-fatal failure: 279Failed 280Expected non-fatal failure 1. 281 282gtest_output_test_.cc:#: Non-fatal failure: 283Failed 284Expected non-fatal failure 2. 285 286[ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures 287[ RUN ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure 288(expecting a failure) 289gtest.cc:#: error: Expected: 1 non-fatal failure 290 Actual: 291gtest_output_test_.cc:#: Fatal failure: 292Failed 293Expected fatal failure. 294 295[ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure 296[ RUN ] ExpectNonfatalFailureTest.FailsWhenStatementReturns 297(expecting a failure) 298gtest.cc:#: error: Expected: 1 non-fatal failure 299 Actual: 0 failures 300[ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementReturns 301[----------] 7 tests from ExpectFatalFailureTest 302[ RUN ] ExpectFatalFailureTest.CanReferenceGlobalVariables 303[ OK ] ExpectFatalFailureTest.CanReferenceGlobalVariables 304[ RUN ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables 305[ OK ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables 306[ RUN ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure 307[ OK ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure 308[ RUN ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure 309(expecting a failure) 310gtest.cc:#: error: Expected: 1 fatal failure 311 Actual: 0 failures 312[ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure 313[ RUN ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures 314(expecting a failure) 315gtest.cc:#: error: Expected: 1 fatal failure 316 Actual: 2 failures 317gtest_output_test_.cc:#: Fatal failure: 318Failed 319Expected fatal failure. 320 321gtest_output_test_.cc:#: Fatal failure: 322Failed 323Expected fatal failure. 324 325[ FAILED ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures 326[ RUN ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure 327(expecting a failure) 328gtest.cc:#: error: Expected: 1 fatal failure 329 Actual: 330gtest_output_test_.cc:#: Non-fatal failure: 331Failed 332Expected non-fatal failure. 333 334[ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure 335[ RUN ] ExpectFatalFailureTest.FailsWhenStatementReturns 336(expecting a failure) 337gtest.cc:#: error: Expected: 1 fatal failure 338 Actual: 0 failures 339[ FAILED ] ExpectFatalFailureTest.FailsWhenStatementReturns 340[----------] 2 tests from TypedTest/0, where TypeParam = int 341[ RUN ] TypedTest/0.Success 342[ OK ] TypedTest/0.Success 343[ RUN ] TypedTest/0.Failure 344gtest_output_test_.cc:#: error: Value of: TypeParam() 345 Actual: 0 346Expected: 1 347Expected failure 348[ FAILED ] TypedTest/0.Failure 349[----------] 2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char 350[ RUN ] Unsigned/TypedTestP/0.Success 351[ OK ] Unsigned/TypedTestP/0.Success 352[ RUN ] Unsigned/TypedTestP/0.Failure 353gtest_output_test_.cc:#: error: Value of: TypeParam() 354 Actual: \0 355Expected: 1 356Expected failure 357[ FAILED ] Unsigned/TypedTestP/0.Failure 358[----------] 2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int 359[ RUN ] Unsigned/TypedTestP/1.Success 360[ OK ] Unsigned/TypedTestP/1.Success 361[ RUN ] Unsigned/TypedTestP/1.Failure 362gtest_output_test_.cc:#: error: Value of: TypeParam() 363 Actual: 0 364Expected: 1 365Expected failure 366[ FAILED ] Unsigned/TypedTestP/1.Failure 367[----------] 4 tests from ExpectFailureTest 368[ RUN ] ExpectFailureTest.ExpectFatalFailure 369(expecting 1 failure) 370gtest.cc:#: error: Expected: 1 fatal failure 371 Actual: 372gtest_output_test_.cc:#: Success: 373Succeeded 374 375(expecting 1 failure) 376gtest.cc:#: error: Expected: 1 fatal failure 377 Actual: 378gtest_output_test_.cc:#: Non-fatal failure: 379Failed 380Expected non-fatal failure. 381 382(expecting 1 failure) 383gtest.cc:#: error: Expected: 1 fatal failure containing "Some other fatal failure expected." 384 Actual: 385gtest_output_test_.cc:#: Fatal failure: 386Failed 387Expected fatal failure. 388 389[ FAILED ] ExpectFailureTest.ExpectFatalFailure 390[ RUN ] ExpectFailureTest.ExpectNonFatalFailure 391(expecting 1 failure) 392gtest.cc:#: error: Expected: 1 non-fatal failure 393 Actual: 394gtest_output_test_.cc:#: Success: 395Succeeded 396 397(expecting 1 failure) 398gtest.cc:#: error: Expected: 1 non-fatal failure 399 Actual: 400gtest_output_test_.cc:#: Fatal failure: 401Failed 402Expected fatal failure. 403 404(expecting 1 failure) 405gtest.cc:#: error: Expected: 1 non-fatal failure containing "Some other non-fatal failure." 406 Actual: 407gtest_output_test_.cc:#: Non-fatal failure: 408Failed 409Expected non-fatal failure. 410 411[ FAILED ] ExpectFailureTest.ExpectNonFatalFailure 412[ RUN ] ExpectFailureTest.ExpectFatalFailureOnAllThreads 413(expecting 1 failure) 414gtest.cc:#: error: Expected: 1 fatal failure 415 Actual: 416gtest_output_test_.cc:#: Success: 417Succeeded 418 419(expecting 1 failure) 420gtest.cc:#: error: Expected: 1 fatal failure 421 Actual: 422gtest_output_test_.cc:#: Non-fatal failure: 423Failed 424Expected non-fatal failure. 425 426(expecting 1 failure) 427gtest.cc:#: error: Expected: 1 fatal failure containing "Some other fatal failure expected." 428 Actual: 429gtest_output_test_.cc:#: Fatal failure: 430Failed 431Expected fatal failure. 432 433[ FAILED ] ExpectFailureTest.ExpectFatalFailureOnAllThreads 434[ RUN ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads 435(expecting 1 failure) 436gtest.cc:#: error: Expected: 1 non-fatal failure 437 Actual: 438gtest_output_test_.cc:#: Success: 439Succeeded 440 441(expecting 1 failure) 442gtest.cc:#: error: Expected: 1 non-fatal failure 443 Actual: 444gtest_output_test_.cc:#: Fatal failure: 445Failed 446Expected fatal failure. 447 448(expecting 1 failure) 449gtest.cc:#: error: Expected: 1 non-fatal failure containing "Some other non-fatal failure." 450 Actual: 451gtest_output_test_.cc:#: Non-fatal failure: 452Failed 453Expected non-fatal failure. 454 455[ FAILED ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads 456[----------] Global test environment tear-down 457BarEnvironment::TearDown() called. 458gtest_output_test_.cc:#: error: Failed 459Expected non-fatal failure. 460FooEnvironment::TearDown() called. 461gtest_output_test_.cc:#: error: Failed 462Expected fatal failure. 463[==========] 57 tests from 26 test cases ran. 464[ PASSED ] 21 tests. 465[ FAILED ] 36 tests, listed below: 466[ FAILED ] FatalFailureTest.FatalFailureInSubroutine 467[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine 468[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine 469[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions 470[ FAILED ] SCOPED_TRACETest.ObeysScopes 471[ FAILED ] SCOPED_TRACETest.WorksInLoop 472[ FAILED ] SCOPED_TRACETest.WorksInSubroutine 473[ FAILED ] SCOPED_TRACETest.CanBeNested 474[ FAILED ] SCOPED_TRACETest.CanBeRepeated 475[ FAILED ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor 476[ FAILED ] FatalFailureInFixtureConstructorTest.FailureInConstructor 477[ FAILED ] NonFatalFailureInSetUpTest.FailureInSetUp 478[ FAILED ] FatalFailureInSetUpTest.FailureInSetUp 479[ FAILED ] ExceptionInFixtureCtorTest.ExceptionInFixtureCtor 480[ FAILED ] ExceptionInSetUpTest.ExceptionInSetUp 481[ FAILED ] ExceptionInTestFunctionTest.SEH 482[ FAILED ] MixedUpTestCaseTest.ThisShouldFail 483[ FAILED ] MixedUpTestCaseTest.ThisShouldFailToo 484[ FAILED ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail 485[ FAILED ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail 486[ FAILED ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail 487[ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure 488[ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures 489[ FAILED ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure 490[ FAILED ] ExpectNonfatalFailureTest.FailsWhenStatementReturns 491[ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure 492[ FAILED ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures 493[ FAILED ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure 494[ FAILED ] ExpectFatalFailureTest.FailsWhenStatementReturns 495[ FAILED ] TypedTest/0.Failure, where TypeParam = int 496[ FAILED ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char 497[ FAILED ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int 498[ FAILED ] ExpectFailureTest.ExpectFatalFailure 499[ FAILED ] ExpectFailureTest.ExpectNonFatalFailure 500[ FAILED ] ExpectFailureTest.ExpectFatalFailureOnAllThreads 501[ FAILED ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads 502 50336 FAILED TESTS 504 YOU HAVE 1 DISABLED TEST 505 506Note: Google Test filter = FatalFailureTest.*:LoggingTest.* 507[==========] Running 4 tests from 2 test cases. 508[----------] Global test environment set-up. 509[----------] 3 tests from FatalFailureTest 510[ RUN ] FatalFailureTest.FatalFailureInSubroutine 511(expecting a failure that x should be 1) 512gtest_output_test_.cc:#: error: Value of: x 513 Actual: 2 514Expected: 1 515[ FAILED ] FatalFailureTest.FatalFailureInSubroutine (? ms) 516[ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine 517(expecting a failure that x should be 1) 518gtest_output_test_.cc:#: error: Value of: x 519 Actual: 2 520Expected: 1 521[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms) 522[ RUN ] FatalFailureTest.NonfatalFailureInSubroutine 523(expecting a failure on false) 524gtest_output_test_.cc:#: error: Value of: false 525 Actual: false 526Expected: true 527[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine (? ms) 528[----------] 3 tests from FatalFailureTest (? ms total) 529 530[----------] 1 test from LoggingTest 531[ RUN ] LoggingTest.InterleavingLoggingAndAssertions 532(expecting 2 failures on (3) >= (a[i])) 533i == 0 534i == 1 535gtest_output_test_.cc:#: error: Expected: (3) >= (a[i]), actual: 3 vs 9 536i == 2 537i == 3 538gtest_output_test_.cc:#: error: Expected: (3) >= (a[i]), actual: 3 vs 6 539[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions (? ms) 540[----------] 1 test from LoggingTest (? ms total) 541 542[----------] Global test environment tear-down 543[==========] 4 tests from 2 test cases ran. (? ms total) 544[ PASSED ] 0 tests. 545[ FAILED ] 4 tests, listed below: 546[ FAILED ] FatalFailureTest.FatalFailureInSubroutine 547[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine 548[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine 549[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions 550 551 4 FAILED TESTS 552 YOU HAVE 1 DISABLED TEST 553 554Note: Google Test filter = *DISABLED_* 555[==========] Running 1 test from 1 test case. 556[----------] Global test environment set-up. 557[----------] 1 test from DisabledTestsWarningTest 558[ RUN ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning 559[ OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning 560[----------] Global test environment tear-down 561[==========] 1 test from 1 test case ran. 562[ PASSED ] 1 test. 563Note: Google Test filter = PassingTest.* 564Note: This is test shard 1 of 2. 565[==========] Running 1 test from 1 test case. 566[----------] Global test environment set-up. 567[----------] 1 test from PassingTest 568[ RUN ] PassingTest.PassingTest2 569[ OK ] PassingTest.PassingTest2 570[----------] Global test environment tear-down 571[==========] 1 test from 1 test case ran. 572[ PASSED ] 1 test. 573 574 YOU HAVE 1 DISABLED TEST 575 576