revise installing a license file
[platform/upstream/gtest.git] / test / gtest_output_test_golden_win.txt
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 61 tests from 27 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 [----------] 2 tests 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 [ RUN      ] ExceptionInTestFunctionTest.CppException
199 unknown file: error: Exception thrown with code 0xe06d7363 in the test body.
200 gtest_output_test_.cc:#: error: Failed
201 Expected failure #2, in TearDown().
202 gtest_output_test_.cc:#: error: Failed
203 Expected failure #3, in the test fixture d'tor.
204 [  FAILED  ] ExceptionInTestFunctionTest.CppException
205 [----------] 1 test from ExceptionInTearDownTest
206 [ RUN      ] ExceptionInTearDownTest.ExceptionInTearDown
207 (expecting 2 failures)
208 unknown file: error: Exception thrown with code 0xe06d7363 in TearDown().
209 gtest_output_test_.cc:#: error: Failed
210 Expected failure #2, in the test fixture d'tor.
211 [  FAILED  ] ExceptionInTearDownTest.ExceptionInTearDown
212 [----------] 4 tests from MixedUpTestCaseTest
213 [ RUN      ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo
214 [       OK ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo
215 [ RUN      ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo
216 [       OK ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo
217 [ RUN      ] MixedUpTestCaseTest.ThisShouldFail
218 gtest.cc:#: error: Failed
219 All tests in the same test case must use the same test fixture
220 class.  However, in test case MixedUpTestCaseTest,
221 you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
222 using two different test fixture classes.  This can happen if
223 the two classes are from different namespaces or translation
224 units and have the same name.  You should probably rename one
225 of the classes to put the tests into different test cases.
226 [  FAILED  ] MixedUpTestCaseTest.ThisShouldFail
227 [ RUN      ] MixedUpTestCaseTest.ThisShouldFailToo
228 gtest.cc:#: error: Failed
229 All tests in the same test case must use the same test fixture
230 class.  However, in test case MixedUpTestCaseTest,
231 you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
232 using two different test fixture classes.  This can happen if
233 the two classes are from different namespaces or translation
234 units and have the same name.  You should probably rename one
235 of the classes to put the tests into different test cases.
236 [  FAILED  ] MixedUpTestCaseTest.ThisShouldFailToo
237 [----------] 2 tests from MixedUpTestCaseWithSameTestNameTest
238 [ RUN      ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
239 [       OK ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
240 [ RUN      ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
241 gtest.cc:#: error: 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 [  FAILED  ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
250 [----------] 2 tests from TEST_F_before_TEST_in_same_test_case
251 [ RUN      ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
252 [       OK ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
253 [ RUN      ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
254 gtest.cc:#: error: Failed
255 All tests in the same test case must use the same test fixture
256 class, so mixing TEST_F and TEST in the same test case is
257 illegal.  In test case TEST_F_before_TEST_in_same_test_case,
258 test DefinedUsingTEST_F is defined using TEST_F but
259 test DefinedUsingTESTAndShouldFail is defined using TEST.  You probably
260 want to change the TEST to TEST_F or move it to another test
261 case.
262 [  FAILED  ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
263 [----------] 2 tests from TEST_before_TEST_F_in_same_test_case
264 [ RUN      ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
265 [       OK ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
266 [ RUN      ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
267 gtest.cc:#: error: Failed
268 All tests in the same test case must use the same test fixture
269 class, so mixing TEST_F and TEST in the same test case is
270 illegal.  In test case TEST_before_TEST_F_in_same_test_case,
271 test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
272 test DefinedUsingTEST is defined using TEST.  You probably
273 want to change the TEST to TEST_F or move it to another test
274 case.
275 [  FAILED  ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
276 [----------] 8 tests from ExpectNonfatalFailureTest
277 [ RUN      ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
278 [       OK ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
279 [ RUN      ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
280 [       OK ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
281 [ RUN      ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
282 [       OK ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
283 [ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
284 (expecting a failure)
285 gtest.cc:#: error: Expected: 1 non-fatal failure
286   Actual: 0 failures
287 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
288 [ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
289 (expecting a failure)
290 gtest.cc:#: error: Expected: 1 non-fatal failure
291   Actual: 2 failures
292 gtest_output_test_.cc:#: Non-fatal failure:
293 Failed
294 Expected non-fatal failure 1.
295
296 gtest_output_test_.cc:#: Non-fatal failure:
297 Failed
298 Expected non-fatal failure 2.
299
300 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
301 [ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
302 (expecting a failure)
303 gtest.cc:#: error: Expected: 1 non-fatal failure
304   Actual:
305 gtest_output_test_.cc:#: Fatal failure:
306 Failed
307 Expected fatal failure.
308
309 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
310 [ RUN      ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
311 (expecting a failure)
312 gtest.cc:#: error: Expected: 1 non-fatal failure
313   Actual: 0 failures
314 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
315 [ RUN      ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
316 (expecting a failure)
317 gtest.cc:#: error: Expected: 1 non-fatal failure
318   Actual: 0 failures
319 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
320 [----------] 8 tests from ExpectFatalFailureTest
321 [ RUN      ] ExpectFatalFailureTest.CanReferenceGlobalVariables
322 [       OK ] ExpectFatalFailureTest.CanReferenceGlobalVariables
323 [ RUN      ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
324 [       OK ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
325 [ RUN      ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
326 [       OK ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
327 [ RUN      ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
328 (expecting a failure)
329 gtest.cc:#: error: Expected: 1 fatal failure
330   Actual: 0 failures
331 [  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
332 [ RUN      ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
333 (expecting a failure)
334 gtest.cc:#: error: Expected: 1 fatal failure
335   Actual: 2 failures
336 gtest_output_test_.cc:#: Fatal failure:
337 Failed
338 Expected fatal failure.
339
340 gtest_output_test_.cc:#: Fatal failure:
341 Failed
342 Expected fatal failure.
343
344 [  FAILED  ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
345 [ RUN      ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
346 (expecting a failure)
347 gtest.cc:#: error: Expected: 1 fatal failure
348   Actual:
349 gtest_output_test_.cc:#: Non-fatal failure:
350 Failed
351 Expected non-fatal failure.
352
353 [  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
354 [ RUN      ] ExpectFatalFailureTest.FailsWhenStatementReturns
355 (expecting a failure)
356 gtest.cc:#: error: Expected: 1 fatal failure
357   Actual: 0 failures
358 [  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementReturns
359 [ RUN      ] ExpectFatalFailureTest.FailsWhenStatementThrows
360 (expecting a failure)
361 gtest.cc:#: error: Expected: 1 fatal failure
362   Actual: 0 failures
363 [  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementThrows
364 [----------] 2 tests from TypedTest/0, where TypeParam = int
365 [ RUN      ] TypedTest/0.Success
366 [       OK ] TypedTest/0.Success
367 [ RUN      ] TypedTest/0.Failure
368 gtest_output_test_.cc:#: error: Value of: TypeParam()
369   Actual: 0
370 Expected: 1
371 Expected failure
372 [  FAILED  ] TypedTest/0.Failure
373 [----------] 2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
374 [ RUN      ] Unsigned/TypedTestP/0.Success
375 [       OK ] Unsigned/TypedTestP/0.Success
376 [ RUN      ] Unsigned/TypedTestP/0.Failure
377 gtest_output_test_.cc:#: error: Value of: TypeParam()
378   Actual: \0
379 Expected: 1U
380 Which is: 1
381 Expected failure
382 [  FAILED  ] Unsigned/TypedTestP/0.Failure
383 [----------] 2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
384 [ RUN      ] Unsigned/TypedTestP/1.Success
385 [       OK ] Unsigned/TypedTestP/1.Success
386 [ RUN      ] Unsigned/TypedTestP/1.Failure
387 gtest_output_test_.cc:#: error: Value of: TypeParam()
388   Actual: 0
389 Expected: 1U
390 Which is: 1
391 Expected failure
392 [  FAILED  ] Unsigned/TypedTestP/1.Failure
393 [----------] 4 tests from ExpectFailureTest
394 [ RUN      ] ExpectFailureTest.ExpectFatalFailure
395 (expecting 1 failure)
396 gtest.cc:#: error: Expected: 1 fatal failure
397   Actual:
398 gtest_output_test_.cc:#: Success:
399 Succeeded
400
401 (expecting 1 failure)
402 gtest.cc:#: error: Expected: 1 fatal failure
403   Actual:
404 gtest_output_test_.cc:#: Non-fatal failure:
405 Failed
406 Expected non-fatal failure.
407
408 (expecting 1 failure)
409 gtest.cc:#: error: Expected: 1 fatal failure containing "Some other fatal failure expected."
410   Actual:
411 gtest_output_test_.cc:#: Fatal failure:
412 Failed
413 Expected fatal failure.
414
415 [  FAILED  ] ExpectFailureTest.ExpectFatalFailure
416 [ RUN      ] ExpectFailureTest.ExpectNonFatalFailure
417 (expecting 1 failure)
418 gtest.cc:#: error: Expected: 1 non-fatal failure
419   Actual:
420 gtest_output_test_.cc:#: Success:
421 Succeeded
422
423 (expecting 1 failure)
424 gtest.cc:#: error: Expected: 1 non-fatal failure
425   Actual:
426 gtest_output_test_.cc:#: Fatal failure:
427 Failed
428 Expected fatal failure.
429
430 (expecting 1 failure)
431 gtest.cc:#: error: Expected: 1 non-fatal failure containing "Some other non-fatal failure."
432   Actual:
433 gtest_output_test_.cc:#: Non-fatal failure:
434 Failed
435 Expected non-fatal failure.
436
437 [  FAILED  ] ExpectFailureTest.ExpectNonFatalFailure
438 [ RUN      ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
439 (expecting 1 failure)
440 gtest.cc:#: error: Expected: 1 fatal failure
441   Actual:
442 gtest_output_test_.cc:#: Success:
443 Succeeded
444
445 (expecting 1 failure)
446 gtest.cc:#: error: Expected: 1 fatal failure
447   Actual:
448 gtest_output_test_.cc:#: Non-fatal failure:
449 Failed
450 Expected non-fatal failure.
451
452 (expecting 1 failure)
453 gtest.cc:#: error: Expected: 1 fatal failure containing "Some other fatal failure expected."
454   Actual:
455 gtest_output_test_.cc:#: Fatal failure:
456 Failed
457 Expected fatal failure.
458
459 [  FAILED  ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
460 [ RUN      ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
461 (expecting 1 failure)
462 gtest.cc:#: error: Expected: 1 non-fatal failure
463   Actual:
464 gtest_output_test_.cc:#: Success:
465 Succeeded
466
467 (expecting 1 failure)
468 gtest.cc:#: error: Expected: 1 non-fatal failure
469   Actual:
470 gtest_output_test_.cc:#: Fatal failure:
471 Failed
472 Expected fatal failure.
473
474 (expecting 1 failure)
475 gtest.cc:#: error: Expected: 1 non-fatal failure containing "Some other non-fatal failure."
476   Actual:
477 gtest_output_test_.cc:#: Non-fatal failure:
478 Failed
479 Expected non-fatal failure.
480
481 [  FAILED  ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
482 [----------] Global test environment tear-down
483 BarEnvironment::TearDown() called.
484 gtest_output_test_.cc:#: error: Failed
485 Expected non-fatal failure.
486 FooEnvironment::TearDown() called.
487 gtest_output_test_.cc:#: error: Failed
488 Expected fatal failure.
489 [==========] 61 tests from 27 test cases ran.
490 [  PASSED  ] 21 tests.
491 [  FAILED  ] 40 tests, listed below:
492 [  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
493 [  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
494 [  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
495 [  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
496 [  FAILED  ] SCOPED_TRACETest.ObeysScopes
497 [  FAILED  ] SCOPED_TRACETest.WorksInLoop
498 [  FAILED  ] SCOPED_TRACETest.WorksInSubroutine
499 [  FAILED  ] SCOPED_TRACETest.CanBeNested
500 [  FAILED  ] SCOPED_TRACETest.CanBeRepeated
501 [  FAILED  ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
502 [  FAILED  ] FatalFailureInFixtureConstructorTest.FailureInConstructor
503 [  FAILED  ] NonFatalFailureInSetUpTest.FailureInSetUp
504 [  FAILED  ] FatalFailureInSetUpTest.FailureInSetUp
505 [  FAILED  ] ExceptionInFixtureCtorTest.ExceptionInFixtureCtor
506 [  FAILED  ] ExceptionInSetUpTest.ExceptionInSetUp
507 [  FAILED  ] ExceptionInTestFunctionTest.SEH
508 [  FAILED  ] ExceptionInTestFunctionTest.CppException
509 [  FAILED  ] ExceptionInTearDownTest.ExceptionInTearDown
510 [  FAILED  ] MixedUpTestCaseTest.ThisShouldFail
511 [  FAILED  ] MixedUpTestCaseTest.ThisShouldFailToo
512 [  FAILED  ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
513 [  FAILED  ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
514 [  FAILED  ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
515 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
516 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
517 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
518 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
519 [  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
520 [  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
521 [  FAILED  ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
522 [  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
523 [  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementReturns
524 [  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementThrows
525 [  FAILED  ] TypedTest/0.Failure, where TypeParam = int
526 [  FAILED  ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
527 [  FAILED  ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
528 [  FAILED  ] ExpectFailureTest.ExpectFatalFailure
529 [  FAILED  ] ExpectFailureTest.ExpectNonFatalFailure
530 [  FAILED  ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
531 [  FAILED  ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
532
533 40 FAILED TESTS
534   YOU HAVE 1 DISABLED TEST
535
536 Note: Google Test filter = FatalFailureTest.*:LoggingTest.*
537 [==========] Running 4 tests from 2 test cases.
538 [----------] Global test environment set-up.
539 [----------] 3 tests from FatalFailureTest
540 [ RUN      ] FatalFailureTest.FatalFailureInSubroutine
541 (expecting a failure that x should be 1)
542 gtest_output_test_.cc:#: error: Value of: x
543   Actual: 2
544 Expected: 1
545 [  FAILED  ] FatalFailureTest.FatalFailureInSubroutine (? ms)
546 [ RUN      ] FatalFailureTest.FatalFailureInNestedSubroutine
547 (expecting a failure that x should be 1)
548 gtest_output_test_.cc:#: error: Value of: x
549   Actual: 2
550 Expected: 1
551 [  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
552 [ RUN      ] FatalFailureTest.NonfatalFailureInSubroutine
553 (expecting a failure on false)
554 gtest_output_test_.cc:#: error: Value of: false
555   Actual: false
556 Expected: true
557 [  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
558 [----------] 3 tests from FatalFailureTest (? ms total)
559
560 [----------] 1 test from LoggingTest
561 [ RUN      ] LoggingTest.InterleavingLoggingAndAssertions
562 (expecting 2 failures on (3) >= (a[i]))
563 i == 0
564 i == 1
565 gtest_output_test_.cc:#: error: Expected: (3) >= (a[i]), actual: 3 vs 9
566 i == 2
567 i == 3
568 gtest_output_test_.cc:#: error: Expected: (3) >= (a[i]), actual: 3 vs 6
569 [  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
570 [----------] 1 test from LoggingTest (? ms total)
571
572 [----------] Global test environment tear-down
573 [==========] 4 tests from 2 test cases ran. (? ms total)
574 [  PASSED  ] 0 tests.
575 [  FAILED  ] 4 tests, listed below:
576 [  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
577 [  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
578 [  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
579 [  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
580
581  4 FAILED TESTS
582   YOU HAVE 1 DISABLED TEST
583
584 Note: Google Test filter = *DISABLED_*
585 [==========] Running 1 test from 1 test case.
586 [----------] Global test environment set-up.
587 [----------] 1 test from DisabledTestsWarningTest
588 [ RUN      ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
589 [       OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
590 [----------] Global test environment tear-down
591 [==========] 1 test from 1 test case ran.
592 [  PASSED  ] 1 test.
593 Note: Google Test filter = PassingTest.*
594 Note: This is test shard 1 of 2.
595 [==========] Running 1 test from 1 test case.
596 [----------] Global test environment set-up.
597 [----------] 1 test from PassingTest
598 [ RUN      ] PassingTest.PassingTest2
599 [       OK ] PassingTest.PassingTest2
600 [----------] Global test environment tear-down
601 [==========] 1 test from 1 test case ran.
602 [  PASSED  ] 1 test.
603
604   YOU HAVE 1 DISABLED TEST
605