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