~ubuntu-branches/ubuntu/oneiric/mozc/oneiric

« back to all changes in this revision

Viewing changes to protobuf/files/gtest/test/gtest_output_test_golden_lin.txt

  • Committer: Bazaar Package Importer
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2010-07-14 03:26:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100714032647-13qjisj6m8cm8jdx
Tags: 0.12.410.102-1
* New upstream release (Closes: #588971).
  - Add mozc-server, mozc-utils-gui and scim-mozc packages.
* Update debian/rules.
  Add --gypdir option to build_mozc.py.
* Update debian/control.
  - Bumped standards-version to 3.9.0.
  - Update description.
* Add mozc icon (Closes: #588972).
* Add patch which revises issue 18.
  ibus_mozc_issue18.patch
* kFreeBSD build support.
  support_kfreebsd.patch

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