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