OpenCores
URL https://opencores.org/ocsvn/s80186/s80186/trunk

Subversion Repositories s80186

[/] [s80186/] [trunk/] [vendor/] [googletest/] [googletest/] [test/] [gtest_output_test_golden_lin.txt] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 jamieiles
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
      Expected: 2
9
To be equal to: 3
10
[==========] Running 66 tests from 29 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
[----------] 2 tests from NonfatalFailureTest
35
[ RUN      ] NonfatalFailureTest.EscapesStringOperands
36
gtest_output_test_.cc:#: Failure
37
      Expected: kGoldenString
38
      Which is: "\"Line"
39
To be equal to: actual
40
      Which is: "actual \"string\""
41
gtest_output_test_.cc:#: Failure
42
      Expected: golden
43
      Which is: "\"Line"
44
To be equal to: actual
45
      Which is: "actual \"string\""
46
[  FAILED  ] NonfatalFailureTest.EscapesStringOperands
47
[ RUN      ] NonfatalFailureTest.DiffForLongStrings
48
gtest_output_test_.cc:#: Failure
49
      Expected: golden_str
50
      Which is: "\"Line\0 1\"\nLine 2"
51
To be equal to: "Line 2"
52
With diff:
53
@@ -1,2 @@
54
-\"Line\0 1\"
55
 Line 2
56
 
57
[  FAILED  ] NonfatalFailureTest.DiffForLongStrings
58
[----------] 3 tests from FatalFailureTest
59
[ RUN      ] FatalFailureTest.FatalFailureInSubroutine
60
(expecting a failure that x should be 1)
61
gtest_output_test_.cc:#: Failure
62
      Expected: 1
63
To be equal to: x
64
      Which is: 2
65
[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
66
[ RUN      ] FatalFailureTest.FatalFailureInNestedSubroutine
67
(expecting a failure that x should be 1)
68
gtest_output_test_.cc:#: Failure
69
      Expected: 1
70
To be equal to: x
71
      Which is: 2
72
[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
73
[ RUN      ] FatalFailureTest.NonfatalFailureInSubroutine
74
(expecting a failure on false)
75
gtest_output_test_.cc:#: Failure
76
Value of: false
77
  Actual: false
78
Expected: true
79
[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
80
[----------] 1 test from LoggingTest
81
[ RUN      ] LoggingTest.InterleavingLoggingAndAssertions
82
(expecting 2 failures on (3) >= (a[i]))
83
i == 0
84
i == 1
85
gtest_output_test_.cc:#: Failure
86
Expected: (3) >= (a[i]), actual: 3 vs 9
87
i == 2
88
i == 3
89
gtest_output_test_.cc:#: Failure
90
Expected: (3) >= (a[i]), actual: 3 vs 6
91
[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
92
[----------] 6 tests from SCOPED_TRACETest
93
[ RUN      ] SCOPED_TRACETest.ObeysScopes
94
(expected to fail)
95
gtest_output_test_.cc:#: Failure
96
Failed
97
This failure is expected, and shouldn't have a trace.
98
gtest_output_test_.cc:#: Failure
99
Failed
100
This failure is expected, and should have a trace.
101
Google Test trace:
102
gtest_output_test_.cc:#: Expected trace
103
gtest_output_test_.cc:#: Failure
104
Failed
105
This failure is expected, and shouldn't have a trace.
106
[  FAILED  ] SCOPED_TRACETest.ObeysScopes
107
[ RUN      ] SCOPED_TRACETest.WorksInLoop
108
(expected to fail)
109
gtest_output_test_.cc:#: Failure
110
      Expected: 2
111
To be equal to: n
112
      Which is: 1
113
Google Test trace:
114
gtest_output_test_.cc:#: i = 1
115
gtest_output_test_.cc:#: Failure
116
      Expected: 1
117
To be equal to: n
118
      Which is: 2
119
Google Test trace:
120
gtest_output_test_.cc:#: i = 2
121
[  FAILED  ] SCOPED_TRACETest.WorksInLoop
122
[ RUN      ] SCOPED_TRACETest.WorksInSubroutine
123
(expected to fail)
124
gtest_output_test_.cc:#: Failure
125
      Expected: 2
126
To be equal to: n
127
      Which is: 1
128
Google Test trace:
129
gtest_output_test_.cc:#: n = 1
130
gtest_output_test_.cc:#: Failure
131
      Expected: 1
132
To be equal to: n
133
      Which is: 2
134
Google Test trace:
135
gtest_output_test_.cc:#: n = 2
136
[  FAILED  ] SCOPED_TRACETest.WorksInSubroutine
137
[ RUN      ] SCOPED_TRACETest.CanBeNested
138
(expected to fail)
139
gtest_output_test_.cc:#: Failure
140
      Expected: 1
141
To be equal to: n
142
      Which is: 2
143
Google Test trace:
144
gtest_output_test_.cc:#: n = 2
145
gtest_output_test_.cc:#:
146
[  FAILED  ] SCOPED_TRACETest.CanBeNested
147
[ RUN      ] SCOPED_TRACETest.CanBeRepeated
148
(expected to fail)
149
gtest_output_test_.cc:#: Failure
150
Failed
151
This failure is expected, and should contain trace point A.
152
Google Test trace:
153
gtest_output_test_.cc:#: A
154
gtest_output_test_.cc:#: Failure
155
Failed
156
This failure is expected, and should contain trace point A and B.
157
Google Test trace:
158
gtest_output_test_.cc:#: B
159
gtest_output_test_.cc:#: A
160
gtest_output_test_.cc:#: Failure
161
Failed
162
This failure is expected, and should contain trace point A, B, and C.
163
Google Test trace:
164
gtest_output_test_.cc:#: C
165
gtest_output_test_.cc:#: B
166
gtest_output_test_.cc:#: A
167
gtest_output_test_.cc:#: Failure
168
Failed
169
This failure is expected, and should contain trace point A, B, and D.
170
Google Test trace:
171
gtest_output_test_.cc:#: D
172
gtest_output_test_.cc:#: B
173
gtest_output_test_.cc:#: A
174
[  FAILED  ] SCOPED_TRACETest.CanBeRepeated
175
[ RUN      ] SCOPED_TRACETest.WorksConcurrently
176
(expecting 6 failures)
177
gtest_output_test_.cc:#: Failure
178
Failed
179
Expected failure #1 (in thread B, only trace B alive).
180
Google Test trace:
181
gtest_output_test_.cc:#: Trace B
182
gtest_output_test_.cc:#: Failure
183
Failed
184
Expected failure #2 (in thread A, trace A & B both alive).
185
Google Test trace:
186
gtest_output_test_.cc:#: Trace A
187
gtest_output_test_.cc:#: Failure
188
Failed
189
Expected failure #3 (in thread B, trace A & B both alive).
190
Google Test trace:
191
gtest_output_test_.cc:#: Trace B
192
gtest_output_test_.cc:#: Failure
193
Failed
194
Expected failure #4 (in thread B, only trace A alive).
195
gtest_output_test_.cc:#: Failure
196
Failed
197
Expected failure #5 (in thread A, only trace A alive).
198
Google Test trace:
199
gtest_output_test_.cc:#: Trace A
200
gtest_output_test_.cc:#: Failure
201
Failed
202
Expected failure #6 (in thread A, no trace alive).
203
[  FAILED  ] SCOPED_TRACETest.WorksConcurrently
204
[----------] 1 test from NonFatalFailureInFixtureConstructorTest
205
[ RUN      ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
206
(expecting 5 failures)
207
gtest_output_test_.cc:#: Failure
208
Failed
209
Expected failure #1, in the test fixture c'tor.
210
gtest_output_test_.cc:#: Failure
211
Failed
212
Expected failure #2, in SetUp().
213
gtest_output_test_.cc:#: Failure
214
Failed
215
Expected failure #3, in the test body.
216
gtest_output_test_.cc:#: Failure
217
Failed
218
Expected failure #4, in TearDown.
219
gtest_output_test_.cc:#: Failure
220
Failed
221
Expected failure #5, in the test fixture d'tor.
222
[  FAILED  ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
223
[----------] 1 test from FatalFailureInFixtureConstructorTest
224
[ RUN      ] FatalFailureInFixtureConstructorTest.FailureInConstructor
225
(expecting 2 failures)
226
gtest_output_test_.cc:#: Failure
227
Failed
228
Expected failure #1, in the test fixture c'tor.
229
gtest_output_test_.cc:#: Failure
230
Failed
231
Expected failure #2, in the test fixture d'tor.
232
[  FAILED  ] FatalFailureInFixtureConstructorTest.FailureInConstructor
233
[----------] 1 test from NonFatalFailureInSetUpTest
234
[ RUN      ] NonFatalFailureInSetUpTest.FailureInSetUp
235
(expecting 4 failures)
236
gtest_output_test_.cc:#: Failure
237
Failed
238
Expected failure #1, in SetUp().
239
gtest_output_test_.cc:#: Failure
240
Failed
241
Expected failure #2, in the test function.
242
gtest_output_test_.cc:#: Failure
243
Failed
244
Expected failure #3, in TearDown().
245
gtest_output_test_.cc:#: Failure
246
Failed
247
Expected failure #4, in the test fixture d'tor.
248
[  FAILED  ] NonFatalFailureInSetUpTest.FailureInSetUp
249
[----------] 1 test from FatalFailureInSetUpTest
250
[ RUN      ] FatalFailureInSetUpTest.FailureInSetUp
251
(expecting 3 failures)
252
gtest_output_test_.cc:#: Failure
253
Failed
254
Expected failure #1, in SetUp().
255
gtest_output_test_.cc:#: Failure
256
Failed
257
Expected failure #2, in TearDown().
258
gtest_output_test_.cc:#: Failure
259
Failed
260
Expected failure #3, in the test fixture d'tor.
261
[  FAILED  ] FatalFailureInSetUpTest.FailureInSetUp
262
[----------] 1 test from AddFailureAtTest
263
[ RUN      ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
264
foo.cc:42: Failure
265
Failed
266
Expected failure in foo.cc
267
[  FAILED  ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
268
[----------] 4 tests from MixedUpTestCaseTest
269
[ RUN      ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo
270
[       OK ] MixedUpTestCaseTest.FirstTestFromNamespaceFoo
271
[ RUN      ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo
272
[       OK ] MixedUpTestCaseTest.SecondTestFromNamespaceFoo
273
[ RUN      ] MixedUpTestCaseTest.ThisShouldFail
274
gtest.cc:#: Failure
275
Failed
276
All tests in the same test case must use the same test fixture
277
class.  However, in test case MixedUpTestCaseTest,
278
you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
279
using two different test fixture classes.  This can happen if
280
the two classes are from different namespaces or translation
281
units and have the same name.  You should probably rename one
282
of the classes to put the tests into different test cases.
283
[  FAILED  ] MixedUpTestCaseTest.ThisShouldFail
284
[ RUN      ] MixedUpTestCaseTest.ThisShouldFailToo
285
gtest.cc:#: Failure
286
Failed
287
All tests in the same test case must use the same test fixture
288
class.  However, in test case MixedUpTestCaseTest,
289
you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
290
using two different test fixture classes.  This can happen if
291
the two classes are from different namespaces or translation
292
units and have the same name.  You should probably rename one
293
of the classes to put the tests into different test cases.
294
[  FAILED  ] MixedUpTestCaseTest.ThisShouldFailToo
295
[----------] 2 tests from MixedUpTestCaseWithSameTestNameTest
296
[ RUN      ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
297
[       OK ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
298
[ RUN      ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
299
gtest.cc:#: Failure
300
Failed
301
All tests in the same test case must use the same test fixture
302
class.  However, in test case MixedUpTestCaseWithSameTestNameTest,
303
you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
304
using two different test fixture classes.  This can happen if
305
the two classes are from different namespaces or translation
306
units and have the same name.  You should probably rename one
307
of the classes to put the tests into different test cases.
308
[  FAILED  ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
309
[----------] 2 tests from TEST_F_before_TEST_in_same_test_case
310
[ RUN      ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
311
[       OK ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
312
[ RUN      ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
313
gtest.cc:#: Failure
314
Failed
315
All tests in the same test case must use the same test fixture
316
class, so mixing TEST_F and TEST in the same test case is
317
illegal.  In test case TEST_F_before_TEST_in_same_test_case,
318
test DefinedUsingTEST_F is defined using TEST_F but
319
test DefinedUsingTESTAndShouldFail is defined using TEST.  You probably
320
want to change the TEST to TEST_F or move it to another test
321
case.
322
[  FAILED  ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
323
[----------] 2 tests from TEST_before_TEST_F_in_same_test_case
324
[ RUN      ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
325
[       OK ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
326
[ RUN      ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
327
gtest.cc:#: Failure
328
Failed
329
All tests in the same test case must use the same test fixture
330
class, so mixing TEST_F and TEST in the same test case is
331
illegal.  In test case TEST_before_TEST_F_in_same_test_case,
332
test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
333
test DefinedUsingTEST is defined using TEST.  You probably
334
want to change the TEST to TEST_F or move it to another test
335
case.
336
[  FAILED  ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
337
[----------] 8 tests from ExpectNonfatalFailureTest
338
[ RUN      ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
339
[       OK ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
340
[ RUN      ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
341
[       OK ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
342
[ RUN      ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
343
[       OK ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
344
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
345
(expecting a failure)
346
gtest.cc:#: Failure
347
Expected: 1 non-fatal failure
348
  Actual: 0 failures
349
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
350
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
351
(expecting a failure)
352
gtest.cc:#: Failure
353
Expected: 1 non-fatal failure
354
  Actual: 2 failures
355
gtest_output_test_.cc:#: Non-fatal failure:
356
Failed
357
Expected non-fatal failure 1.
358
 
359
gtest_output_test_.cc:#: Non-fatal failure:
360
Failed
361
Expected non-fatal failure 2.
362
 
363
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
364
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
365
(expecting a failure)
366
gtest.cc:#: Failure
367
Expected: 1 non-fatal failure
368
  Actual:
369
gtest_output_test_.cc:#: Fatal failure:
370
Failed
371
Expected fatal failure.
372
 
373
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
374
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
375
(expecting a failure)
376
gtest.cc:#: Failure
377
Expected: 1 non-fatal failure
378
  Actual: 0 failures
379
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
380
[ RUN      ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
381
(expecting a failure)
382
gtest.cc:#: Failure
383
Expected: 1 non-fatal failure
384
  Actual: 0 failures
385
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
386
[----------] 8 tests from ExpectFatalFailureTest
387
[ RUN      ] ExpectFatalFailureTest.CanReferenceGlobalVariables
388
[       OK ] ExpectFatalFailureTest.CanReferenceGlobalVariables
389
[ RUN      ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
390
[       OK ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
391
[ RUN      ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
392
[       OK ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
393
[ RUN      ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
394
(expecting a failure)
395
gtest.cc:#: Failure
396
Expected: 1 fatal failure
397
  Actual: 0 failures
398
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
399
[ RUN      ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
400
(expecting a failure)
401
gtest.cc:#: Failure
402
Expected: 1 fatal failure
403
  Actual: 2 failures
404
gtest_output_test_.cc:#: Fatal failure:
405
Failed
406
Expected fatal failure.
407
 
408
gtest_output_test_.cc:#: Fatal failure:
409
Failed
410
Expected fatal failure.
411
 
412
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
413
[ RUN      ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
414
(expecting a failure)
415
gtest.cc:#: Failure
416
Expected: 1 fatal failure
417
  Actual:
418
gtest_output_test_.cc:#: Non-fatal failure:
419
Failed
420
Expected non-fatal failure.
421
 
422
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
423
[ RUN      ] ExpectFatalFailureTest.FailsWhenStatementReturns
424
(expecting a failure)
425
gtest.cc:#: Failure
426
Expected: 1 fatal failure
427
  Actual: 0 failures
428
[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementReturns
429
[ RUN      ] ExpectFatalFailureTest.FailsWhenStatementThrows
430
(expecting a failure)
431
gtest.cc:#: Failure
432
Expected: 1 fatal failure
433
  Actual: 0 failures
434
[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementThrows
435
[----------] 2 tests from TypedTest/0, where TypeParam = int
436
[ RUN      ] TypedTest/0.Success
437
[       OK ] TypedTest/0.Success
438
[ RUN      ] TypedTest/0.Failure
439
gtest_output_test_.cc:#: Failure
440
      Expected: 1
441
To be equal to: TypeParam()
442
      Which is: 0
443
Expected failure
444
[  FAILED  ] TypedTest/0.Failure, where TypeParam = int
445
[----------] 2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
446
[ RUN      ] Unsigned/TypedTestP/0.Success
447
[       OK ] Unsigned/TypedTestP/0.Success
448
[ RUN      ] Unsigned/TypedTestP/0.Failure
449
gtest_output_test_.cc:#: Failure
450
      Expected: 1U
451
      Which is: 1
452
To be equal to: TypeParam()
453
      Which is: '\0'
454
Expected failure
455
[  FAILED  ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
456
[----------] 2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
457
[ RUN      ] Unsigned/TypedTestP/1.Success
458
[       OK ] Unsigned/TypedTestP/1.Success
459
[ RUN      ] Unsigned/TypedTestP/1.Failure
460
gtest_output_test_.cc:#: Failure
461
      Expected: 1U
462
      Which is: 1
463
To be equal to: TypeParam()
464
      Which is: 0
465
Expected failure
466
[  FAILED  ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
467
[----------] 4 tests from ExpectFailureTest
468
[ RUN      ] ExpectFailureTest.ExpectFatalFailure
469
(expecting 1 failure)
470
gtest.cc:#: Failure
471
Expected: 1 fatal failure
472
  Actual:
473
gtest_output_test_.cc:#: Success:
474
Succeeded
475
 
476
(expecting 1 failure)
477
gtest.cc:#: Failure
478
Expected: 1 fatal failure
479
  Actual:
480
gtest_output_test_.cc:#: Non-fatal failure:
481
Failed
482
Expected non-fatal failure.
483
 
484
(expecting 1 failure)
485
gtest.cc:#: Failure
486
Expected: 1 fatal failure containing "Some other fatal failure expected."
487
  Actual:
488
gtest_output_test_.cc:#: Fatal failure:
489
Failed
490
Expected fatal failure.
491
 
492
[  FAILED  ] ExpectFailureTest.ExpectFatalFailure
493
[ RUN      ] ExpectFailureTest.ExpectNonFatalFailure
494
(expecting 1 failure)
495
gtest.cc:#: Failure
496
Expected: 1 non-fatal failure
497
  Actual:
498
gtest_output_test_.cc:#: Success:
499
Succeeded
500
 
501
(expecting 1 failure)
502
gtest.cc:#: Failure
503
Expected: 1 non-fatal failure
504
  Actual:
505
gtest_output_test_.cc:#: Fatal failure:
506
Failed
507
Expected fatal failure.
508
 
509
(expecting 1 failure)
510
gtest.cc:#: Failure
511
Expected: 1 non-fatal failure containing "Some other non-fatal failure."
512
  Actual:
513
gtest_output_test_.cc:#: Non-fatal failure:
514
Failed
515
Expected non-fatal failure.
516
 
517
[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailure
518
[ RUN      ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
519
(expecting 1 failure)
520
gtest.cc:#: Failure
521
Expected: 1 fatal failure
522
  Actual:
523
gtest_output_test_.cc:#: Success:
524
Succeeded
525
 
526
(expecting 1 failure)
527
gtest.cc:#: Failure
528
Expected: 1 fatal failure
529
  Actual:
530
gtest_output_test_.cc:#: Non-fatal failure:
531
Failed
532
Expected non-fatal failure.
533
 
534
(expecting 1 failure)
535
gtest.cc:#: Failure
536
Expected: 1 fatal failure containing "Some other fatal failure expected."
537
  Actual:
538
gtest_output_test_.cc:#: Fatal failure:
539
Failed
540
Expected fatal failure.
541
 
542
[  FAILED  ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
543
[ RUN      ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
544
(expecting 1 failure)
545
gtest.cc:#: Failure
546
Expected: 1 non-fatal failure
547
  Actual:
548
gtest_output_test_.cc:#: Success:
549
Succeeded
550
 
551
(expecting 1 failure)
552
gtest.cc:#: Failure
553
Expected: 1 non-fatal failure
554
  Actual:
555
gtest_output_test_.cc:#: Fatal failure:
556
Failed
557
Expected fatal failure.
558
 
559
(expecting 1 failure)
560
gtest.cc:#: Failure
561
Expected: 1 non-fatal failure containing "Some other non-fatal failure."
562
  Actual:
563
gtest_output_test_.cc:#: Non-fatal failure:
564
Failed
565
Expected non-fatal failure.
566
 
567
[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
568
[----------] 2 tests from ExpectFailureWithThreadsTest
569
[ RUN      ] ExpectFailureWithThreadsTest.ExpectFatalFailure
570
(expecting 2 failures)
571
gtest_output_test_.cc:#: Failure
572
Failed
573
Expected fatal failure.
574
gtest.cc:#: Failure
575
Expected: 1 fatal failure
576
  Actual: 0 failures
577
[  FAILED  ] ExpectFailureWithThreadsTest.ExpectFatalFailure
578
[ RUN      ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
579
(expecting 2 failures)
580
gtest_output_test_.cc:#: Failure
581
Failed
582
Expected non-fatal failure.
583
gtest.cc:#: Failure
584
Expected: 1 non-fatal failure
585
  Actual: 0 failures
586
[  FAILED  ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
587
[----------] 1 test from ScopedFakeTestPartResultReporterTest
588
[ RUN      ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
589
(expecting 2 failures)
590
gtest_output_test_.cc:#: Failure
591
Failed
592
Expected fatal failure.
593
gtest_output_test_.cc:#: Failure
594
Failed
595
Expected non-fatal failure.
596
[  FAILED  ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
597
[----------] 1 test from PrintingFailingParams/FailingParamTest
598
[ RUN      ] PrintingFailingParams/FailingParamTest.Fails/0
599
gtest_output_test_.cc:#: Failure
600
      Expected: 1
601
To be equal to: GetParam()
602
      Which is: 2
603
[  FAILED  ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
604
[----------] 2 tests from PrintingStrings/ParamTest
605
[ RUN      ] PrintingStrings/ParamTest.Success/a
606
[       OK ] PrintingStrings/ParamTest.Success/a
607
[ RUN      ] PrintingStrings/ParamTest.Failure/a
608
gtest_output_test_.cc:#: Failure
609
      Expected: "b"
610
To be equal to: GetParam()
611
      Which is: "a"
612
Expected failure
613
[  FAILED  ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
614
[----------] Global test environment tear-down
615
BarEnvironment::TearDown() called.
616
gtest_output_test_.cc:#: Failure
617
Failed
618
Expected non-fatal failure.
619
FooEnvironment::TearDown() called.
620
gtest_output_test_.cc:#: Failure
621
Failed
622
Expected fatal failure.
623
[==========] 66 tests from 29 test cases ran.
624
[  PASSED  ] 22 tests.
625
[  FAILED  ] 44 tests, listed below:
626
[  FAILED  ] NonfatalFailureTest.EscapesStringOperands
627
[  FAILED  ] NonfatalFailureTest.DiffForLongStrings
628
[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
629
[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
630
[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
631
[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
632
[  FAILED  ] SCOPED_TRACETest.ObeysScopes
633
[  FAILED  ] SCOPED_TRACETest.WorksInLoop
634
[  FAILED  ] SCOPED_TRACETest.WorksInSubroutine
635
[  FAILED  ] SCOPED_TRACETest.CanBeNested
636
[  FAILED  ] SCOPED_TRACETest.CanBeRepeated
637
[  FAILED  ] SCOPED_TRACETest.WorksConcurrently
638
[  FAILED  ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
639
[  FAILED  ] FatalFailureInFixtureConstructorTest.FailureInConstructor
640
[  FAILED  ] NonFatalFailureInSetUpTest.FailureInSetUp
641
[  FAILED  ] FatalFailureInSetUpTest.FailureInSetUp
642
[  FAILED  ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
643
[  FAILED  ] MixedUpTestCaseTest.ThisShouldFail
644
[  FAILED  ] MixedUpTestCaseTest.ThisShouldFailToo
645
[  FAILED  ] MixedUpTestCaseWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
646
[  FAILED  ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
647
[  FAILED  ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
648
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
649
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
650
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
651
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
652
[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
653
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
654
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
655
[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
656
[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementReturns
657
[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementThrows
658
[  FAILED  ] TypedTest/0.Failure, where TypeParam = int
659
[  FAILED  ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
660
[  FAILED  ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
661
[  FAILED  ] ExpectFailureTest.ExpectFatalFailure
662
[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailure
663
[  FAILED  ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
664
[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
665
[  FAILED  ] ExpectFailureWithThreadsTest.ExpectFatalFailure
666
[  FAILED  ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
667
[  FAILED  ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
668
[  FAILED  ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
669
[  FAILED  ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
670
 
671
44 FAILED TESTS
672
  YOU HAVE 1 DISABLED TEST
673
 
674
Note: Google Test filter = FatalFailureTest.*:LoggingTest.*
675
[==========] Running 4 tests from 2 test cases.
676
[----------] Global test environment set-up.
677
[----------] 3 tests from FatalFailureTest
678
[ RUN      ] FatalFailureTest.FatalFailureInSubroutine
679
(expecting a failure that x should be 1)
680
gtest_output_test_.cc:#: Failure
681
      Expected: 1
682
To be equal to: x
683
      Which is: 2
684
[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine (? ms)
685
[ RUN      ] FatalFailureTest.FatalFailureInNestedSubroutine
686
(expecting a failure that x should be 1)
687
gtest_output_test_.cc:#: Failure
688
      Expected: 1
689
To be equal to: x
690
      Which is: 2
691
[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
692
[ RUN      ] FatalFailureTest.NonfatalFailureInSubroutine
693
(expecting a failure on false)
694
gtest_output_test_.cc:#: Failure
695
Value of: false
696
  Actual: false
697
Expected: true
698
[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
699
[----------] 3 tests from FatalFailureTest (? ms total)
700
 
701
[----------] 1 test from LoggingTest
702
[ RUN      ] LoggingTest.InterleavingLoggingAndAssertions
703
(expecting 2 failures on (3) >= (a[i]))
704
i == 0
705
i == 1
706
gtest_output_test_.cc:#: Failure
707
Expected: (3) >= (a[i]), actual: 3 vs 9
708
i == 2
709
i == 3
710
gtest_output_test_.cc:#: Failure
711
Expected: (3) >= (a[i]), actual: 3 vs 6
712
[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
713
[----------] 1 test from LoggingTest (? ms total)
714
 
715
[----------] Global test environment tear-down
716
[==========] 4 tests from 2 test cases ran. (? ms total)
717
[  PASSED  ] 0 tests.
718
[  FAILED  ] 4 tests, listed below:
719
[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
720
[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
721
[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
722
[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
723
 
724
 4 FAILED TESTS
725
Note: Google Test filter = *DISABLED_*
726
[==========] Running 1 test from 1 test case.
727
[----------] Global test environment set-up.
728
[----------] 1 test from DisabledTestsWarningTest
729
[ RUN      ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
730
[       OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
731
[----------] Global test environment tear-down
732
[==========] 1 test from 1 test case ran.
733
[  PASSED  ] 1 test.
734
Note: Google Test filter = PassingTest.*
735
Note: This is test shard 2 of 2.
736
[==========] Running 1 test from 1 test case.
737
[----------] Global test environment set-up.
738
[----------] 1 test from PassingTest
739
[ RUN      ] PassingTest.PassingTest2
740
[       OK ] PassingTest.PassingTest2
741
[----------] Global test environment tear-down
742
[==========] 1 test from 1 test case ran.
743
[  PASSED  ] 1 test.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.