~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/ThirdParty/gtest/test/gtest_output_test_golden_lin.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
[==========] Running 60 tests from 25 test cases.
 
11
[----------] Global test environment set-up.
 
12
FooEnvironment::SetUp() called.
 
13
BarEnvironment::SetUp() called.
 
14
[----------] 1 test from ADeathTest
 
15
[ RUN      ] ADeathTest.ShouldRunFirst
 
16
[       OK ] ADeathTest.ShouldRunFirst
 
17
[----------] 1 test from ATypedDeathTest/0, where TypeParam = int
 
18
[ RUN      ] ATypedDeathTest/0.ShouldRunFirst
 
19
[       OK ] ATypedDeathTest/0.ShouldRunFirst
 
20
[----------] 1 test from ATypedDeathTest/1, where TypeParam = double
 
21
[ RUN      ] ATypedDeathTest/1.ShouldRunFirst
 
22
[       OK ] ATypedDeathTest/1.ShouldRunFirst
 
23
[----------] 1 test from My/ATypeParamDeathTest/0, where TypeParam = int
 
24
[ RUN      ] My/ATypeParamDeathTest/0.ShouldRunFirst
 
25
[       OK ] My/ATypeParamDeathTest/0.ShouldRunFirst
 
26
[----------] 1 test from My/ATypeParamDeathTest/1, where TypeParam = double
 
27
[ RUN      ] My/ATypeParamDeathTest/1.ShouldRunFirst
 
28
[       OK ] My/ATypeParamDeathTest/1.ShouldRunFirst
 
29
[----------] 2 tests from PassingTest
 
30
[ RUN      ] PassingTest.PassingTest1
 
31
[       OK ] PassingTest.PassingTest1
 
32
[ RUN      ] PassingTest.PassingTest2
 
33
[       OK ] PassingTest.PassingTest2
 
34
[----------] 3 tests from FatalFailureTest
 
35
[ RUN      ] FatalFailureTest.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
[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
 
42
[ RUN      ] FatalFailureTest.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
[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
 
49
[ RUN      ] FatalFailureTest.NonfatalFailureInSubroutine
 
50
(expecting a failure on false)
 
51
gtest_output_test_.cc:#: Failure
 
52
Value of: false
 
53
  Actual: false
 
54
Expected: true
 
55
[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
 
56
[----------] 1 test from LoggingTest
 
57
[ RUN      ] LoggingTest.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
[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
 
68
[----------] 6 tests from SCOPED_TRACETest
 
69
[ RUN      ] SCOPED_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
[  FAILED  ] SCOPED_TRACETest.ObeysScopes
 
83
[ RUN      ] SCOPED_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
[  FAILED  ] SCOPED_TRACETest.WorksInLoop
 
98
[ RUN      ] SCOPED_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
[  FAILED  ] SCOPED_TRACETest.WorksInSubroutine
 
113
[ RUN      ] SCOPED_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
[  FAILED  ] SCOPED_TRACETest.CanBeNested
 
123
[ RUN      ] SCOPED_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
[  FAILED  ] SCOPED_TRACETest.CanBeRepeated
 
151
[ RUN      ] SCOPED_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
[  FAILED  ] SCOPED_TRACETest.WorksConcurrently
 
180
[----------] 1 test from NonFatalFailureInFixtureConstructorTest
 
181
[ RUN      ] NonFatalFailureInFixtureConstructorTest.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
[  FAILED  ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
 
199
[----------] 1 test from FatalFailureInFixtureConstructorTest
 
200
[ RUN      ] FatalFailureInFixtureConstructorTest.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
[  FAILED  ] FatalFailureInFixtureConstructorTest.FailureInConstructor
 
209
[----------] 1 test from NonFatalFailureInSetUpTest
 
210
[ RUN      ] NonFatalFailureInSetUpTest.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
[  FAILED  ] NonFatalFailureInSetUpTest.FailureInSetUp
 
225
[----------] 1 test from FatalFailureInSetUpTest
 
226
[ RUN      ] FatalFailureInSetUpTest.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
[  FAILED  ] FatalFailureInSetUpTest.FailureInSetUp
 
238
[----------] 4 tests from MixedUpTestCaseTest
 
239
[ RUN      ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo
 
240
[       OK ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo
 
241
[ RUN      ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo
 
242
[       OK ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo
 
243
[ RUN      ] MixedUpTestCaseTest.ThisShouldFail
 
244
gtest.cc:#: Failure
 
245
Failed
 
246
All tests in the same test case must use the same test fixture
 
247
class.  However, in test case MixedUpTestCaseTest,
 
248
you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
 
249
using two different test fixture classes.  This can happen if
 
250
the two classes are from different namespaces or translation
 
251
units and have the same name.  You should probably rename one
 
252
of the classes to put the tests into different test cases.
 
253
[  FAILED  ] MixedUpTestCaseTest.ThisShouldFail
 
254
[ RUN      ] MixedUpTestCaseTest.ThisShouldFailToo
 
255
gtest.cc:#: Failure
 
256
Failed
 
257
All tests in the same test case must use the same test fixture
 
258
class.  However, in test case MixedUpTestCaseTest,
 
259
you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
 
260
using two different test fixture classes.  This can happen if
 
261
the two classes are from different namespaces or translation
 
262
units and have the same name.  You should probably rename one
 
263
of the classes to put the tests into different test cases.
 
264
[  FAILED  ] MixedUpTestCaseTest.ThisShouldFailToo
 
265
[----------] 2 tests from MixedUpTestCaseWithSameTestNameTest
 
266
[ RUN      ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
 
267
[       OK ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
 
268
[ RUN      ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
 
269
gtest.cc:#: Failure
 
270
Failed
 
271
All tests in the same test case must use the same test fixture
 
272
class.  However, in test case MixedUpTestCaseWithSameTestNameTest,
 
273
you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
 
274
using two different test fixture classes.  This can happen if
 
275
the two classes are from different namespaces or translation
 
276
units and have the same name.  You should probably rename one
 
277
of the classes to put the tests into different test cases.
 
278
[  FAILED  ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
 
279
[----------] 2 tests from TEST_F_before_TEST_in_same_test_case
 
280
[ RUN      ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
 
281
[       OK ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
 
282
[ RUN      ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
 
283
gtest.cc:#: Failure
 
284
Failed
 
285
All tests in the same test case must use the same test fixture
 
286
class, so mixing TEST_F and TEST in the same test case is
 
287
illegal.  In test case TEST_F_before_TEST_in_same_test_case,
 
288
test DefinedUsingTEST_F is defined using TEST_F but
 
289
test DefinedUsingTESTAndShouldFail is defined using TEST.  You probably
 
290
want to change the TEST to TEST_F or move it to another test
 
291
case.
 
292
[  FAILED  ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
 
293
[----------] 2 tests from TEST_before_TEST_F_in_same_test_case
 
294
[ RUN      ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
 
295
[       OK ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
 
296
[ RUN      ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
 
297
gtest.cc:#: Failure
 
298
Failed
 
299
All tests in the same test case must use the same test fixture
 
300
class, so mixing TEST_F and TEST in the same test case is
 
301
illegal.  In test case TEST_before_TEST_F_in_same_test_case,
 
302
test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
 
303
test DefinedUsingTEST is defined using TEST.  You probably
 
304
want to change the TEST to TEST_F or move it to another test
 
305
case.
 
306
[  FAILED  ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
 
307
[----------] 8 tests from ExpectNonfatalFailureTest
 
308
[ RUN      ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
 
309
[       OK ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
 
310
[ RUN      ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
 
311
[       OK ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
 
312
[ RUN      ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
 
313
[       OK ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
 
314
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
 
315
(expecting a failure)
 
316
gtest.cc:#: Failure
 
317
Expected: 1 non-fatal failure
 
318
  Actual: 0 failures
 
319
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
 
320
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
 
321
(expecting a failure)
 
322
gtest.cc:#: Failure
 
323
Expected: 1 non-fatal failure
 
324
  Actual: 2 failures
 
325
gtest_output_test_.cc:#: Non-fatal failure:
 
326
Failed
 
327
Expected non-fatal failure 1.
 
328
 
 
329
gtest_output_test_.cc:#: Non-fatal failure:
 
330
Failed
 
331
Expected non-fatal failure 2.
 
332
 
 
333
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
 
334
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
 
335
(expecting a failure)
 
336
gtest.cc:#: Failure
 
337
Expected: 1 non-fatal failure
 
338
  Actual:
 
339
gtest_output_test_.cc:#: Fatal failure:
 
340
Failed
 
341
Expected fatal failure.
 
342
 
 
343
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
 
344
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
 
345
(expecting a failure)
 
346
gtest.cc:#: Failure
 
347
Expected: 1 non-fatal failure
 
348
  Actual: 0 failures
 
349
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
 
350
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
 
351
(expecting a failure)
 
352
gtest.cc:#: Failure
 
353
Expected: 1 non-fatal failure
 
354
  Actual: 0 failures
 
355
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
 
356
[----------] 8 tests from ExpectFatalFailureTest
 
357
[ RUN      ] ExpectFatalFailureTest.CanReferenceGlobalVariables
 
358
[       OK ] ExpectFatalFailureTest.CanReferenceGlobalVariables
 
359
[ RUN      ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
 
360
[       OK ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
 
361
[ RUN      ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
 
362
[       OK ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
 
363
[ RUN      ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
 
364
(expecting a failure)
 
365
gtest.cc:#: Failure
 
366
Expected: 1 fatal failure
 
367
  Actual: 0 failures
 
368
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
 
369
[ RUN      ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
 
370
(expecting a failure)
 
371
gtest.cc:#: Failure
 
372
Expected: 1 fatal failure
 
373
  Actual: 2 failures
 
374
gtest_output_test_.cc:#: Fatal failure:
 
375
Failed
 
376
Expected fatal failure.
 
377
 
 
378
gtest_output_test_.cc:#: Fatal failure:
 
379
Failed
 
380
Expected fatal failure.
 
381
 
 
382
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
 
383
[ RUN      ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
 
384
(expecting a failure)
 
385
gtest.cc:#: Failure
 
386
Expected: 1 fatal failure
 
387
  Actual:
 
388
gtest_output_test_.cc:#: Non-fatal failure:
 
389
Failed
 
390
Expected non-fatal failure.
 
391
 
 
392
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
 
393
[ RUN      ] ExpectFatalFailureTest.FailsWhenStatementReturns
 
394
(expecting a failure)
 
395
gtest.cc:#: Failure
 
396
Expected: 1 fatal failure
 
397
  Actual: 0 failures
 
398
[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementReturns
 
399
[ RUN      ] ExpectFatalFailureTest.FailsWhenStatementThrows
 
400
(expecting a failure)
 
401
gtest.cc:#: Failure
 
402
Expected: 1 fatal failure
 
403
  Actual: 0 failures
 
404
[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementThrows
 
405
[----------] 2 tests from TypedTest/0, where TypeParam = int
 
406
[ RUN      ] TypedTest/0.Success
 
407
[       OK ] TypedTest/0.Success
 
408
[ RUN      ] TypedTest/0.Failure
 
409
gtest_output_test_.cc:#: Failure
 
410
Value of: TypeParam()
 
411
  Actual: 0
 
412
Expected: 1
 
413
Expected failure
 
414
[  FAILED  ] TypedTest/0.Failure
 
415
[----------] 2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
 
416
[ RUN      ] Unsigned/TypedTestP/0.Success
 
417
[       OK ] Unsigned/TypedTestP/0.Success
 
418
[ RUN      ] Unsigned/TypedTestP/0.Failure
 
419
gtest_output_test_.cc:#: Failure
 
420
Value of: TypeParam()
 
421
  Actual: \0
 
422
Expected: 1U
 
423
Which is: 1
 
424
Expected failure
 
425
[  FAILED  ] Unsigned/TypedTestP/0.Failure
 
426
[----------] 2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
 
427
[ RUN      ] Unsigned/TypedTestP/1.Success
 
428
[       OK ] Unsigned/TypedTestP/1.Success
 
429
[ RUN      ] Unsigned/TypedTestP/1.Failure
 
430
gtest_output_test_.cc:#: Failure
 
431
Value of: TypeParam()
 
432
  Actual: 0
 
433
Expected: 1U
 
434
Which is: 1
 
435
Expected failure
 
436
[  FAILED  ] Unsigned/TypedTestP/1.Failure
 
437
[----------] 4 tests from ExpectFailureTest
 
438
[ RUN      ] ExpectFailureTest.ExpectFatalFailure
 
439
(expecting 1 failure)
 
440
gtest.cc:#: Failure
 
441
Expected: 1 fatal failure
 
442
  Actual:
 
443
gtest_output_test_.cc:#: Success:
 
444
Succeeded
 
445
 
 
446
(expecting 1 failure)
 
447
gtest.cc:#: Failure
 
448
Expected: 1 fatal failure
 
449
  Actual:
 
450
gtest_output_test_.cc:#: Non-fatal failure:
 
451
Failed
 
452
Expected non-fatal failure.
 
453
 
 
454
(expecting 1 failure)
 
455
gtest.cc:#: Failure
 
456
Expected: 1 fatal failure containing "Some other fatal failure expected."
 
457
  Actual:
 
458
gtest_output_test_.cc:#: Fatal failure:
 
459
Failed
 
460
Expected fatal failure.
 
461
 
 
462
[  FAILED  ] ExpectFailureTest.ExpectFatalFailure
 
463
[ RUN      ] ExpectFailureTest.ExpectNonFatalFailure
 
464
(expecting 1 failure)
 
465
gtest.cc:#: Failure
 
466
Expected: 1 non-fatal failure
 
467
  Actual:
 
468
gtest_output_test_.cc:#: Success:
 
469
Succeeded
 
470
 
 
471
(expecting 1 failure)
 
472
gtest.cc:#: Failure
 
473
Expected: 1 non-fatal failure
 
474
  Actual:
 
475
gtest_output_test_.cc:#: Fatal failure:
 
476
Failed
 
477
Expected fatal failure.
 
478
 
 
479
(expecting 1 failure)
 
480
gtest.cc:#: Failure
 
481
Expected: 1 non-fatal failure containing "Some other non-fatal failure."
 
482
  Actual:
 
483
gtest_output_test_.cc:#: Non-fatal failure:
 
484
Failed
 
485
Expected non-fatal failure.
 
486
 
 
487
[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailure
 
488
[ RUN      ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
 
489
(expecting 1 failure)
 
490
gtest.cc:#: Failure
 
491
Expected: 1 fatal failure
 
492
  Actual:
 
493
gtest_output_test_.cc:#: Success:
 
494
Succeeded
 
495
 
 
496
(expecting 1 failure)
 
497
gtest.cc:#: Failure
 
498
Expected: 1 fatal failure
 
499
  Actual:
 
500
gtest_output_test_.cc:#: Non-fatal failure:
 
501
Failed
 
502
Expected non-fatal failure.
 
503
 
 
504
(expecting 1 failure)
 
505
gtest.cc:#: Failure
 
506
Expected: 1 fatal failure containing "Some other fatal failure expected."
 
507
  Actual:
 
508
gtest_output_test_.cc:#: Fatal failure:
 
509
Failed
 
510
Expected fatal failure.
 
511
 
 
512
[  FAILED  ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
 
513
[ RUN      ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
 
514
(expecting 1 failure)
 
515
gtest.cc:#: Failure
 
516
Expected: 1 non-fatal failure
 
517
  Actual:
 
518
gtest_output_test_.cc:#: Success:
 
519
Succeeded
 
520
 
 
521
(expecting 1 failure)
 
522
gtest.cc:#: Failure
 
523
Expected: 1 non-fatal failure
 
524
  Actual:
 
525
gtest_output_test_.cc:#: Fatal failure:
 
526
Failed
 
527
Expected fatal failure.
 
528
 
 
529
(expecting 1 failure)
 
530
gtest.cc:#: Failure
 
531
Expected: 1 non-fatal failure containing "Some other non-fatal failure."
 
532
  Actual:
 
533
gtest_output_test_.cc:#: Non-fatal failure:
 
534
Failed
 
535
Expected non-fatal failure.
 
536
 
 
537
[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
 
538
[----------] 2 tests from ExpectFailureWithThreadsTest
 
539
[ RUN      ] ExpectFailureWithThreadsTest.ExpectFatalFailure
 
540
(expecting 2 failures)
 
541
gtest_output_test_.cc:#: Failure
 
542
Failed
 
543
Expected fatal failure.
 
544
gtest.cc:#: Failure
 
545
Expected: 1 fatal failure
 
546
  Actual: 0 failures
 
547
[  FAILED  ] ExpectFailureWithThreadsTest.ExpectFatalFailure
 
548
[ RUN      ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
 
549
(expecting 2 failures)
 
550
gtest_output_test_.cc:#: Failure
 
551
Failed
 
552
Expected non-fatal failure.
 
553
gtest.cc:#: Failure
 
554
Expected: 1 non-fatal failure
 
555
  Actual: 0 failures
 
556
[  FAILED  ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
 
557
[----------] 1 test from ScopedFakeTestPartResultReporterTest
 
558
[ RUN      ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
 
559
(expecting 2 failures)
 
560
gtest_output_test_.cc:#: Failure
 
561
Failed
 
562
Expected fatal failure.
 
563
gtest_output_test_.cc:#: Failure
 
564
Failed
 
565
Expected non-fatal failure.
 
566
[  FAILED  ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
 
567
[----------] Global test environment tear-down
 
568
BarEnvironment::TearDown() called.
 
569
gtest_output_test_.cc:#: Failure
 
570
Failed
 
571
Expected non-fatal failure.
 
572
FooEnvironment::TearDown() called.
 
573
gtest_output_test_.cc:#: Failure
 
574
Failed
 
575
Expected fatal failure.
 
576
[==========] 60 tests from 25 test cases ran.
 
577
[  PASSED  ] 21 tests.
 
578
[  FAILED  ] 39 tests, listed below:
 
579
[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
 
580
[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
 
581
[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
 
582
[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
 
583
[  FAILED  ] SCOPED_TRACETest.ObeysScopes
 
584
[  FAILED  ] SCOPED_TRACETest.WorksInLoop
 
585
[  FAILED  ] SCOPED_TRACETest.WorksInSubroutine
 
586
[  FAILED  ] SCOPED_TRACETest.CanBeNested
 
587
[  FAILED  ] SCOPED_TRACETest.CanBeRepeated
 
588
[  FAILED  ] SCOPED_TRACETest.WorksConcurrently
 
589
[  FAILED  ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
 
590
[  FAILED  ] FatalFailureInFixtureConstructorTest.FailureInConstructor
 
591
[  FAILED  ] NonFatalFailureInSetUpTest.FailureInSetUp
 
592
[  FAILED  ] FatalFailureInSetUpTest.FailureInSetUp
 
593
[  FAILED  ] MixedUpTestCaseTest.ThisShouldFail
 
594
[  FAILED  ] MixedUpTestCaseTest.ThisShouldFailToo
 
595
[  FAILED  ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
 
596
[  FAILED  ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
 
597
[  FAILED  ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
 
598
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
 
599
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
 
600
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
 
601
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
 
602
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
 
603
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
 
604
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
 
605
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
 
606
[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementReturns
 
607
[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementThrows
 
608
[  FAILED  ] TypedTest/0.Failure, where TypeParam = int
 
609
[  FAILED  ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
 
610
[  FAILED  ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
 
611
[  FAILED  ] ExpectFailureTest.ExpectFatalFailure
 
612
[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailure
 
613
[  FAILED  ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
 
614
[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
 
615
[  FAILED  ] ExpectFailureWithThreadsTest.ExpectFatalFailure
 
616
[  FAILED  ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
 
617
[  FAILED  ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
 
618
 
 
619
39 FAILED TESTS
 
620
  YOU HAVE 1 DISABLED TEST
 
621
 
 
622
Note: Google Test filter = FatalFailureTest.*:LoggingTest.*
 
623
[==========] Running 4 tests from 2 test cases.
 
624
[----------] Global test environment set-up.
 
625
[----------] 3 tests from FatalFailureTest
 
626
[ RUN      ] FatalFailureTest.FatalFailureInSubroutine
 
627
(expecting a failure that x should be 1)
 
628
gtest_output_test_.cc:#: Failure
 
629
Value of: x
 
630
  Actual: 2
 
631
Expected: 1
 
632
[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine (? ms)
 
633
[ RUN      ] FatalFailureTest.FatalFailureInNestedSubroutine
 
634
(expecting a failure that x should be 1)
 
635
gtest_output_test_.cc:#: Failure
 
636
Value of: x
 
637
  Actual: 2
 
638
Expected: 1
 
639
[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
 
640
[ RUN      ] FatalFailureTest.NonfatalFailureInSubroutine
 
641
(expecting a failure on false)
 
642
gtest_output_test_.cc:#: Failure
 
643
Value of: false
 
644
  Actual: false
 
645
Expected: true
 
646
[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
 
647
[----------] 3 tests from FatalFailureTest (? ms total)
 
648
 
 
649
[----------] 1 test from LoggingTest
 
650
[ RUN      ] LoggingTest.InterleavingLoggingAndAssertions
 
651
(expecting 2 failures on (3) >= (a[i]))
 
652
i == 0
 
653
i == 1
 
654
gtest_output_test_.cc:#: Failure
 
655
Expected: (3) >= (a[i]), actual: 3 vs 9
 
656
i == 2
 
657
i == 3
 
658
gtest_output_test_.cc:#: Failure
 
659
Expected: (3) >= (a[i]), actual: 3 vs 6
 
660
[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
 
661
[----------] 1 test from LoggingTest (? ms total)
 
662
 
 
663
[----------] Global test environment tear-down
 
664
[==========] 4 tests from 2 test cases ran. (? ms total)
 
665
[  PASSED  ] 0 tests.
 
666
[  FAILED  ] 4 tests, listed below:
 
667
[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
 
668
[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
 
669
[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
 
670
[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
 
671
 
 
672
 4 FAILED TESTS
 
673
  YOU HAVE 1 DISABLED TEST
 
674
 
 
675
Note: Google Test filter = *DISABLED_*
 
676
[==========] Running 1 test from 1 test case.
 
677
[----------] Global test environment set-up.
 
678
[----------] 1 test from DisabledTestsWarningTest
 
679
[ RUN      ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
 
680
[       OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
 
681
[----------] Global test environment tear-down
 
682
[==========] 1 test from 1 test case ran.
 
683
[  PASSED  ] 1 test.
 
684
Note: Google Test filter = PassingTest.*
 
685
Note: This is test shard 1 of 2.
 
686
[==========] Running 1 test from 1 test case.
 
687
[----------] Global test environment set-up.
 
688
[----------] 1 test from PassingTest
 
689
[ RUN      ] PassingTest.PassingTest2
 
690
[       OK ] PassingTest.PassingTest2
 
691
[----------] Global test environment tear-down
 
692
[==========] 1 test from 1 test case ran.
 
693
[  PASSED  ] 1 test.
 
694
 
 
695
  YOU HAVE 1 DISABLED TEST
 
696