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