a1d342d9c22a0ce27ee4337debb9b6512e4e262d
[platform/upstream/gtest.git] / test / gtest_output_test_golden_lin.txt
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 \e[0;32m[==========] \e[mRunning 62 tests from 27 test cases.
11 \e[0;32m[----------] \e[mGlobal test environment set-up.
12 FooEnvironment::SetUp() called.
13 BarEnvironment::SetUp() called.
14 \e[0;32m[----------] \e[m1 test from ADeathTest
15 \e[0;32m[ RUN      ] \e[mADeathTest.ShouldRunFirst
16 \e[0;32m[       OK ] \e[mADeathTest.ShouldRunFirst
17 \e[0;32m[----------] \e[m1 test from ATypedDeathTest/0, where TypeParam = int
18 \e[0;32m[ RUN      ] \e[mATypedDeathTest/0.ShouldRunFirst
19 \e[0;32m[       OK ] \e[mATypedDeathTest/0.ShouldRunFirst
20 \e[0;32m[----------] \e[m1 test from ATypedDeathTest/1, where TypeParam = double
21 \e[0;32m[ RUN      ] \e[mATypedDeathTest/1.ShouldRunFirst
22 \e[0;32m[       OK ] \e[mATypedDeathTest/1.ShouldRunFirst
23 \e[0;32m[----------] \e[m1 test from My/ATypeParamDeathTest/0, where TypeParam = int
24 \e[0;32m[ RUN      ] \e[mMy/ATypeParamDeathTest/0.ShouldRunFirst
25 \e[0;32m[       OK ] \e[mMy/ATypeParamDeathTest/0.ShouldRunFirst
26 \e[0;32m[----------] \e[m1 test from My/ATypeParamDeathTest/1, where TypeParam = double
27 \e[0;32m[ RUN      ] \e[mMy/ATypeParamDeathTest/1.ShouldRunFirst
28 \e[0;32m[       OK ] \e[mMy/ATypeParamDeathTest/1.ShouldRunFirst
29 \e[0;32m[----------] \e[m2 tests from PassingTest
30 \e[0;32m[ RUN      ] \e[mPassingTest.PassingTest1
31 \e[0;32m[       OK ] \e[mPassingTest.PassingTest1
32 \e[0;32m[ RUN      ] \e[mPassingTest.PassingTest2
33 \e[0;32m[       OK ] \e[mPassingTest.PassingTest2
34 \e[0;32m[----------] \e[m3 tests from FatalFailureTest
35 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.FatalFailureInSubroutine
42 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.FatalFailureInNestedSubroutine
49 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.NonfatalFailureInSubroutine
56 \e[0;32m[----------] \e[m1 test from LoggingTest
57 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mLoggingTest.InterleavingLoggingAndAssertions
68 \e[0;32m[----------] \e[m6 tests from SCOPED_TRACETest
69 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.ObeysScopes
83 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.WorksInLoop
98 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.WorksInSubroutine
113 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.CanBeNested
123 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.CanBeRepeated
151 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.WorksConcurrently
180 \e[0;32m[----------] \e[m1 test from NonFatalFailureInFixtureConstructorTest
181 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
199 \e[0;32m[----------] \e[m1 test from FatalFailureInFixtureConstructorTest
200 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mFatalFailureInFixtureConstructorTest.FailureInConstructor
209 \e[0;32m[----------] \e[m1 test from NonFatalFailureInSetUpTest
210 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mNonFatalFailureInSetUpTest.FailureInSetUp
225 \e[0;32m[----------] \e[m1 test from FatalFailureInSetUpTest
226 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mFatalFailureInSetUpTest.FailureInSetUp
238 \e[0;32m[----------] \e[m1 test from AddFailureAtTest
239 \e[0;32m[ RUN      ] \e[mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
240 foo.cc:42: Failure
241 Failed
242 Expected failure in foo.cc
243 \e[0;31m[  FAILED  ] \e[mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
244 \e[0;32m[----------] \e[m4 tests from MixedUpTestCaseTest
245 \e[0;32m[ RUN      ] \e[mMixedUpTestCaseTest.FirstTestFromNamespaceFoo
246 \e[0;32m[       OK ] \e[mMixedUpTestCaseTest.FirstTestFromNamespaceFoo
247 \e[0;32m[ RUN      ] \e[mMixedUpTestCaseTest.SecondTestFromNamespaceFoo
248 \e[0;32m[       OK ] \e[mMixedUpTestCaseTest.SecondTestFromNamespaceFoo
249 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mMixedUpTestCaseTest.ThisShouldFail
260 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mMixedUpTestCaseTest.ThisShouldFailToo
271 \e[0;32m[----------] \e[m2 tests from MixedUpTestCaseWithSameTestNameTest
272 \e[0;32m[ RUN      ] \e[mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
273 \e[0;32m[       OK ] \e[mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
274 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
285 \e[0;32m[----------] \e[m2 tests from TEST_F_before_TEST_in_same_test_case
286 \e[0;32m[ RUN      ] \e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
287 \e[0;32m[       OK ] \e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
288 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
299 \e[0;32m[----------] \e[m2 tests from TEST_before_TEST_F_in_same_test_case
300 \e[0;32m[ RUN      ] \e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
301 \e[0;32m[       OK ] \e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
302 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
313 \e[0;32m[----------] \e[m8 tests from ExpectNonfatalFailureTest
314 \e[0;32m[ RUN      ] \e[mExpectNonfatalFailureTest.CanReferenceGlobalVariables
315 \e[0;32m[       OK ] \e[mExpectNonfatalFailureTest.CanReferenceGlobalVariables
316 \e[0;32m[ RUN      ] \e[mExpectNonfatalFailureTest.CanReferenceLocalVariables
317 \e[0;32m[       OK ] \e[mExpectNonfatalFailureTest.CanReferenceLocalVariables
318 \e[0;32m[ RUN      ] \e[mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
319 \e[0;32m[       OK ] \e[mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
320 \e[0;32m[ RUN      ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
321 (expecting a failure)
322 gtest.cc:#: Failure
323 Expected: 1 non-fatal failure
324   Actual: 0 failures
325 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
326 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
340 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
350 \e[0;32m[ RUN      ] \e[mExpectNonfatalFailureTest.FailsWhenStatementReturns
351 (expecting a failure)
352 gtest.cc:#: Failure
353 Expected: 1 non-fatal failure
354   Actual: 0 failures
355 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenStatementReturns
356 \e[0;32m[ RUN      ] \e[mExpectNonfatalFailureTest.FailsWhenStatementThrows
357 (expecting a failure)
358 gtest.cc:#: Failure
359 Expected: 1 non-fatal failure
360   Actual: 0 failures
361 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenStatementThrows
362 \e[0;32m[----------] \e[m8 tests from ExpectFatalFailureTest
363 \e[0;32m[ RUN      ] \e[mExpectFatalFailureTest.CanReferenceGlobalVariables
364 \e[0;32m[       OK ] \e[mExpectFatalFailureTest.CanReferenceGlobalVariables
365 \e[0;32m[ RUN      ] \e[mExpectFatalFailureTest.CanReferenceLocalStaticVariables
366 \e[0;32m[       OK ] \e[mExpectFatalFailureTest.CanReferenceLocalStaticVariables
367 \e[0;32m[ RUN      ] \e[mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
368 \e[0;32m[       OK ] \e[mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
369 \e[0;32m[ RUN      ] \e[mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
370 (expecting a failure)
371 gtest.cc:#: Failure
372 Expected: 1 fatal failure
373   Actual: 0 failures
374 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
375 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
389 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
399 \e[0;32m[ RUN      ] \e[mExpectFatalFailureTest.FailsWhenStatementReturns
400 (expecting a failure)
401 gtest.cc:#: Failure
402 Expected: 1 fatal failure
403   Actual: 0 failures
404 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenStatementReturns
405 \e[0;32m[ RUN      ] \e[mExpectFatalFailureTest.FailsWhenStatementThrows
406 (expecting a failure)
407 gtest.cc:#: Failure
408 Expected: 1 fatal failure
409   Actual: 0 failures
410 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenStatementThrows
411 \e[0;32m[----------] \e[m2 tests from TypedTest/0, where TypeParam = int
412 \e[0;32m[ RUN      ] \e[mTypedTest/0.Success
413 \e[0;32m[       OK ] \e[mTypedTest/0.Success
414 \e[0;32m[ RUN      ] \e[mTypedTest/0.Failure
415 gtest_output_test_.cc:#: Failure
416 Value of: TypeParam()
417   Actual: 0
418 Expected: 1
419 Expected failure
420 \e[0;31m[  FAILED  ] \e[mTypedTest/0.Failure, where TypeParam = int
421 \e[0;32m[----------] \e[m2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
422 \e[0;32m[ RUN      ] \e[mUnsigned/TypedTestP/0.Success
423 \e[0;32m[       OK ] \e[mUnsigned/TypedTestP/0.Success
424 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
432 \e[0;32m[----------] \e[m2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
433 \e[0;32m[ RUN      ] \e[mUnsigned/TypedTestP/1.Success
434 \e[0;32m[       OK ] \e[mUnsigned/TypedTestP/1.Success
435 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
443 \e[0;32m[----------] \e[m4 tests from ExpectFailureTest
444 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectFailureTest.ExpectFatalFailure
469 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectFailureTest.ExpectNonFatalFailure
494 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectFailureTest.ExpectFatalFailureOnAllThreads
519 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
544 \e[0;32m[----------] \e[m2 tests from ExpectFailureWithThreadsTest
545 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectFailureWithThreadsTest.ExpectFatalFailure
554 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mExpectFailureWithThreadsTest.ExpectNonFatalFailure
563 \e[0;32m[----------] \e[m1 test from ScopedFakeTestPartResultReporterTest
564 \e[0;32m[ RUN      ] \e[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 \e[0;31m[  FAILED  ] \e[mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
573 \e[0;32m[----------] \e[m1 test from PrintingFailingParams/FailingParamTest
574 \e[0;32m[ RUN      ] \e[mPrintingFailingParams/FailingParamTest.Fails/0
575 gtest_output_test_.cc:#: Failure
576 Value of: GetParam()
577   Actual: 2
578 Expected: 1
579 \e[0;31m[  FAILED  ] \e[mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
580 \e[0;32m[----------] \e[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 \e[0;32m[==========] \e[m62 tests from 27 test cases ran.
590 \e[0;32m[  PASSED  ] \e[m21 tests.
591 \e[0;31m[  FAILED  ] \e[m41 tests, listed below:
592 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.FatalFailureInSubroutine
593 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.FatalFailureInNestedSubroutine
594 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.NonfatalFailureInSubroutine
595 \e[0;31m[  FAILED  ] \e[mLoggingTest.InterleavingLoggingAndAssertions
596 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.ObeysScopes
597 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.WorksInLoop
598 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.WorksInSubroutine
599 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.CanBeNested
600 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.CanBeRepeated
601 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.WorksConcurrently
602 \e[0;31m[  FAILED  ] \e[mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
603 \e[0;31m[  FAILED  ] \e[mFatalFailureInFixtureConstructorTest.FailureInConstructor
604 \e[0;31m[  FAILED  ] \e[mNonFatalFailureInSetUpTest.FailureInSetUp
605 \e[0;31m[  FAILED  ] \e[mFatalFailureInSetUpTest.FailureInSetUp
606 \e[0;31m[  FAILED  ] \e[mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
607 \e[0;31m[  FAILED  ] \e[mMixedUpTestCaseTest.ThisShouldFail
608 \e[0;31m[  FAILED  ] \e[mMixedUpTestCaseTest.ThisShouldFailToo
609 \e[0;31m[  FAILED  ] \e[mMixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
610 \e[0;31m[  FAILED  ] \e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
611 \e[0;31m[  FAILED  ] \e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
612 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
613 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
614 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
615 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenStatementReturns
616 \e[0;31m[  FAILED  ] \e[mExpectNonfatalFailureTest.FailsWhenStatementThrows
617 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
618 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
619 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
620 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenStatementReturns
621 \e[0;31m[  FAILED  ] \e[mExpectFatalFailureTest.FailsWhenStatementThrows
622 \e[0;31m[  FAILED  ] \e[mTypedTest/0.Failure, where TypeParam = int
623 \e[0;31m[  FAILED  ] \e[mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
624 \e[0;31m[  FAILED  ] \e[mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
625 \e[0;31m[  FAILED  ] \e[mExpectFailureTest.ExpectFatalFailure
626 \e[0;31m[  FAILED  ] \e[mExpectFailureTest.ExpectNonFatalFailure
627 \e[0;31m[  FAILED  ] \e[mExpectFailureTest.ExpectFatalFailureOnAllThreads
628 \e[0;31m[  FAILED  ] \e[mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
629 \e[0;31m[  FAILED  ] \e[mExpectFailureWithThreadsTest.ExpectFatalFailure
630 \e[0;31m[  FAILED  ] \e[mExpectFailureWithThreadsTest.ExpectNonFatalFailure
631 \e[0;31m[  FAILED  ] \e[mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
632 \e[0;31m[  FAILED  ] \e[mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
633
634 41 FAILED TESTS
635 \e[0;33m  YOU HAVE 1 DISABLED TEST
636
637 \e[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