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