]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/third_party/googletest/googletest/test/googletest-output-test-golden-lin.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / googletest / googletest / test / googletest-output-test-golden-lin.txt
CommitLineData
31f18b77
FG
1The non-test part of the code is expected to have 2 failures.
2
1e59de90 3googletest-output-test_.cc:#: Failure
31f18b77
FG
4Value of: false
5 Actual: false
6Expected: true
1e59de90
TL
7Stack trace: (omitted)
8
9googletest-output-test_.cc:#: Failure
10Expected equality of these values:
11 2
12 3
13Stack trace: (omitted)
14
15\e[0;32m[==========] \e[mRunning 88 tests from 41 test suites.
31f18b77
FG
16\e[0;32m[----------] \e[mGlobal test environment set-up.
17FooEnvironment::SetUp() called.
18BarEnvironment::SetUp() called.
19\e[0;32m[----------] \e[m1 test from ADeathTest
20\e[0;32m[ RUN ] \e[mADeathTest.ShouldRunFirst
21\e[0;32m[ OK ] \e[mADeathTest.ShouldRunFirst
22\e[0;32m[----------] \e[m1 test from ATypedDeathTest/0, where TypeParam = int
23\e[0;32m[ RUN ] \e[mATypedDeathTest/0.ShouldRunFirst
24\e[0;32m[ OK ] \e[mATypedDeathTest/0.ShouldRunFirst
25\e[0;32m[----------] \e[m1 test from ATypedDeathTest/1, where TypeParam = double
26\e[0;32m[ RUN ] \e[mATypedDeathTest/1.ShouldRunFirst
27\e[0;32m[ OK ] \e[mATypedDeathTest/1.ShouldRunFirst
28\e[0;32m[----------] \e[m1 test from My/ATypeParamDeathTest/0, where TypeParam = int
29\e[0;32m[ RUN ] \e[mMy/ATypeParamDeathTest/0.ShouldRunFirst
30\e[0;32m[ OK ] \e[mMy/ATypeParamDeathTest/0.ShouldRunFirst
31\e[0;32m[----------] \e[m1 test from My/ATypeParamDeathTest/1, where TypeParam = double
32\e[0;32m[ RUN ] \e[mMy/ATypeParamDeathTest/1.ShouldRunFirst
33\e[0;32m[ OK ] \e[mMy/ATypeParamDeathTest/1.ShouldRunFirst
34\e[0;32m[----------] \e[m2 tests from PassingTest
35\e[0;32m[ RUN ] \e[mPassingTest.PassingTest1
36\e[0;32m[ OK ] \e[mPassingTest.PassingTest1
37\e[0;32m[ RUN ] \e[mPassingTest.PassingTest2
38\e[0;32m[ OK ] \e[mPassingTest.PassingTest2
39\e[0;32m[----------] \e[m2 tests from NonfatalFailureTest
40\e[0;32m[ RUN ] \e[mNonfatalFailureTest.EscapesStringOperands
1e59de90
TL
41googletest-output-test_.cc:#: Failure
42Expected equality of these values:
43 kGoldenString
44 Which is: "\"Line"
45 actual
46 Which is: "actual \"string\""
47Stack trace: (omitted)
48
49googletest-output-test_.cc:#: Failure
50Expected equality of these values:
51 golden
52 Which is: "\"Line"
53 actual
54 Which is: "actual \"string\""
55Stack trace: (omitted)
56
31f18b77
FG
57\e[0;31m[ FAILED ] \e[mNonfatalFailureTest.EscapesStringOperands
58\e[0;32m[ RUN ] \e[mNonfatalFailureTest.DiffForLongStrings
1e59de90
TL
59googletest-output-test_.cc:#: Failure
60Expected equality of these values:
61 golden_str
62 Which is: "\"Line\0 1\"\nLine 2"
63 "Line 2"
31f18b77
FG
64With diff:
65@@ -1,2 @@
66-\"Line\0 1\"
67 Line 2
68
1e59de90
TL
69Stack trace: (omitted)
70
31f18b77
FG
71\e[0;31m[ FAILED ] \e[mNonfatalFailureTest.DiffForLongStrings
72\e[0;32m[----------] \e[m3 tests from FatalFailureTest
73\e[0;32m[ RUN ] \e[mFatalFailureTest.FatalFailureInSubroutine
74(expecting a failure that x should be 1)
1e59de90
TL
75googletest-output-test_.cc:#: Failure
76Expected equality of these values:
77 1
78 x
79 Which is: 2
80Stack trace: (omitted)
81
31f18b77
FG
82\e[0;31m[ FAILED ] \e[mFatalFailureTest.FatalFailureInSubroutine
83\e[0;32m[ RUN ] \e[mFatalFailureTest.FatalFailureInNestedSubroutine
84(expecting a failure that x should be 1)
1e59de90
TL
85googletest-output-test_.cc:#: Failure
86Expected equality of these values:
87 1
88 x
89 Which is: 2
90Stack trace: (omitted)
91
31f18b77
FG
92\e[0;31m[ FAILED ] \e[mFatalFailureTest.FatalFailureInNestedSubroutine
93\e[0;32m[ RUN ] \e[mFatalFailureTest.NonfatalFailureInSubroutine
94(expecting a failure on false)
1e59de90 95googletest-output-test_.cc:#: Failure
31f18b77
FG
96Value of: false
97 Actual: false
98Expected: true
1e59de90
TL
99Stack trace: (omitted)
100
31f18b77
FG
101\e[0;31m[ FAILED ] \e[mFatalFailureTest.NonfatalFailureInSubroutine
102\e[0;32m[----------] \e[m1 test from LoggingTest
103\e[0;32m[ RUN ] \e[mLoggingTest.InterleavingLoggingAndAssertions
104(expecting 2 failures on (3) >= (a[i]))
105i == 0
106i == 1
1e59de90 107googletest-output-test_.cc:#: Failure
31f18b77 108Expected: (3) >= (a[i]), actual: 3 vs 9
1e59de90
TL
109Stack trace: (omitted)
110
31f18b77
FG
111i == 2
112i == 3
1e59de90 113googletest-output-test_.cc:#: Failure
31f18b77 114Expected: (3) >= (a[i]), actual: 3 vs 6
1e59de90
TL
115Stack trace: (omitted)
116
31f18b77 117\e[0;31m[ FAILED ] \e[mLoggingTest.InterleavingLoggingAndAssertions
1e59de90
TL
118\e[0;32m[----------] \e[m7 tests from SCOPED_TRACETest
119\e[0;32m[ RUN ] \e[mSCOPED_TRACETest.AcceptedValues
120googletest-output-test_.cc:#: Failure
121Failed
122Just checking that all these values work fine.
123Google Test trace:
124googletest-output-test_.cc:#: (null)
125googletest-output-test_.cc:#: 1337
126googletest-output-test_.cc:#: std::string
127googletest-output-test_.cc:#: literal string
128Stack trace: (omitted)
129
130\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.AcceptedValues
31f18b77
FG
131\e[0;32m[ RUN ] \e[mSCOPED_TRACETest.ObeysScopes
132(expected to fail)
1e59de90 133googletest-output-test_.cc:#: Failure
31f18b77
FG
134Failed
135This failure is expected, and shouldn't have a trace.
1e59de90
TL
136Stack trace: (omitted)
137
138googletest-output-test_.cc:#: Failure
31f18b77
FG
139Failed
140This failure is expected, and should have a trace.
141Google Test trace:
1e59de90
TL
142googletest-output-test_.cc:#: Expected trace
143Stack trace: (omitted)
144
145googletest-output-test_.cc:#: Failure
31f18b77
FG
146Failed
147This failure is expected, and shouldn't have a trace.
1e59de90
TL
148Stack trace: (omitted)
149
31f18b77
FG
150\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.ObeysScopes
151\e[0;32m[ RUN ] \e[mSCOPED_TRACETest.WorksInLoop
152(expected to fail)
1e59de90
TL
153googletest-output-test_.cc:#: Failure
154Expected equality of these values:
155 2
156 n
157 Which is: 1
31f18b77 158Google Test trace:
1e59de90
TL
159googletest-output-test_.cc:#: i = 1
160Stack trace: (omitted)
161
162googletest-output-test_.cc:#: Failure
163Expected equality of these values:
164 1
165 n
166 Which is: 2
31f18b77 167Google Test trace:
1e59de90
TL
168googletest-output-test_.cc:#: i = 2
169Stack trace: (omitted)
170
31f18b77
FG
171\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.WorksInLoop
172\e[0;32m[ RUN ] \e[mSCOPED_TRACETest.WorksInSubroutine
173(expected to fail)
1e59de90
TL
174googletest-output-test_.cc:#: Failure
175Expected equality of these values:
176 2
177 n
178 Which is: 1
31f18b77 179Google Test trace:
1e59de90
TL
180googletest-output-test_.cc:#: n = 1
181Stack trace: (omitted)
182
183googletest-output-test_.cc:#: Failure
184Expected equality of these values:
185 1
186 n
187 Which is: 2
31f18b77 188Google Test trace:
1e59de90
TL
189googletest-output-test_.cc:#: n = 2
190Stack trace: (omitted)
191
31f18b77
FG
192\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.WorksInSubroutine
193\e[0;32m[ RUN ] \e[mSCOPED_TRACETest.CanBeNested
194(expected to fail)
1e59de90
TL
195googletest-output-test_.cc:#: Failure
196Expected equality of these values:
197 1
198 n
199 Which is: 2
31f18b77 200Google Test trace:
1e59de90
TL
201googletest-output-test_.cc:#: n = 2
202googletest-output-test_.cc:#:
203Stack trace: (omitted)
204
31f18b77
FG
205\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.CanBeNested
206\e[0;32m[ RUN ] \e[mSCOPED_TRACETest.CanBeRepeated
207(expected to fail)
1e59de90 208googletest-output-test_.cc:#: Failure
31f18b77
FG
209Failed
210This failure is expected, and should contain trace point A.
211Google Test trace:
1e59de90
TL
212googletest-output-test_.cc:#: A
213Stack trace: (omitted)
214
215googletest-output-test_.cc:#: Failure
31f18b77
FG
216Failed
217This failure is expected, and should contain trace point A and B.
218Google Test trace:
1e59de90
TL
219googletest-output-test_.cc:#: B
220googletest-output-test_.cc:#: A
221Stack trace: (omitted)
222
223googletest-output-test_.cc:#: Failure
31f18b77
FG
224Failed
225This failure is expected, and should contain trace point A, B, and C.
226Google Test trace:
1e59de90
TL
227googletest-output-test_.cc:#: C
228googletest-output-test_.cc:#: B
229googletest-output-test_.cc:#: A
230Stack trace: (omitted)
231
232googletest-output-test_.cc:#: Failure
31f18b77
FG
233Failed
234This failure is expected, and should contain trace point A, B, and D.
235Google Test trace:
1e59de90
TL
236googletest-output-test_.cc:#: D
237googletest-output-test_.cc:#: B
238googletest-output-test_.cc:#: A
239Stack trace: (omitted)
240
31f18b77
FG
241\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.CanBeRepeated
242\e[0;32m[ RUN ] \e[mSCOPED_TRACETest.WorksConcurrently
243(expecting 6 failures)
1e59de90 244googletest-output-test_.cc:#: Failure
31f18b77
FG
245Failed
246Expected failure #1 (in thread B, only trace B alive).
247Google Test trace:
1e59de90
TL
248googletest-output-test_.cc:#: Trace B
249Stack trace: (omitted)
250
251googletest-output-test_.cc:#: Failure
31f18b77
FG
252Failed
253Expected failure #2 (in thread A, trace A & B both alive).
254Google Test trace:
1e59de90
TL
255googletest-output-test_.cc:#: Trace A
256Stack trace: (omitted)
257
258googletest-output-test_.cc:#: Failure
31f18b77
FG
259Failed
260Expected failure #3 (in thread B, trace A & B both alive).
261Google Test trace:
1e59de90
TL
262googletest-output-test_.cc:#: Trace B
263Stack trace: (omitted)
264
265googletest-output-test_.cc:#: Failure
31f18b77
FG
266Failed
267Expected failure #4 (in thread B, only trace A alive).
1e59de90
TL
268Stack trace: (omitted)
269
270googletest-output-test_.cc:#: Failure
31f18b77
FG
271Failed
272Expected failure #5 (in thread A, only trace A alive).
273Google Test trace:
1e59de90
TL
274googletest-output-test_.cc:#: Trace A
275Stack trace: (omitted)
276
277googletest-output-test_.cc:#: Failure
31f18b77
FG
278Failed
279Expected failure #6 (in thread A, no trace alive).
1e59de90
TL
280Stack trace: (omitted)
281
31f18b77 282\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.WorksConcurrently
1e59de90
TL
283\e[0;32m[----------] \e[m1 test from ScopedTraceTest
284\e[0;32m[ RUN ] \e[mScopedTraceTest.WithExplicitFileAndLine
285googletest-output-test_.cc:#: Failure
286Failed
287Check that the trace is attached to a particular location.
288Google Test trace:
289explicit_file.cc:123: expected trace message
290Stack trace: (omitted)
291
292\e[0;31m[ FAILED ] \e[mScopedTraceTest.WithExplicitFileAndLine
31f18b77
FG
293\e[0;32m[----------] \e[m1 test from NonFatalFailureInFixtureConstructorTest
294\e[0;32m[ RUN ] \e[mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
295(expecting 5 failures)
1e59de90 296googletest-output-test_.cc:#: Failure
31f18b77
FG
297Failed
298Expected failure #1, in the test fixture c'tor.
1e59de90
TL
299Stack trace: (omitted)
300
301googletest-output-test_.cc:#: Failure
31f18b77
FG
302Failed
303Expected failure #2, in SetUp().
1e59de90
TL
304Stack trace: (omitted)
305
306googletest-output-test_.cc:#: Failure
31f18b77
FG
307Failed
308Expected failure #3, in the test body.
1e59de90
TL
309Stack trace: (omitted)
310
311googletest-output-test_.cc:#: Failure
31f18b77
FG
312Failed
313Expected failure #4, in TearDown.
1e59de90
TL
314Stack trace: (omitted)
315
316googletest-output-test_.cc:#: Failure
31f18b77
FG
317Failed
318Expected failure #5, in the test fixture d'tor.
1e59de90
TL
319Stack trace: (omitted)
320
31f18b77
FG
321\e[0;31m[ FAILED ] \e[mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
322\e[0;32m[----------] \e[m1 test from FatalFailureInFixtureConstructorTest
323\e[0;32m[ RUN ] \e[mFatalFailureInFixtureConstructorTest.FailureInConstructor
324(expecting 2 failures)
1e59de90 325googletest-output-test_.cc:#: Failure
31f18b77
FG
326Failed
327Expected failure #1, in the test fixture c'tor.
1e59de90
TL
328Stack trace: (omitted)
329
330googletest-output-test_.cc:#: Failure
31f18b77
FG
331Failed
332Expected failure #2, in the test fixture d'tor.
1e59de90
TL
333Stack trace: (omitted)
334
31f18b77
FG
335\e[0;31m[ FAILED ] \e[mFatalFailureInFixtureConstructorTest.FailureInConstructor
336\e[0;32m[----------] \e[m1 test from NonFatalFailureInSetUpTest
337\e[0;32m[ RUN ] \e[mNonFatalFailureInSetUpTest.FailureInSetUp
338(expecting 4 failures)
1e59de90 339googletest-output-test_.cc:#: Failure
31f18b77
FG
340Failed
341Expected failure #1, in SetUp().
1e59de90
TL
342Stack trace: (omitted)
343
344googletest-output-test_.cc:#: Failure
31f18b77
FG
345Failed
346Expected failure #2, in the test function.
1e59de90
TL
347Stack trace: (omitted)
348
349googletest-output-test_.cc:#: Failure
31f18b77
FG
350Failed
351Expected failure #3, in TearDown().
1e59de90
TL
352Stack trace: (omitted)
353
354googletest-output-test_.cc:#: Failure
31f18b77
FG
355Failed
356Expected failure #4, in the test fixture d'tor.
1e59de90
TL
357Stack trace: (omitted)
358
31f18b77
FG
359\e[0;31m[ FAILED ] \e[mNonFatalFailureInSetUpTest.FailureInSetUp
360\e[0;32m[----------] \e[m1 test from FatalFailureInSetUpTest
361\e[0;32m[ RUN ] \e[mFatalFailureInSetUpTest.FailureInSetUp
362(expecting 3 failures)
1e59de90 363googletest-output-test_.cc:#: Failure
31f18b77
FG
364Failed
365Expected failure #1, in SetUp().
1e59de90
TL
366Stack trace: (omitted)
367
368googletest-output-test_.cc:#: Failure
31f18b77
FG
369Failed
370Expected failure #2, in TearDown().
1e59de90
TL
371Stack trace: (omitted)
372
373googletest-output-test_.cc:#: Failure
31f18b77
FG
374Failed
375Expected failure #3, in the test fixture d'tor.
1e59de90
TL
376Stack trace: (omitted)
377
31f18b77
FG
378\e[0;31m[ FAILED ] \e[mFatalFailureInSetUpTest.FailureInSetUp
379\e[0;32m[----------] \e[m1 test from AddFailureAtTest
380\e[0;32m[ RUN ] \e[mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
381foo.cc:42: Failure
382Failed
1e59de90
TL
383Expected nonfatal failure in foo.cc
384Stack trace: (omitted)
385
31f18b77 386\e[0;31m[ FAILED ] \e[mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
1e59de90
TL
387\e[0;32m[----------] \e[m1 test from GtestFailAtTest
388\e[0;32m[ RUN ] \e[mGtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
389foo.cc:42: Failure
390Failed
391Expected fatal failure in foo.cc
392Stack trace: (omitted)
393
394\e[0;31m[ FAILED ] \e[mGtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
395\e[0;32m[----------] \e[m4 tests from MixedUpTestSuiteTest
396\e[0;32m[ RUN ] \e[mMixedUpTestSuiteTest.FirstTestFromNamespaceFoo
397\e[0;32m[ OK ] \e[mMixedUpTestSuiteTest.FirstTestFromNamespaceFoo
398\e[0;32m[ RUN ] \e[mMixedUpTestSuiteTest.SecondTestFromNamespaceFoo
399\e[0;32m[ OK ] \e[mMixedUpTestSuiteTest.SecondTestFromNamespaceFoo
400\e[0;32m[ RUN ] \e[mMixedUpTestSuiteTest.ThisShouldFail
31f18b77
FG
401gtest.cc:#: Failure
402Failed
1e59de90
TL
403All tests in the same test suite must use the same test fixture
404class. However, in test suite MixedUpTestSuiteTest,
31f18b77
FG
405you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
406using two different test fixture classes. This can happen if
407the two classes are from different namespaces or translation
408units and have the same name. You should probably rename one
1e59de90
TL
409of the classes to put the tests into different test suites.
410Stack trace: (omitted)
411
412\e[0;31m[ FAILED ] \e[mMixedUpTestSuiteTest.ThisShouldFail
413\e[0;32m[ RUN ] \e[mMixedUpTestSuiteTest.ThisShouldFailToo
31f18b77
FG
414gtest.cc:#: Failure
415Failed
1e59de90
TL
416All tests in the same test suite must use the same test fixture
417class. However, in test suite MixedUpTestSuiteTest,
31f18b77
FG
418you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
419using two different test fixture classes. This can happen if
420the two classes are from different namespaces or translation
421units and have the same name. You should probably rename one
1e59de90
TL
422of the classes to put the tests into different test suites.
423Stack trace: (omitted)
424
425\e[0;31m[ FAILED ] \e[mMixedUpTestSuiteTest.ThisShouldFailToo
426\e[0;32m[----------] \e[m2 tests from MixedUpTestSuiteWithSameTestNameTest
427\e[0;32m[ RUN ] \e[mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
428\e[0;32m[ OK ] \e[mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
429\e[0;32m[ RUN ] \e[mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
31f18b77
FG
430gtest.cc:#: Failure
431Failed
1e59de90
TL
432All tests in the same test suite must use the same test fixture
433class. However, in test suite MixedUpTestSuiteWithSameTestNameTest,
31f18b77
FG
434you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
435using two different test fixture classes. This can happen if
436the two classes are from different namespaces or translation
437units and have the same name. You should probably rename one
1e59de90
TL
438of the classes to put the tests into different test suites.
439Stack trace: (omitted)
440
441\e[0;31m[ FAILED ] \e[mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
31f18b77
FG
442\e[0;32m[----------] \e[m2 tests from TEST_F_before_TEST_in_same_test_case
443\e[0;32m[ RUN ] \e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
444\e[0;32m[ OK ] \e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
445\e[0;32m[ RUN ] \e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
446gtest.cc:#: Failure
447Failed
1e59de90
TL
448All tests in the same test suite must use the same test fixture
449class, so mixing TEST_F and TEST in the same test suite is
450illegal. In test suite TEST_F_before_TEST_in_same_test_case,
31f18b77
FG
451test DefinedUsingTEST_F is defined using TEST_F but
452test DefinedUsingTESTAndShouldFail is defined using TEST. You probably
453want to change the TEST to TEST_F or move it to another test
454case.
1e59de90
TL
455Stack trace: (omitted)
456
31f18b77
FG
457\e[0;31m[ FAILED ] \e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
458\e[0;32m[----------] \e[m2 tests from TEST_before_TEST_F_in_same_test_case
459\e[0;32m[ RUN ] \e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
460\e[0;32m[ OK ] \e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
461\e[0;32m[ RUN ] \e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
462gtest.cc:#: Failure
463Failed
1e59de90
TL
464All tests in the same test suite must use the same test fixture
465class, so mixing TEST_F and TEST in the same test suite is
466illegal. In test suite TEST_before_TEST_F_in_same_test_case,
31f18b77
FG
467test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
468test DefinedUsingTEST is defined using TEST. You probably
469want to change the TEST to TEST_F or move it to another test
470case.
1e59de90
TL
471Stack trace: (omitted)
472
31f18b77
FG
473\e[0;31m[ FAILED ] \e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
474\e[0;32m[----------] \e[m8 tests from ExpectNonfatalFailureTest
475\e[0;32m[ RUN ] \e[mExpectNonfatalFailureTest.CanReferenceGlobalVariables
476\e[0;32m[ OK ] \e[mExpectNonfatalFailureTest.CanReferenceGlobalVariables
477\e[0;32m[ RUN ] \e[mExpectNonfatalFailureTest.CanReferenceLocalVariables
478\e[0;32m[ OK ] \e[mExpectNonfatalFailureTest.CanReferenceLocalVariables
479\e[0;32m[ RUN ] \e[mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
480\e[0;32m[ OK ] \e[mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
481\e[0;32m[ RUN ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
482(expecting a failure)
483gtest.cc:#: Failure
484Expected: 1 non-fatal failure
485 Actual: 0 failures
1e59de90
TL
486Stack trace: (omitted)
487
31f18b77
FG
488\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
489\e[0;32m[ RUN ] \e[mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
490(expecting a failure)
491gtest.cc:#: Failure
492Expected: 1 non-fatal failure
493 Actual: 2 failures
1e59de90 494googletest-output-test_.cc:#: Non-fatal failure:
31f18b77
FG
495Failed
496Expected non-fatal failure 1.
1e59de90
TL
497Stack trace: (omitted)
498
31f18b77 499
1e59de90 500googletest-output-test_.cc:#: Non-fatal failure:
31f18b77
FG
501Failed
502Expected non-fatal failure 2.
1e59de90
TL
503Stack trace: (omitted)
504
505
506Stack trace: (omitted)
31f18b77
FG
507
508\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
509\e[0;32m[ RUN ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
510(expecting a failure)
511gtest.cc:#: Failure
512Expected: 1 non-fatal failure
513 Actual:
1e59de90 514googletest-output-test_.cc:#: Fatal failure:
31f18b77
FG
515Failed
516Expected fatal failure.
1e59de90
TL
517Stack trace: (omitted)
518
519
520Stack trace: (omitted)
31f18b77
FG
521
522\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
523\e[0;32m[ RUN ] \e[mExpectNonfatalFailureTest.FailsWhenStatementReturns
524(expecting a failure)
525gtest.cc:#: Failure
526Expected: 1 non-fatal failure
527 Actual: 0 failures
1e59de90
TL
528Stack trace: (omitted)
529
31f18b77
FG
530\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenStatementReturns
531\e[0;32m[ RUN ] \e[mExpectNonfatalFailureTest.FailsWhenStatementThrows
532(expecting a failure)
533gtest.cc:#: Failure
534Expected: 1 non-fatal failure
535 Actual: 0 failures
1e59de90
TL
536Stack trace: (omitted)
537
31f18b77
FG
538\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenStatementThrows
539\e[0;32m[----------] \e[m8 tests from ExpectFatalFailureTest
540\e[0;32m[ RUN ] \e[mExpectFatalFailureTest.CanReferenceGlobalVariables
541\e[0;32m[ OK ] \e[mExpectFatalFailureTest.CanReferenceGlobalVariables
542\e[0;32m[ RUN ] \e[mExpectFatalFailureTest.CanReferenceLocalStaticVariables
543\e[0;32m[ OK ] \e[mExpectFatalFailureTest.CanReferenceLocalStaticVariables
544\e[0;32m[ RUN ] \e[mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
545\e[0;32m[ OK ] \e[mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
546\e[0;32m[ RUN ] \e[mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
547(expecting a failure)
548gtest.cc:#: Failure
549Expected: 1 fatal failure
550 Actual: 0 failures
1e59de90
TL
551Stack trace: (omitted)
552
31f18b77
FG
553\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
554\e[0;32m[ RUN ] \e[mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
555(expecting a failure)
556gtest.cc:#: Failure
557Expected: 1 fatal failure
558 Actual: 2 failures
1e59de90 559googletest-output-test_.cc:#: Fatal failure:
31f18b77
FG
560Failed
561Expected fatal failure.
1e59de90 562Stack trace: (omitted)
31f18b77 563
1e59de90
TL
564
565googletest-output-test_.cc:#: Fatal failure:
31f18b77
FG
566Failed
567Expected fatal failure.
1e59de90
TL
568Stack trace: (omitted)
569
570
571Stack trace: (omitted)
31f18b77
FG
572
573\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
574\e[0;32m[ RUN ] \e[mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
575(expecting a failure)
576gtest.cc:#: Failure
577Expected: 1 fatal failure
578 Actual:
1e59de90 579googletest-output-test_.cc:#: Non-fatal failure:
31f18b77
FG
580Failed
581Expected non-fatal failure.
1e59de90
TL
582Stack trace: (omitted)
583
584
585Stack trace: (omitted)
31f18b77
FG
586
587\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
588\e[0;32m[ RUN ] \e[mExpectFatalFailureTest.FailsWhenStatementReturns
589(expecting a failure)
590gtest.cc:#: Failure
591Expected: 1 fatal failure
592 Actual: 0 failures
1e59de90
TL
593Stack trace: (omitted)
594
31f18b77
FG
595\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenStatementReturns
596\e[0;32m[ RUN ] \e[mExpectFatalFailureTest.FailsWhenStatementThrows
597(expecting a failure)
598gtest.cc:#: Failure
599Expected: 1 fatal failure
600 Actual: 0 failures
1e59de90
TL
601Stack trace: (omitted)
602
31f18b77
FG
603\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenStatementThrows
604\e[0;32m[----------] \e[m2 tests from TypedTest/0, where TypeParam = int
605\e[0;32m[ RUN ] \e[mTypedTest/0.Success
606\e[0;32m[ OK ] \e[mTypedTest/0.Success
607\e[0;32m[ RUN ] \e[mTypedTest/0.Failure
1e59de90
TL
608googletest-output-test_.cc:#: Failure
609Expected equality of these values:
610 1
611 TypeParam()
612 Which is: 0
31f18b77 613Expected failure
1e59de90
TL
614Stack trace: (omitted)
615
31f18b77 616\e[0;31m[ FAILED ] \e[mTypedTest/0.Failure, where TypeParam = int
1e59de90
TL
617\e[0;32m[----------] \e[m2 tests from TypedTestWithNames/char0, where TypeParam = char
618\e[0;32m[ RUN ] \e[mTypedTestWithNames/char0.Success
619\e[0;32m[ OK ] \e[mTypedTestWithNames/char0.Success
620\e[0;32m[ RUN ] \e[mTypedTestWithNames/char0.Failure
621googletest-output-test_.cc:#: Failure
622Failed
623Stack trace: (omitted)
624
625\e[0;31m[ FAILED ] \e[mTypedTestWithNames/char0.Failure, where TypeParam = char
626\e[0;32m[----------] \e[m2 tests from TypedTestWithNames/int1, where TypeParam = int
627\e[0;32m[ RUN ] \e[mTypedTestWithNames/int1.Success
628\e[0;32m[ OK ] \e[mTypedTestWithNames/int1.Success
629\e[0;32m[ RUN ] \e[mTypedTestWithNames/int1.Failure
630googletest-output-test_.cc:#: Failure
631Failed
632Stack trace: (omitted)
633
634\e[0;31m[ FAILED ] \e[mTypedTestWithNames/int1.Failure, where TypeParam = int
31f18b77
FG
635\e[0;32m[----------] \e[m2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
636\e[0;32m[ RUN ] \e[mUnsigned/TypedTestP/0.Success
637\e[0;32m[ OK ] \e[mUnsigned/TypedTestP/0.Success
638\e[0;32m[ RUN ] \e[mUnsigned/TypedTestP/0.Failure
1e59de90
TL
639googletest-output-test_.cc:#: Failure
640Expected equality of these values:
641 1U
642 Which is: 1
643 TypeParam()
644 Which is: '\0'
31f18b77 645Expected failure
1e59de90
TL
646Stack trace: (omitted)
647
31f18b77
FG
648\e[0;31m[ FAILED ] \e[mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
649\e[0;32m[----------] \e[m2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
650\e[0;32m[ RUN ] \e[mUnsigned/TypedTestP/1.Success
651\e[0;32m[ OK ] \e[mUnsigned/TypedTestP/1.Success
652\e[0;32m[ RUN ] \e[mUnsigned/TypedTestP/1.Failure
1e59de90
TL
653googletest-output-test_.cc:#: Failure
654Expected equality of these values:
655 1U
656 Which is: 1
657 TypeParam()
658 Which is: 0
31f18b77 659Expected failure
1e59de90
TL
660Stack trace: (omitted)
661
31f18b77 662\e[0;31m[ FAILED ] \e[mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
1e59de90
TL
663\e[0;32m[----------] \e[m2 tests from UnsignedCustomName/TypedTestP/unsignedChar0, where TypeParam = unsigned char
664\e[0;32m[ RUN ] \e[mUnsignedCustomName/TypedTestP/unsignedChar0.Success
665\e[0;32m[ OK ] \e[mUnsignedCustomName/TypedTestP/unsignedChar0.Success
666\e[0;32m[ RUN ] \e[mUnsignedCustomName/TypedTestP/unsignedChar0.Failure
667googletest-output-test_.cc:#: Failure
668Expected equality of these values:
669 1U
670 Which is: 1
671 TypeParam()
672 Which is: '\0'
673Expected failure
674Stack trace: (omitted)
675
676\e[0;31m[ FAILED ] \e[mUnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
677\e[0;32m[----------] \e[m2 tests from UnsignedCustomName/TypedTestP/unsignedInt1, where TypeParam = unsigned int
678\e[0;32m[ RUN ] \e[mUnsignedCustomName/TypedTestP/unsignedInt1.Success
679\e[0;32m[ OK ] \e[mUnsignedCustomName/TypedTestP/unsignedInt1.Success
680\e[0;32m[ RUN ] \e[mUnsignedCustomName/TypedTestP/unsignedInt1.Failure
681googletest-output-test_.cc:#: Failure
682Expected equality of these values:
683 1U
684 Which is: 1
685 TypeParam()
686 Which is: 0
687Expected failure
688Stack trace: (omitted)
689
690\e[0;31m[ FAILED ] \e[mUnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
31f18b77
FG
691\e[0;32m[----------] \e[m4 tests from ExpectFailureTest
692\e[0;32m[ RUN ] \e[mExpectFailureTest.ExpectFatalFailure
693(expecting 1 failure)
694gtest.cc:#: Failure
695Expected: 1 fatal failure
696 Actual:
1e59de90 697googletest-output-test_.cc:#: Success:
31f18b77 698Succeeded
1e59de90
TL
699Stack trace: (omitted)
700
701
702Stack trace: (omitted)
31f18b77
FG
703
704(expecting 1 failure)
705gtest.cc:#: Failure
706Expected: 1 fatal failure
707 Actual:
1e59de90 708googletest-output-test_.cc:#: Non-fatal failure:
31f18b77
FG
709Failed
710Expected non-fatal failure.
1e59de90
TL
711Stack trace: (omitted)
712
713
714Stack trace: (omitted)
31f18b77
FG
715
716(expecting 1 failure)
717gtest.cc:#: Failure
718Expected: 1 fatal failure containing "Some other fatal failure expected."
719 Actual:
1e59de90 720googletest-output-test_.cc:#: Fatal failure:
31f18b77
FG
721Failed
722Expected fatal failure.
1e59de90
TL
723Stack trace: (omitted)
724
725
726Stack trace: (omitted)
31f18b77
FG
727
728\e[0;31m[ FAILED ] \e[mExpectFailureTest.ExpectFatalFailure
729\e[0;32m[ RUN ] \e[mExpectFailureTest.ExpectNonFatalFailure
730(expecting 1 failure)
731gtest.cc:#: Failure
732Expected: 1 non-fatal failure
733 Actual:
1e59de90 734googletest-output-test_.cc:#: Success:
31f18b77 735Succeeded
1e59de90
TL
736Stack trace: (omitted)
737
738
739Stack trace: (omitted)
31f18b77
FG
740
741(expecting 1 failure)
742gtest.cc:#: Failure
743Expected: 1 non-fatal failure
744 Actual:
1e59de90 745googletest-output-test_.cc:#: Fatal failure:
31f18b77
FG
746Failed
747Expected fatal failure.
1e59de90
TL
748Stack trace: (omitted)
749
750
751Stack trace: (omitted)
31f18b77
FG
752
753(expecting 1 failure)
754gtest.cc:#: Failure
755Expected: 1 non-fatal failure containing "Some other non-fatal failure."
756 Actual:
1e59de90 757googletest-output-test_.cc:#: Non-fatal failure:
31f18b77
FG
758Failed
759Expected non-fatal failure.
1e59de90
TL
760Stack trace: (omitted)
761
762
763Stack trace: (omitted)
31f18b77
FG
764
765\e[0;31m[ FAILED ] \e[mExpectFailureTest.ExpectNonFatalFailure
766\e[0;32m[ RUN ] \e[mExpectFailureTest.ExpectFatalFailureOnAllThreads
767(expecting 1 failure)
768gtest.cc:#: Failure
769Expected: 1 fatal failure
770 Actual:
1e59de90 771googletest-output-test_.cc:#: Success:
31f18b77 772Succeeded
1e59de90
TL
773Stack trace: (omitted)
774
775
776Stack trace: (omitted)
31f18b77
FG
777
778(expecting 1 failure)
779gtest.cc:#: Failure
780Expected: 1 fatal failure
781 Actual:
1e59de90 782googletest-output-test_.cc:#: Non-fatal failure:
31f18b77
FG
783Failed
784Expected non-fatal failure.
1e59de90
TL
785Stack trace: (omitted)
786
787
788Stack trace: (omitted)
31f18b77
FG
789
790(expecting 1 failure)
791gtest.cc:#: Failure
792Expected: 1 fatal failure containing "Some other fatal failure expected."
793 Actual:
1e59de90 794googletest-output-test_.cc:#: Fatal failure:
31f18b77
FG
795Failed
796Expected fatal failure.
1e59de90
TL
797Stack trace: (omitted)
798
799
800Stack trace: (omitted)
31f18b77
FG
801
802\e[0;31m[ FAILED ] \e[mExpectFailureTest.ExpectFatalFailureOnAllThreads
803\e[0;32m[ RUN ] \e[mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
804(expecting 1 failure)
805gtest.cc:#: Failure
806Expected: 1 non-fatal failure
807 Actual:
1e59de90 808googletest-output-test_.cc:#: Success:
31f18b77 809Succeeded
1e59de90
TL
810Stack trace: (omitted)
811
812
813Stack trace: (omitted)
31f18b77
FG
814
815(expecting 1 failure)
816gtest.cc:#: Failure
817Expected: 1 non-fatal failure
818 Actual:
1e59de90 819googletest-output-test_.cc:#: Fatal failure:
31f18b77
FG
820Failed
821Expected fatal failure.
1e59de90
TL
822Stack trace: (omitted)
823
824
825Stack trace: (omitted)
31f18b77
FG
826
827(expecting 1 failure)
828gtest.cc:#: Failure
829Expected: 1 non-fatal failure containing "Some other non-fatal failure."
830 Actual:
1e59de90 831googletest-output-test_.cc:#: Non-fatal failure:
31f18b77
FG
832Failed
833Expected non-fatal failure.
1e59de90
TL
834Stack trace: (omitted)
835
836
837Stack trace: (omitted)
31f18b77
FG
838
839\e[0;31m[ FAILED ] \e[mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
840\e[0;32m[----------] \e[m2 tests from ExpectFailureWithThreadsTest
841\e[0;32m[ RUN ] \e[mExpectFailureWithThreadsTest.ExpectFatalFailure
842(expecting 2 failures)
1e59de90 843googletest-output-test_.cc:#: Failure
31f18b77
FG
844Failed
845Expected fatal failure.
1e59de90
TL
846Stack trace: (omitted)
847
31f18b77
FG
848gtest.cc:#: Failure
849Expected: 1 fatal failure
850 Actual: 0 failures
1e59de90
TL
851Stack trace: (omitted)
852
31f18b77
FG
853\e[0;31m[ FAILED ] \e[mExpectFailureWithThreadsTest.ExpectFatalFailure
854\e[0;32m[ RUN ] \e[mExpectFailureWithThreadsTest.ExpectNonFatalFailure
855(expecting 2 failures)
1e59de90 856googletest-output-test_.cc:#: Failure
31f18b77
FG
857Failed
858Expected non-fatal failure.
1e59de90
TL
859Stack trace: (omitted)
860
31f18b77
FG
861gtest.cc:#: Failure
862Expected: 1 non-fatal failure
863 Actual: 0 failures
1e59de90
TL
864Stack trace: (omitted)
865
31f18b77
FG
866\e[0;31m[ FAILED ] \e[mExpectFailureWithThreadsTest.ExpectNonFatalFailure
867\e[0;32m[----------] \e[m1 test from ScopedFakeTestPartResultReporterTest
868\e[0;32m[ RUN ] \e[mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
869(expecting 2 failures)
1e59de90 870googletest-output-test_.cc:#: Failure
31f18b77
FG
871Failed
872Expected fatal failure.
1e59de90
TL
873Stack trace: (omitted)
874
875googletest-output-test_.cc:#: Failure
31f18b77
FG
876Failed
877Expected non-fatal failure.
1e59de90
TL
878Stack trace: (omitted)
879
31f18b77 880\e[0;31m[ FAILED ] \e[mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
1e59de90
TL
881\e[0;32m[----------] \e[m2 tests from DynamicFixture
882DynamicFixture::SetUpTestSuite
883\e[0;32m[ RUN ] \e[mDynamicFixture.DynamicTestPass
884DynamicFixture()
885DynamicFixture::SetUp
886DynamicFixture::TearDown
887~DynamicFixture()
888\e[0;32m[ OK ] \e[mDynamicFixture.DynamicTestPass
889\e[0;32m[ RUN ] \e[mDynamicFixture.DynamicTestFail
890DynamicFixture()
891DynamicFixture::SetUp
892googletest-output-test_.cc:#: Failure
893Value of: Pass
894 Actual: false
895Expected: true
896Stack trace: (omitted)
897
898DynamicFixture::TearDown
899~DynamicFixture()
900\e[0;31m[ FAILED ] \e[mDynamicFixture.DynamicTestFail
901DynamicFixture::TearDownTestSuite
902\e[0;32m[----------] \e[m1 test from DynamicFixtureAnotherName
903DynamicFixture::SetUpTestSuite
904\e[0;32m[ RUN ] \e[mDynamicFixtureAnotherName.DynamicTestPass
905DynamicFixture()
906DynamicFixture::SetUp
907DynamicFixture::TearDown
908~DynamicFixture()
909\e[0;32m[ OK ] \e[mDynamicFixtureAnotherName.DynamicTestPass
910DynamicFixture::TearDownTestSuite
911\e[0;32m[----------] \e[m2 tests from BadDynamicFixture1
912DynamicFixture::SetUpTestSuite
913\e[0;32m[ RUN ] \e[mBadDynamicFixture1.FixtureBase
914DynamicFixture()
915DynamicFixture::SetUp
916DynamicFixture::TearDown
917~DynamicFixture()
918\e[0;32m[ OK ] \e[mBadDynamicFixture1.FixtureBase
919\e[0;32m[ RUN ] \e[mBadDynamicFixture1.TestBase
920DynamicFixture()
921gtest.cc:#: Failure
922Failed
923All tests in the same test suite must use the same test fixture
924class, so mixing TEST_F and TEST in the same test suite is
925illegal. In test suite BadDynamicFixture1,
926test FixtureBase is defined using TEST_F but
927test TestBase is defined using TEST. You probably
928want to change the TEST to TEST_F or move it to another test
929case.
930Stack trace: (omitted)
931
932~DynamicFixture()
933\e[0;31m[ FAILED ] \e[mBadDynamicFixture1.TestBase
934DynamicFixture::TearDownTestSuite
935\e[0;32m[----------] \e[m2 tests from BadDynamicFixture2
936DynamicFixture::SetUpTestSuite
937\e[0;32m[ RUN ] \e[mBadDynamicFixture2.FixtureBase
938DynamicFixture()
939DynamicFixture::SetUp
940DynamicFixture::TearDown
941~DynamicFixture()
942\e[0;32m[ OK ] \e[mBadDynamicFixture2.FixtureBase
943\e[0;32m[ RUN ] \e[mBadDynamicFixture2.Derived
944DynamicFixture()
945gtest.cc:#: Failure
946Failed
947All tests in the same test suite must use the same test fixture
948class. However, in test suite BadDynamicFixture2,
949you defined test FixtureBase and test Derived
950using two different test fixture classes. This can happen if
951the two classes are from different namespaces or translation
952units and have the same name. You should probably rename one
953of the classes to put the tests into different test suites.
954Stack trace: (omitted)
955
956~DynamicFixture()
957\e[0;31m[ FAILED ] \e[mBadDynamicFixture2.Derived
958DynamicFixture::TearDownTestSuite
31f18b77
FG
959\e[0;32m[----------] \e[m1 test from PrintingFailingParams/FailingParamTest
960\e[0;32m[ RUN ] \e[mPrintingFailingParams/FailingParamTest.Fails/0
1e59de90
TL
961googletest-output-test_.cc:#: Failure
962Expected equality of these values:
963 1
964 GetParam()
965 Which is: 2
966Stack trace: (omitted)
967
31f18b77 968\e[0;31m[ FAILED ] \e[mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
1e59de90
TL
969\e[0;32m[----------] \e[m1 test from EmptyBasenameParamInst
970\e[0;32m[ RUN ] \e[mEmptyBasenameParamInst.Passes/0
971\e[0;32m[ OK ] \e[mEmptyBasenameParamInst.Passes/0
31f18b77
FG
972\e[0;32m[----------] \e[m2 tests from PrintingStrings/ParamTest
973\e[0;32m[ RUN ] \e[mPrintingStrings/ParamTest.Success/a
974\e[0;32m[ OK ] \e[mPrintingStrings/ParamTest.Success/a
975\e[0;32m[ RUN ] \e[mPrintingStrings/ParamTest.Failure/a
1e59de90
TL
976googletest-output-test_.cc:#: Failure
977Expected equality of these values:
978 "b"
979 GetParam()
980 Which is: "a"
31f18b77 981Expected failure
1e59de90
TL
982Stack trace: (omitted)
983
31f18b77 984\e[0;31m[ FAILED ] \e[mPrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
1e59de90
TL
985\e[0;32m[----------] \e[m3 tests from GoogleTestVerification
986\e[0;32m[ RUN ] \e[mGoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
987googletest-output-test_.cc:#: Failure
988Parameterized test suite NoTests is instantiated via INSTANTIATE_TEST_SUITE_P, but no tests are defined via TEST_P . No test cases will run.
989
990Ideally, INSTANTIATE_TEST_SUITE_P should only ever be invoked from code that always depend on code that provides TEST_P. Failing to do so is often an indication of dead code, e.g. the last TEST_P was removed but the rest got left behind.
991
992To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
993
994GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(NoTests);
995Stack trace: (omitted)
996
997\e[0;31m[ FAILED ] \e[mGoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
998\e[0;32m[ RUN ] \e[mGoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
999googletest-output-test_.cc:#: Failure
1000Parameterized test suite DetectNotInstantiatedTest is defined via TEST_P, but never instantiated. None of the test cases will run. Either no INSTANTIATE_TEST_SUITE_P is provided or the only ones provided expand to nothing.
1001
1002Ideally, TEST_P definitions should only ever be included as part of binaries that intend to use them. (As opposed to, for example, being placed in a library that may be linked in to get other utilities.)
1003
1004To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
1005
1006GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(DetectNotInstantiatedTest);
1007Stack trace: (omitted)
1008
1009\e[0;31m[ FAILED ] \e[mGoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
1010\e[0;32m[ RUN ] \e[mGoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
1011googletest-output-test_.cc:#: Failure
1012Type parameterized test suite DetectNotInstantiatedTypesTest is defined via REGISTER_TYPED_TEST_SUITE_P, but never instantiated via INSTANTIATE_TYPED_TEST_SUITE_P. None of the test cases will run.
1013
1014Ideally, TYPED_TEST_P definitions should only ever be included as part of binaries that intend to use them. (As opposed to, for example, being placed in a library that may be linked in to get other utilities.)
1015
1016To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
1017
1018GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(DetectNotInstantiatedTypesTest);
1019Stack trace: (omitted)
1020
1021\e[0;31m[ FAILED ] \e[mGoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
31f18b77
FG
1022\e[0;32m[----------] \e[mGlobal test environment tear-down
1023BarEnvironment::TearDown() called.
1e59de90 1024googletest-output-test_.cc:#: Failure
31f18b77
FG
1025Failed
1026Expected non-fatal failure.
1e59de90
TL
1027Stack trace: (omitted)
1028
31f18b77 1029FooEnvironment::TearDown() called.
1e59de90 1030googletest-output-test_.cc:#: Failure
31f18b77
FG
1031Failed
1032Expected fatal failure.
1e59de90
TL
1033Stack trace: (omitted)
1034
1035\e[0;32m[==========] \e[m88 tests from 41 test suites ran.
1036\e[0;32m[ PASSED ] \e[m31 tests.
1037\e[0;31m[ FAILED ] \e[m57 tests, listed below:
31f18b77
FG
1038\e[0;31m[ FAILED ] \e[mNonfatalFailureTest.EscapesStringOperands
1039\e[0;31m[ FAILED ] \e[mNonfatalFailureTest.DiffForLongStrings
1040\e[0;31m[ FAILED ] \e[mFatalFailureTest.FatalFailureInSubroutine
1041\e[0;31m[ FAILED ] \e[mFatalFailureTest.FatalFailureInNestedSubroutine
1042\e[0;31m[ FAILED ] \e[mFatalFailureTest.NonfatalFailureInSubroutine
1043\e[0;31m[ FAILED ] \e[mLoggingTest.InterleavingLoggingAndAssertions
1e59de90 1044\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.AcceptedValues
31f18b77
FG
1045\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.ObeysScopes
1046\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.WorksInLoop
1047\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.WorksInSubroutine
1048\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.CanBeNested
1049\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.CanBeRepeated
1050\e[0;31m[ FAILED ] \e[mSCOPED_TRACETest.WorksConcurrently
1e59de90 1051\e[0;31m[ FAILED ] \e[mScopedTraceTest.WithExplicitFileAndLine
31f18b77
FG
1052\e[0;31m[ FAILED ] \e[mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
1053\e[0;31m[ FAILED ] \e[mFatalFailureInFixtureConstructorTest.FailureInConstructor
1054\e[0;31m[ FAILED ] \e[mNonFatalFailureInSetUpTest.FailureInSetUp
1055\e[0;31m[ FAILED ] \e[mFatalFailureInSetUpTest.FailureInSetUp
1056\e[0;31m[ FAILED ] \e[mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
1e59de90
TL
1057\e[0;31m[ FAILED ] \e[mGtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
1058\e[0;31m[ FAILED ] \e[mMixedUpTestSuiteTest.ThisShouldFail
1059\e[0;31m[ FAILED ] \e[mMixedUpTestSuiteTest.ThisShouldFailToo
1060\e[0;31m[ FAILED ] \e[mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
31f18b77
FG
1061\e[0;31m[ FAILED ] \e[mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
1062\e[0;31m[ FAILED ] \e[mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
1063\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
1064\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
1065\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
1066\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenStatementReturns
1067\e[0;31m[ FAILED ] \e[mExpectNonfatalFailureTest.FailsWhenStatementThrows
1068\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
1069\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
1070\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
1071\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenStatementReturns
1072\e[0;31m[ FAILED ] \e[mExpectFatalFailureTest.FailsWhenStatementThrows
1073\e[0;31m[ FAILED ] \e[mTypedTest/0.Failure, where TypeParam = int
1e59de90
TL
1074\e[0;31m[ FAILED ] \e[mTypedTestWithNames/char0.Failure, where TypeParam = char
1075\e[0;31m[ FAILED ] \e[mTypedTestWithNames/int1.Failure, where TypeParam = int
31f18b77
FG
1076\e[0;31m[ FAILED ] \e[mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
1077\e[0;31m[ FAILED ] \e[mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
1e59de90
TL
1078\e[0;31m[ FAILED ] \e[mUnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
1079\e[0;31m[ FAILED ] \e[mUnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
31f18b77
FG
1080\e[0;31m[ FAILED ] \e[mExpectFailureTest.ExpectFatalFailure
1081\e[0;31m[ FAILED ] \e[mExpectFailureTest.ExpectNonFatalFailure
1082\e[0;31m[ FAILED ] \e[mExpectFailureTest.ExpectFatalFailureOnAllThreads
1083\e[0;31m[ FAILED ] \e[mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
1084\e[0;31m[ FAILED ] \e[mExpectFailureWithThreadsTest.ExpectFatalFailure
1085\e[0;31m[ FAILED ] \e[mExpectFailureWithThreadsTest.ExpectNonFatalFailure
1086\e[0;31m[ FAILED ] \e[mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
1e59de90
TL
1087\e[0;31m[ FAILED ] \e[mDynamicFixture.DynamicTestFail
1088\e[0;31m[ FAILED ] \e[mBadDynamicFixture1.TestBase
1089\e[0;31m[ FAILED ] \e[mBadDynamicFixture2.Derived
31f18b77
FG
1090\e[0;31m[ FAILED ] \e[mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
1091\e[0;31m[ FAILED ] \e[mPrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
1e59de90
TL
1092\e[0;31m[ FAILED ] \e[mGoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
1093\e[0;31m[ FAILED ] \e[mGoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
1094\e[0;31m[ FAILED ] \e[mGoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
31f18b77 1095
1e59de90 109657 FAILED TESTS
31f18b77
FG
1097\e[0;33m YOU HAVE 1 DISABLED TEST
1098
1099\e[mNote: Google Test filter = FatalFailureTest.*:LoggingTest.*
1e59de90 1100[==========] Running 4 tests from 2 test suites.
31f18b77
FG
1101[----------] Global test environment set-up.
1102[----------] 3 tests from FatalFailureTest
1103[ RUN ] FatalFailureTest.FatalFailureInSubroutine
1104(expecting a failure that x should be 1)
1e59de90
TL
1105googletest-output-test_.cc:#: Failure
1106Expected equality of these values:
1107 1
1108 x
1109 Which is: 2
1110Stack trace: (omitted)
1111
31f18b77
FG
1112[ FAILED ] FatalFailureTest.FatalFailureInSubroutine (? ms)
1113[ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine
1114(expecting a failure that x should be 1)
1e59de90
TL
1115googletest-output-test_.cc:#: Failure
1116Expected equality of these values:
1117 1
1118 x
1119 Which is: 2
1120Stack trace: (omitted)
1121
31f18b77
FG
1122[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
1123[ RUN ] FatalFailureTest.NonfatalFailureInSubroutine
1124(expecting a failure on false)
1e59de90 1125googletest-output-test_.cc:#: Failure
31f18b77
FG
1126Value of: false
1127 Actual: false
1128Expected: true
1e59de90
TL
1129Stack trace: (omitted)
1130
31f18b77
FG
1131[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
1132[----------] 3 tests from FatalFailureTest (? ms total)
1133
1134[----------] 1 test from LoggingTest
1135[ RUN ] LoggingTest.InterleavingLoggingAndAssertions
1136(expecting 2 failures on (3) >= (a[i]))
1137i == 0
1138i == 1
1e59de90 1139googletest-output-test_.cc:#: Failure
31f18b77 1140Expected: (3) >= (a[i]), actual: 3 vs 9
1e59de90
TL
1141Stack trace: (omitted)
1142
31f18b77
FG
1143i == 2
1144i == 3
1e59de90 1145googletest-output-test_.cc:#: Failure
31f18b77 1146Expected: (3) >= (a[i]), actual: 3 vs 6
1e59de90
TL
1147Stack trace: (omitted)
1148
31f18b77
FG
1149[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
1150[----------] 1 test from LoggingTest (? ms total)
1151
1152[----------] Global test environment tear-down
1e59de90 1153[==========] 4 tests from 2 test suites ran. (? ms total)
31f18b77
FG
1154[ PASSED ] 0 tests.
1155[ FAILED ] 4 tests, listed below:
1156[ FAILED ] FatalFailureTest.FatalFailureInSubroutine
1157[ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
1158[ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
1159[ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
1160
1161 4 FAILED TESTS
1162Note: Google Test filter = *DISABLED_*
1e59de90 1163[==========] Running 1 test from 1 test suite.
31f18b77
FG
1164[----------] Global test environment set-up.
1165[----------] 1 test from DisabledTestsWarningTest
1166[ RUN ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
1167[ OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
1168[----------] Global test environment tear-down
1e59de90 1169[==========] 1 test from 1 test suite ran.
31f18b77
FG
1170[ PASSED ] 1 test.
1171Note: Google Test filter = PassingTest.*
1172Note: This is test shard 2 of 2.
1e59de90 1173[==========] Running 1 test from 1 test suite.
31f18b77
FG
1174[----------] Global test environment set-up.
1175[----------] 1 test from PassingTest
1176[ RUN ] PassingTest.PassingTest2
1177[ OK ] PassingTest.PassingTest2
1178[----------] Global test environment tear-down
1e59de90 1179[==========] 1 test from 1 test suite ran.
31f18b77 1180[ PASSED ] 1 test.