1b89a7cc2SEnji CooperThe non-test part of the code is expected to have 2 failures.
2b89a7cc2SEnji Cooper
3b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
4b89a7cc2SEnji CooperValue of: false
5b89a7cc2SEnji Cooper  Actual: false
6b89a7cc2SEnji CooperExpected: true
7b89a7cc2SEnji CooperStack trace: (omitted)
8b89a7cc2SEnji Cooper
9b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
10b89a7cc2SEnji CooperExpected equality of these values:
11b89a7cc2SEnji Cooper  2
12b89a7cc2SEnji Cooper  3
13b89a7cc2SEnji CooperStack trace: (omitted)
14b89a7cc2SEnji Cooper
1528f6c2f2SEnji Cooper[==========] Running 90 tests from 43 test suites.
16b89a7cc2SEnji Cooper[----------] Global test environment set-up.
17b89a7cc2SEnji CooperFooEnvironment::SetUp() called.
18b89a7cc2SEnji CooperBarEnvironment::SetUp() called.
19b89a7cc2SEnji Cooper[----------] 1 test from ADeathTest
20b89a7cc2SEnji Cooper[ RUN      ] ADeathTest.ShouldRunFirst
21b89a7cc2SEnji Cooper[       OK ] ADeathTest.ShouldRunFirst
22b89a7cc2SEnji Cooper[----------] 1 test from ATypedDeathTest/0, where TypeParam = int
23b89a7cc2SEnji Cooper[ RUN      ] ATypedDeathTest/0.ShouldRunFirst
24b89a7cc2SEnji Cooper[       OK ] ATypedDeathTest/0.ShouldRunFirst
25b89a7cc2SEnji Cooper[----------] 1 test from ATypedDeathTest/1, where TypeParam = double
26b89a7cc2SEnji Cooper[ RUN      ] ATypedDeathTest/1.ShouldRunFirst
27b89a7cc2SEnji Cooper[       OK ] ATypedDeathTest/1.ShouldRunFirst
28b89a7cc2SEnji Cooper[----------] 1 test from My/ATypeParamDeathTest/0, where TypeParam = int
29b89a7cc2SEnji Cooper[ RUN      ] My/ATypeParamDeathTest/0.ShouldRunFirst
30b89a7cc2SEnji Cooper[       OK ] My/ATypeParamDeathTest/0.ShouldRunFirst
31b89a7cc2SEnji Cooper[----------] 1 test from My/ATypeParamDeathTest/1, where TypeParam = double
32b89a7cc2SEnji Cooper[ RUN      ] My/ATypeParamDeathTest/1.ShouldRunFirst
33b89a7cc2SEnji Cooper[       OK ] My/ATypeParamDeathTest/1.ShouldRunFirst
34b89a7cc2SEnji Cooper[----------] 2 tests from PassingTest
35b89a7cc2SEnji Cooper[ RUN      ] PassingTest.PassingTest1
36b89a7cc2SEnji Cooper[       OK ] PassingTest.PassingTest1
37b89a7cc2SEnji Cooper[ RUN      ] PassingTest.PassingTest2
38b89a7cc2SEnji Cooper[       OK ] PassingTest.PassingTest2
39b89a7cc2SEnji Cooper[----------] 2 tests from NonfatalFailureTest
40b89a7cc2SEnji Cooper[ RUN      ] NonfatalFailureTest.EscapesStringOperands
41b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
42b89a7cc2SEnji CooperExpected equality of these values:
43b89a7cc2SEnji Cooper  kGoldenString
44b89a7cc2SEnji Cooper    Which is: "\"Line"
45b89a7cc2SEnji Cooper  actual
46b89a7cc2SEnji Cooper    Which is: "actual \"string\""
47b89a7cc2SEnji CooperStack trace: (omitted)
48b89a7cc2SEnji Cooper
49b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
50b89a7cc2SEnji CooperExpected equality of these values:
51b89a7cc2SEnji Cooper  golden
52b89a7cc2SEnji Cooper    Which is: "\"Line"
53b89a7cc2SEnji Cooper  actual
54b89a7cc2SEnji Cooper    Which is: "actual \"string\""
55b89a7cc2SEnji CooperStack trace: (omitted)
56b89a7cc2SEnji Cooper
57b89a7cc2SEnji Cooper[  FAILED  ] NonfatalFailureTest.EscapesStringOperands
58b89a7cc2SEnji Cooper[ RUN      ] NonfatalFailureTest.DiffForLongStrings
59b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
60b89a7cc2SEnji CooperExpected equality of these values:
61b89a7cc2SEnji Cooper  golden_str
62b89a7cc2SEnji Cooper    Which is: "\"Line\0 1\"\nLine 2"
63b89a7cc2SEnji Cooper  "Line 2"
64b89a7cc2SEnji CooperWith diff:
65b89a7cc2SEnji Cooper@@ -1,2 @@
66b89a7cc2SEnji Cooper-\"Line\0 1\"
67b89a7cc2SEnji Cooper Line 2
68b89a7cc2SEnji Cooper
69b89a7cc2SEnji CooperStack trace: (omitted)
70b89a7cc2SEnji Cooper
71b89a7cc2SEnji Cooper[  FAILED  ] NonfatalFailureTest.DiffForLongStrings
72b89a7cc2SEnji Cooper[----------] 3 tests from FatalFailureTest
73b89a7cc2SEnji Cooper[ RUN      ] FatalFailureTest.FatalFailureInSubroutine
74b89a7cc2SEnji Cooper(expecting a failure that x should be 1)
75b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
76b89a7cc2SEnji CooperExpected equality of these values:
77b89a7cc2SEnji Cooper  1
78b89a7cc2SEnji Cooper  x
79b89a7cc2SEnji Cooper    Which is: 2
80b89a7cc2SEnji CooperStack trace: (omitted)
81b89a7cc2SEnji Cooper
82b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
83b89a7cc2SEnji Cooper[ RUN      ] FatalFailureTest.FatalFailureInNestedSubroutine
84b89a7cc2SEnji Cooper(expecting a failure that x should be 1)
85b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
86b89a7cc2SEnji CooperExpected equality of these values:
87b89a7cc2SEnji Cooper  1
88b89a7cc2SEnji Cooper  x
89b89a7cc2SEnji Cooper    Which is: 2
90b89a7cc2SEnji CooperStack trace: (omitted)
91b89a7cc2SEnji Cooper
92b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
93b89a7cc2SEnji Cooper[ RUN      ] FatalFailureTest.NonfatalFailureInSubroutine
94b89a7cc2SEnji Cooper(expecting a failure on false)
95b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
96b89a7cc2SEnji CooperValue of: false
97b89a7cc2SEnji Cooper  Actual: false
98b89a7cc2SEnji CooperExpected: true
99b89a7cc2SEnji CooperStack trace: (omitted)
100b89a7cc2SEnji Cooper
101b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
102b89a7cc2SEnji Cooper[----------] 1 test from LoggingTest
103b89a7cc2SEnji Cooper[ RUN      ] LoggingTest.InterleavingLoggingAndAssertions
104b89a7cc2SEnji Cooper(expecting 2 failures on (3) >= (a[i]))
105b89a7cc2SEnji Cooperi == 0
106b89a7cc2SEnji Cooperi == 1
107b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
108b89a7cc2SEnji CooperExpected: (3) >= (a[i]), actual: 3 vs 9
109b89a7cc2SEnji CooperStack trace: (omitted)
110b89a7cc2SEnji Cooper
111b89a7cc2SEnji Cooperi == 2
112b89a7cc2SEnji Cooperi == 3
113b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
114b89a7cc2SEnji CooperExpected: (3) >= (a[i]), actual: 3 vs 6
115b89a7cc2SEnji CooperStack trace: (omitted)
116b89a7cc2SEnji Cooper
117b89a7cc2SEnji Cooper[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
118b89a7cc2SEnji Cooper[----------] 7 tests from SCOPED_TRACETest
119b89a7cc2SEnji Cooper[ RUN      ] SCOPED_TRACETest.AcceptedValues
120b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
121b89a7cc2SEnji CooperFailed
122b89a7cc2SEnji CooperJust checking that all these values work fine.
123b89a7cc2SEnji CooperGoogle Test trace:
124b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: (null)
125b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: 1337
126b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: std::string
127b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: literal string
128b89a7cc2SEnji CooperStack trace: (omitted)
129b89a7cc2SEnji Cooper
130b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.AcceptedValues
131b89a7cc2SEnji Cooper[ RUN      ] SCOPED_TRACETest.ObeysScopes
132b89a7cc2SEnji Cooper(expected to fail)
133b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
134b89a7cc2SEnji CooperFailed
135b89a7cc2SEnji CooperThis failure is expected, and shouldn't have a trace.
136b89a7cc2SEnji CooperStack trace: (omitted)
137b89a7cc2SEnji Cooper
138b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
139b89a7cc2SEnji CooperFailed
140b89a7cc2SEnji CooperThis failure is expected, and should have a trace.
141b89a7cc2SEnji CooperGoogle Test trace:
142b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Expected trace
143b89a7cc2SEnji CooperStack trace: (omitted)
144b89a7cc2SEnji Cooper
145b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
146b89a7cc2SEnji CooperFailed
147b89a7cc2SEnji CooperThis failure is expected, and shouldn't have a trace.
148b89a7cc2SEnji CooperStack trace: (omitted)
149b89a7cc2SEnji Cooper
150b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.ObeysScopes
151b89a7cc2SEnji Cooper[ RUN      ] SCOPED_TRACETest.WorksInLoop
152b89a7cc2SEnji Cooper(expected to fail)
153b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
154b89a7cc2SEnji CooperExpected equality of these values:
155b89a7cc2SEnji Cooper  2
156b89a7cc2SEnji Cooper  n
157b89a7cc2SEnji Cooper    Which is: 1
158b89a7cc2SEnji CooperGoogle Test trace:
159b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: i = 1
160b89a7cc2SEnji CooperStack trace: (omitted)
161b89a7cc2SEnji Cooper
162b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
163b89a7cc2SEnji CooperExpected equality of these values:
164b89a7cc2SEnji Cooper  1
165b89a7cc2SEnji Cooper  n
166b89a7cc2SEnji Cooper    Which is: 2
167b89a7cc2SEnji CooperGoogle Test trace:
168b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: i = 2
169b89a7cc2SEnji CooperStack trace: (omitted)
170b89a7cc2SEnji Cooper
171b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.WorksInLoop
172b89a7cc2SEnji Cooper[ RUN      ] SCOPED_TRACETest.WorksInSubroutine
173b89a7cc2SEnji Cooper(expected to fail)
174b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
175b89a7cc2SEnji CooperExpected equality of these values:
176b89a7cc2SEnji Cooper  2
177b89a7cc2SEnji Cooper  n
178b89a7cc2SEnji Cooper    Which is: 1
179b89a7cc2SEnji CooperGoogle Test trace:
180b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: n = 1
181b89a7cc2SEnji CooperStack trace: (omitted)
182b89a7cc2SEnji Cooper
183b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
184b89a7cc2SEnji CooperExpected equality of these values:
185b89a7cc2SEnji Cooper  1
186b89a7cc2SEnji Cooper  n
187b89a7cc2SEnji Cooper    Which is: 2
188b89a7cc2SEnji CooperGoogle Test trace:
189b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: n = 2
190b89a7cc2SEnji CooperStack trace: (omitted)
191b89a7cc2SEnji Cooper
192b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.WorksInSubroutine
193b89a7cc2SEnji Cooper[ RUN      ] SCOPED_TRACETest.CanBeNested
194b89a7cc2SEnji Cooper(expected to fail)
195b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
196b89a7cc2SEnji CooperExpected equality of these values:
197b89a7cc2SEnji Cooper  1
198b89a7cc2SEnji Cooper  n
199b89a7cc2SEnji Cooper    Which is: 2
200b89a7cc2SEnji CooperGoogle Test trace:
201b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: n = 2
202b89a7cc2SEnji Coopergoogletest-output-test_.cc:#:
203b89a7cc2SEnji CooperStack trace: (omitted)
204b89a7cc2SEnji Cooper
205b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.CanBeNested
206b89a7cc2SEnji Cooper[ RUN      ] SCOPED_TRACETest.CanBeRepeated
207b89a7cc2SEnji Cooper(expected to fail)
208b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
209b89a7cc2SEnji CooperFailed
210b89a7cc2SEnji CooperThis failure is expected, and should contain trace point A.
211b89a7cc2SEnji CooperGoogle Test trace:
212b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: A
213b89a7cc2SEnji CooperStack trace: (omitted)
214b89a7cc2SEnji Cooper
215b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
216b89a7cc2SEnji CooperFailed
217b89a7cc2SEnji CooperThis failure is expected, and should contain trace point A and B.
218b89a7cc2SEnji CooperGoogle Test trace:
219b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: B
220b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: A
221b89a7cc2SEnji CooperStack trace: (omitted)
222b89a7cc2SEnji Cooper
223b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
224b89a7cc2SEnji CooperFailed
225b89a7cc2SEnji CooperThis failure is expected, and should contain trace point A, B, and C.
226b89a7cc2SEnji CooperGoogle Test trace:
227b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: C
228b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: B
229b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: A
230b89a7cc2SEnji CooperStack trace: (omitted)
231b89a7cc2SEnji Cooper
232b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
233b89a7cc2SEnji CooperFailed
234b89a7cc2SEnji CooperThis failure is expected, and should contain trace point A, B, and D.
235b89a7cc2SEnji CooperGoogle Test trace:
236b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: D
237b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: B
238b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: A
239b89a7cc2SEnji CooperStack trace: (omitted)
240b89a7cc2SEnji Cooper
241b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.CanBeRepeated
242b89a7cc2SEnji Cooper[ RUN      ] SCOPED_TRACETest.WorksConcurrently
243b89a7cc2SEnji Cooper(expecting 6 failures)
244b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
245b89a7cc2SEnji CooperFailed
246b89a7cc2SEnji CooperExpected failure #1 (in thread B, only trace B alive).
247b89a7cc2SEnji CooperGoogle Test trace:
248b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Trace B
249b89a7cc2SEnji CooperStack trace: (omitted)
250b89a7cc2SEnji Cooper
251b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
252b89a7cc2SEnji CooperFailed
253b89a7cc2SEnji CooperExpected failure #2 (in thread A, trace A & B both alive).
254b89a7cc2SEnji CooperGoogle Test trace:
255b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Trace A
256b89a7cc2SEnji CooperStack trace: (omitted)
257b89a7cc2SEnji Cooper
258b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
259b89a7cc2SEnji CooperFailed
260b89a7cc2SEnji CooperExpected failure #3 (in thread B, trace A & B both alive).
261b89a7cc2SEnji CooperGoogle Test trace:
262b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Trace B
263b89a7cc2SEnji CooperStack trace: (omitted)
264b89a7cc2SEnji Cooper
265b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
266b89a7cc2SEnji CooperFailed
267b89a7cc2SEnji CooperExpected failure #4 (in thread B, only trace A alive).
268b89a7cc2SEnji CooperStack trace: (omitted)
269b89a7cc2SEnji Cooper
270b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
271b89a7cc2SEnji CooperFailed
272b89a7cc2SEnji CooperExpected failure #5 (in thread A, only trace A alive).
273b89a7cc2SEnji CooperGoogle Test trace:
274b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Trace A
275b89a7cc2SEnji CooperStack trace: (omitted)
276b89a7cc2SEnji Cooper
277b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
278b89a7cc2SEnji CooperFailed
279b89a7cc2SEnji CooperExpected failure #6 (in thread A, no trace alive).
280b89a7cc2SEnji CooperStack trace: (omitted)
281b89a7cc2SEnji Cooper
282b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.WorksConcurrently
283b89a7cc2SEnji Cooper[----------] 1 test from ScopedTraceTest
284b89a7cc2SEnji Cooper[ RUN      ] ScopedTraceTest.WithExplicitFileAndLine
285b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
286b89a7cc2SEnji CooperFailed
287b89a7cc2SEnji CooperCheck that the trace is attached to a particular location.
288b89a7cc2SEnji CooperGoogle Test trace:
289b89a7cc2SEnji Cooperexplicit_file.cc:123: expected trace message
290b89a7cc2SEnji CooperStack trace: (omitted)
291b89a7cc2SEnji Cooper
292b89a7cc2SEnji Cooper[  FAILED  ] ScopedTraceTest.WithExplicitFileAndLine
293b89a7cc2SEnji Cooper[----------] 1 test from NonFatalFailureInFixtureConstructorTest
294b89a7cc2SEnji Cooper[ RUN      ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
295b89a7cc2SEnji Cooper(expecting 5 failures)
296b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
297b89a7cc2SEnji CooperFailed
298b89a7cc2SEnji CooperExpected failure #1, in the test fixture c'tor.
299b89a7cc2SEnji CooperStack trace: (omitted)
300b89a7cc2SEnji Cooper
301b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
302b89a7cc2SEnji CooperFailed
303b89a7cc2SEnji CooperExpected failure #2, in SetUp().
304b89a7cc2SEnji CooperStack trace: (omitted)
305b89a7cc2SEnji Cooper
306b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
307b89a7cc2SEnji CooperFailed
308b89a7cc2SEnji CooperExpected failure #3, in the test body.
309b89a7cc2SEnji CooperStack trace: (omitted)
310b89a7cc2SEnji Cooper
311b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
312b89a7cc2SEnji CooperFailed
313b89a7cc2SEnji CooperExpected failure #4, in TearDown.
314b89a7cc2SEnji CooperStack trace: (omitted)
315b89a7cc2SEnji Cooper
316b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
317b89a7cc2SEnji CooperFailed
318b89a7cc2SEnji CooperExpected failure #5, in the test fixture d'tor.
319b89a7cc2SEnji CooperStack trace: (omitted)
320b89a7cc2SEnji Cooper
321b89a7cc2SEnji Cooper[  FAILED  ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
322b89a7cc2SEnji Cooper[----------] 1 test from FatalFailureInFixtureConstructorTest
323b89a7cc2SEnji Cooper[ RUN      ] FatalFailureInFixtureConstructorTest.FailureInConstructor
324b89a7cc2SEnji Cooper(expecting 2 failures)
325b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
326b89a7cc2SEnji CooperFailed
327b89a7cc2SEnji CooperExpected failure #1, in the test fixture c'tor.
328b89a7cc2SEnji CooperStack trace: (omitted)
329b89a7cc2SEnji Cooper
330b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
331b89a7cc2SEnji CooperFailed
332b89a7cc2SEnji CooperExpected failure #2, in the test fixture d'tor.
333b89a7cc2SEnji CooperStack trace: (omitted)
334b89a7cc2SEnji Cooper
335b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureInFixtureConstructorTest.FailureInConstructor
336b89a7cc2SEnji Cooper[----------] 1 test from NonFatalFailureInSetUpTest
337b89a7cc2SEnji Cooper[ RUN      ] NonFatalFailureInSetUpTest.FailureInSetUp
338b89a7cc2SEnji Cooper(expecting 4 failures)
339b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
340b89a7cc2SEnji CooperFailed
341b89a7cc2SEnji CooperExpected failure #1, in SetUp().
342b89a7cc2SEnji CooperStack trace: (omitted)
343b89a7cc2SEnji Cooper
344b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
345b89a7cc2SEnji CooperFailed
346b89a7cc2SEnji CooperExpected failure #2, in the test function.
347b89a7cc2SEnji CooperStack trace: (omitted)
348b89a7cc2SEnji Cooper
349b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
350b89a7cc2SEnji CooperFailed
351b89a7cc2SEnji CooperExpected failure #3, in TearDown().
352b89a7cc2SEnji CooperStack trace: (omitted)
353b89a7cc2SEnji Cooper
354b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
355b89a7cc2SEnji CooperFailed
356b89a7cc2SEnji CooperExpected failure #4, in the test fixture d'tor.
357b89a7cc2SEnji CooperStack trace: (omitted)
358b89a7cc2SEnji Cooper
359b89a7cc2SEnji Cooper[  FAILED  ] NonFatalFailureInSetUpTest.FailureInSetUp
360b89a7cc2SEnji Cooper[----------] 1 test from FatalFailureInSetUpTest
361b89a7cc2SEnji Cooper[ RUN      ] FatalFailureInSetUpTest.FailureInSetUp
362b89a7cc2SEnji Cooper(expecting 3 failures)
363b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
364b89a7cc2SEnji CooperFailed
365b89a7cc2SEnji CooperExpected failure #1, in SetUp().
366b89a7cc2SEnji CooperStack trace: (omitted)
367b89a7cc2SEnji Cooper
368b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
369b89a7cc2SEnji CooperFailed
370b89a7cc2SEnji CooperExpected failure #2, in TearDown().
371b89a7cc2SEnji CooperStack trace: (omitted)
372b89a7cc2SEnji Cooper
373b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
374b89a7cc2SEnji CooperFailed
375b89a7cc2SEnji CooperExpected failure #3, in the test fixture d'tor.
376b89a7cc2SEnji CooperStack trace: (omitted)
377b89a7cc2SEnji Cooper
378b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureInSetUpTest.FailureInSetUp
379b89a7cc2SEnji Cooper[----------] 1 test from AddFailureAtTest
380b89a7cc2SEnji Cooper[ RUN      ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
381b89a7cc2SEnji Cooperfoo.cc:42: Failure
382b89a7cc2SEnji CooperFailed
38328f6c2f2SEnji CooperExpected nonfatal failure in foo.cc
384b89a7cc2SEnji CooperStack trace: (omitted)
385b89a7cc2SEnji Cooper
386b89a7cc2SEnji Cooper[  FAILED  ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
38728f6c2f2SEnji Cooper[----------] 1 test from GtestFailAtTest
38828f6c2f2SEnji Cooper[ RUN      ] GtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
38928f6c2f2SEnji Cooperfoo.cc:42: Failure
39028f6c2f2SEnji CooperFailed
39128f6c2f2SEnji CooperExpected fatal failure in foo.cc
39228f6c2f2SEnji CooperStack trace: (omitted)
39328f6c2f2SEnji Cooper
39428f6c2f2SEnji Cooper[  FAILED  ] GtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
39528f6c2f2SEnji Cooper[----------] 4 tests from MixedUpTestSuiteTest
39628f6c2f2SEnji Cooper[ RUN      ] MixedUpTestSuiteTest.FirstTestFromNamespaceFoo
39728f6c2f2SEnji Cooper[       OK ] MixedUpTestSuiteTest.FirstTestFromNamespaceFoo
39828f6c2f2SEnji Cooper[ RUN      ] MixedUpTestSuiteTest.SecondTestFromNamespaceFoo
39928f6c2f2SEnji Cooper[       OK ] MixedUpTestSuiteTest.SecondTestFromNamespaceFoo
40028f6c2f2SEnji Cooper[ RUN      ] MixedUpTestSuiteTest.ThisShouldFail
401b89a7cc2SEnji Coopergtest.cc:#: Failure
402b89a7cc2SEnji CooperFailed
40328f6c2f2SEnji CooperAll tests in the same test suite must use the same test fixture
40428f6c2f2SEnji Cooperclass.  However, in test suite MixedUpTestSuiteTest,
405b89a7cc2SEnji Cooperyou defined test FirstTestFromNamespaceFoo and test ThisShouldFail
406b89a7cc2SEnji Cooperusing two different test fixture classes.  This can happen if
407b89a7cc2SEnji Cooperthe two classes are from different namespaces or translation
408b89a7cc2SEnji Cooperunits and have the same name.  You should probably rename one
40928f6c2f2SEnji Cooperof the classes to put the tests into different test suites.
410b89a7cc2SEnji CooperStack trace: (omitted)
411b89a7cc2SEnji Cooper
41228f6c2f2SEnji Cooper[  FAILED  ] MixedUpTestSuiteTest.ThisShouldFail
41328f6c2f2SEnji Cooper[ RUN      ] MixedUpTestSuiteTest.ThisShouldFailToo
414b89a7cc2SEnji Coopergtest.cc:#: Failure
415b89a7cc2SEnji CooperFailed
41628f6c2f2SEnji CooperAll tests in the same test suite must use the same test fixture
41728f6c2f2SEnji Cooperclass.  However, in test suite MixedUpTestSuiteTest,
418b89a7cc2SEnji Cooperyou defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
419b89a7cc2SEnji Cooperusing two different test fixture classes.  This can happen if
420b89a7cc2SEnji Cooperthe two classes are from different namespaces or translation
421b89a7cc2SEnji Cooperunits and have the same name.  You should probably rename one
42228f6c2f2SEnji Cooperof the classes to put the tests into different test suites.
423b89a7cc2SEnji CooperStack trace: (omitted)
424b89a7cc2SEnji Cooper
42528f6c2f2SEnji Cooper[  FAILED  ] MixedUpTestSuiteTest.ThisShouldFailToo
42628f6c2f2SEnji Cooper[----------] 2 tests from MixedUpTestSuiteWithSameTestNameTest
42728f6c2f2SEnji Cooper[ RUN      ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
42828f6c2f2SEnji Cooper[       OK ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
42928f6c2f2SEnji Cooper[ RUN      ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
430b89a7cc2SEnji Coopergtest.cc:#: Failure
431b89a7cc2SEnji CooperFailed
43228f6c2f2SEnji CooperAll tests in the same test suite must use the same test fixture
43328f6c2f2SEnji Cooperclass.  However, in test suite MixedUpTestSuiteWithSameTestNameTest,
434b89a7cc2SEnji Cooperyou defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
435b89a7cc2SEnji Cooperusing two different test fixture classes.  This can happen if
436b89a7cc2SEnji Cooperthe two classes are from different namespaces or translation
437b89a7cc2SEnji Cooperunits and have the same name.  You should probably rename one
43828f6c2f2SEnji Cooperof the classes to put the tests into different test suites.
439b89a7cc2SEnji CooperStack trace: (omitted)
440b89a7cc2SEnji Cooper
44128f6c2f2SEnji Cooper[  FAILED  ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
442b89a7cc2SEnji Cooper[----------] 2 tests from TEST_F_before_TEST_in_same_test_case
443b89a7cc2SEnji Cooper[ RUN      ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
444b89a7cc2SEnji Cooper[       OK ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
445b89a7cc2SEnji Cooper[ RUN      ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
446b89a7cc2SEnji Coopergtest.cc:#: Failure
447b89a7cc2SEnji CooperFailed
44828f6c2f2SEnji CooperAll tests in the same test suite must use the same test fixture
44928f6c2f2SEnji Cooperclass, so mixing TEST_F and TEST in the same test suite is
45028f6c2f2SEnji Cooperillegal.  In test suite TEST_F_before_TEST_in_same_test_case,
451b89a7cc2SEnji Coopertest DefinedUsingTEST_F is defined using TEST_F but
452b89a7cc2SEnji Coopertest DefinedUsingTESTAndShouldFail is defined using TEST.  You probably
453b89a7cc2SEnji Cooperwant to change the TEST to TEST_F or move it to another test
454b89a7cc2SEnji Coopercase.
455b89a7cc2SEnji CooperStack trace: (omitted)
456b89a7cc2SEnji Cooper
457b89a7cc2SEnji Cooper[  FAILED  ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
458b89a7cc2SEnji Cooper[----------] 2 tests from TEST_before_TEST_F_in_same_test_case
459b89a7cc2SEnji Cooper[ RUN      ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
460b89a7cc2SEnji Cooper[       OK ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
461b89a7cc2SEnji Cooper[ RUN      ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
462b89a7cc2SEnji Coopergtest.cc:#: Failure
463b89a7cc2SEnji CooperFailed
46428f6c2f2SEnji CooperAll tests in the same test suite must use the same test fixture
46528f6c2f2SEnji Cooperclass, so mixing TEST_F and TEST in the same test suite is
46628f6c2f2SEnji Cooperillegal.  In test suite TEST_before_TEST_F_in_same_test_case,
467b89a7cc2SEnji Coopertest DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
468b89a7cc2SEnji Coopertest DefinedUsingTEST is defined using TEST.  You probably
469b89a7cc2SEnji Cooperwant to change the TEST to TEST_F or move it to another test
470b89a7cc2SEnji Coopercase.
471b89a7cc2SEnji CooperStack trace: (omitted)
472b89a7cc2SEnji Cooper
473b89a7cc2SEnji Cooper[  FAILED  ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
474b89a7cc2SEnji Cooper[----------] 8 tests from ExpectNonfatalFailureTest
475b89a7cc2SEnji Cooper[ RUN      ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
476b89a7cc2SEnji Cooper[       OK ] ExpectNonfatalFailureTest.CanReferenceGlobalVariables
477b89a7cc2SEnji Cooper[ RUN      ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
478b89a7cc2SEnji Cooper[       OK ] ExpectNonfatalFailureTest.CanReferenceLocalVariables
479b89a7cc2SEnji Cooper[ RUN      ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
480b89a7cc2SEnji Cooper[       OK ] ExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
481b89a7cc2SEnji Cooper[ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
482b89a7cc2SEnji Cooper(expecting a failure)
483b89a7cc2SEnji Coopergtest.cc:#: Failure
484b89a7cc2SEnji CooperExpected: 1 non-fatal failure
485b89a7cc2SEnji Cooper  Actual: 0 failures
486b89a7cc2SEnji CooperStack trace: (omitted)
487b89a7cc2SEnji Cooper
488b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
489b89a7cc2SEnji Cooper[ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
490b89a7cc2SEnji Cooper(expecting a failure)
491b89a7cc2SEnji Coopergtest.cc:#: Failure
492b89a7cc2SEnji CooperExpected: 1 non-fatal failure
493b89a7cc2SEnji Cooper  Actual: 2 failures
494b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Non-fatal failure:
495b89a7cc2SEnji CooperFailed
496b89a7cc2SEnji CooperExpected non-fatal failure 1.
497b89a7cc2SEnji CooperStack trace: (omitted)
498b89a7cc2SEnji Cooper
499b89a7cc2SEnji Cooper
500b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Non-fatal failure:
501b89a7cc2SEnji CooperFailed
502b89a7cc2SEnji CooperExpected non-fatal failure 2.
503b89a7cc2SEnji CooperStack trace: (omitted)
504b89a7cc2SEnji Cooper
505b89a7cc2SEnji Cooper
506b89a7cc2SEnji CooperStack trace: (omitted)
507b89a7cc2SEnji Cooper
508b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
509b89a7cc2SEnji Cooper[ RUN      ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
510b89a7cc2SEnji Cooper(expecting a failure)
511b89a7cc2SEnji Coopergtest.cc:#: Failure
512b89a7cc2SEnji CooperExpected: 1 non-fatal failure
513b89a7cc2SEnji Cooper  Actual:
514b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Fatal failure:
515b89a7cc2SEnji CooperFailed
516b89a7cc2SEnji CooperExpected fatal failure.
517b89a7cc2SEnji CooperStack trace: (omitted)
518b89a7cc2SEnji Cooper
519b89a7cc2SEnji Cooper
520b89a7cc2SEnji CooperStack trace: (omitted)
521b89a7cc2SEnji Cooper
522b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
523b89a7cc2SEnji Cooper[ RUN      ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
524b89a7cc2SEnji Cooper(expecting a failure)
525b89a7cc2SEnji Coopergtest.cc:#: Failure
526b89a7cc2SEnji CooperExpected: 1 non-fatal failure
527b89a7cc2SEnji Cooper  Actual: 0 failures
528b89a7cc2SEnji CooperStack trace: (omitted)
529b89a7cc2SEnji Cooper
530b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
531b89a7cc2SEnji Cooper[ RUN      ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
532b89a7cc2SEnji Cooper(expecting a failure)
533b89a7cc2SEnji Coopergtest.cc:#: Failure
534b89a7cc2SEnji CooperExpected: 1 non-fatal failure
535b89a7cc2SEnji Cooper  Actual: 0 failures
536b89a7cc2SEnji CooperStack trace: (omitted)
537b89a7cc2SEnji Cooper
538b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
539b89a7cc2SEnji Cooper[----------] 8 tests from ExpectFatalFailureTest
540b89a7cc2SEnji Cooper[ RUN      ] ExpectFatalFailureTest.CanReferenceGlobalVariables
541b89a7cc2SEnji Cooper[       OK ] ExpectFatalFailureTest.CanReferenceGlobalVariables
542b89a7cc2SEnji Cooper[ RUN      ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
543b89a7cc2SEnji Cooper[       OK ] ExpectFatalFailureTest.CanReferenceLocalStaticVariables
544b89a7cc2SEnji Cooper[ RUN      ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
545b89a7cc2SEnji Cooper[       OK ] ExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
546b89a7cc2SEnji Cooper[ RUN      ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
547b89a7cc2SEnji Cooper(expecting a failure)
548b89a7cc2SEnji Coopergtest.cc:#: Failure
549b89a7cc2SEnji CooperExpected: 1 fatal failure
550b89a7cc2SEnji Cooper  Actual: 0 failures
551b89a7cc2SEnji CooperStack trace: (omitted)
552b89a7cc2SEnji Cooper
553b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
554b89a7cc2SEnji Cooper[ RUN      ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
555b89a7cc2SEnji Cooper(expecting a failure)
556b89a7cc2SEnji Coopergtest.cc:#: Failure
557b89a7cc2SEnji CooperExpected: 1 fatal failure
558b89a7cc2SEnji Cooper  Actual: 2 failures
559b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Fatal failure:
560b89a7cc2SEnji CooperFailed
561b89a7cc2SEnji CooperExpected fatal failure.
562b89a7cc2SEnji CooperStack trace: (omitted)
563b89a7cc2SEnji Cooper
564b89a7cc2SEnji Cooper
565b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Fatal failure:
566b89a7cc2SEnji CooperFailed
567b89a7cc2SEnji CooperExpected fatal failure.
568b89a7cc2SEnji CooperStack trace: (omitted)
569b89a7cc2SEnji Cooper
570b89a7cc2SEnji Cooper
571b89a7cc2SEnji CooperStack trace: (omitted)
572b89a7cc2SEnji Cooper
573b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
574b89a7cc2SEnji Cooper[ RUN      ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
575b89a7cc2SEnji Cooper(expecting a failure)
576b89a7cc2SEnji Coopergtest.cc:#: Failure
577b89a7cc2SEnji CooperExpected: 1 fatal failure
578b89a7cc2SEnji Cooper  Actual:
579b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Non-fatal failure:
580b89a7cc2SEnji CooperFailed
581b89a7cc2SEnji CooperExpected non-fatal failure.
582b89a7cc2SEnji CooperStack trace: (omitted)
583b89a7cc2SEnji Cooper
584b89a7cc2SEnji Cooper
585b89a7cc2SEnji CooperStack trace: (omitted)
586b89a7cc2SEnji Cooper
587b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
588b89a7cc2SEnji Cooper[ RUN      ] ExpectFatalFailureTest.FailsWhenStatementReturns
589b89a7cc2SEnji Cooper(expecting a failure)
590b89a7cc2SEnji Coopergtest.cc:#: Failure
591b89a7cc2SEnji CooperExpected: 1 fatal failure
592b89a7cc2SEnji Cooper  Actual: 0 failures
593b89a7cc2SEnji CooperStack trace: (omitted)
594b89a7cc2SEnji Cooper
595b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementReturns
596b89a7cc2SEnji Cooper[ RUN      ] ExpectFatalFailureTest.FailsWhenStatementThrows
597b89a7cc2SEnji Cooper(expecting a failure)
598b89a7cc2SEnji Coopergtest.cc:#: Failure
599b89a7cc2SEnji CooperExpected: 1 fatal failure
600b89a7cc2SEnji Cooper  Actual: 0 failures
601b89a7cc2SEnji CooperStack trace: (omitted)
602b89a7cc2SEnji Cooper
603b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementThrows
604b89a7cc2SEnji Cooper[----------] 2 tests from TypedTest/0, where TypeParam = int
605b89a7cc2SEnji Cooper[ RUN      ] TypedTest/0.Success
606b89a7cc2SEnji Cooper[       OK ] TypedTest/0.Success
607b89a7cc2SEnji Cooper[ RUN      ] TypedTest/0.Failure
608b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
609b89a7cc2SEnji CooperExpected equality of these values:
610b89a7cc2SEnji Cooper  1
611b89a7cc2SEnji Cooper  TypeParam()
612b89a7cc2SEnji Cooper    Which is: 0
613b89a7cc2SEnji CooperExpected failure
614b89a7cc2SEnji CooperStack trace: (omitted)
615b89a7cc2SEnji Cooper
616b89a7cc2SEnji Cooper[  FAILED  ] TypedTest/0.Failure, where TypeParam = int
617b89a7cc2SEnji Cooper[----------] 2 tests from TypedTestWithNames/char0, where TypeParam = char
618b89a7cc2SEnji Cooper[ RUN      ] TypedTestWithNames/char0.Success
619b89a7cc2SEnji Cooper[       OK ] TypedTestWithNames/char0.Success
620b89a7cc2SEnji Cooper[ RUN      ] TypedTestWithNames/char0.Failure
621b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
622b89a7cc2SEnji CooperFailed
623b89a7cc2SEnji CooperStack trace: (omitted)
624b89a7cc2SEnji Cooper
625b89a7cc2SEnji Cooper[  FAILED  ] TypedTestWithNames/char0.Failure, where TypeParam = char
626b89a7cc2SEnji Cooper[----------] 2 tests from TypedTestWithNames/int1, where TypeParam = int
627b89a7cc2SEnji Cooper[ RUN      ] TypedTestWithNames/int1.Success
628b89a7cc2SEnji Cooper[       OK ] TypedTestWithNames/int1.Success
629b89a7cc2SEnji Cooper[ RUN      ] TypedTestWithNames/int1.Failure
630b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
631b89a7cc2SEnji CooperFailed
632b89a7cc2SEnji CooperStack trace: (omitted)
633b89a7cc2SEnji Cooper
634b89a7cc2SEnji Cooper[  FAILED  ] TypedTestWithNames/int1.Failure, where TypeParam = int
635b89a7cc2SEnji Cooper[----------] 2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
636b89a7cc2SEnji Cooper[ RUN      ] Unsigned/TypedTestP/0.Success
637b89a7cc2SEnji Cooper[       OK ] Unsigned/TypedTestP/0.Success
638b89a7cc2SEnji Cooper[ RUN      ] Unsigned/TypedTestP/0.Failure
639b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
640b89a7cc2SEnji CooperExpected equality of these values:
641b89a7cc2SEnji Cooper  1U
642b89a7cc2SEnji Cooper    Which is: 1
643b89a7cc2SEnji Cooper  TypeParam()
644b89a7cc2SEnji Cooper    Which is: '\0'
645b89a7cc2SEnji CooperExpected failure
646b89a7cc2SEnji CooperStack trace: (omitted)
647b89a7cc2SEnji Cooper
648b89a7cc2SEnji Cooper[  FAILED  ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
649b89a7cc2SEnji Cooper[----------] 2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
650b89a7cc2SEnji Cooper[ RUN      ] Unsigned/TypedTestP/1.Success
651b89a7cc2SEnji Cooper[       OK ] Unsigned/TypedTestP/1.Success
652b89a7cc2SEnji Cooper[ RUN      ] Unsigned/TypedTestP/1.Failure
653b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
654b89a7cc2SEnji CooperExpected equality of these values:
655b89a7cc2SEnji Cooper  1U
656b89a7cc2SEnji Cooper    Which is: 1
657b89a7cc2SEnji Cooper  TypeParam()
658b89a7cc2SEnji Cooper    Which is: 0
659b89a7cc2SEnji CooperExpected failure
660b89a7cc2SEnji CooperStack trace: (omitted)
661b89a7cc2SEnji Cooper
662b89a7cc2SEnji Cooper[  FAILED  ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
663b89a7cc2SEnji Cooper[----------] 2 tests from UnsignedCustomName/TypedTestP/unsignedChar0, where TypeParam = unsigned char
664b89a7cc2SEnji Cooper[ RUN      ] UnsignedCustomName/TypedTestP/unsignedChar0.Success
665b89a7cc2SEnji Cooper[       OK ] UnsignedCustomName/TypedTestP/unsignedChar0.Success
666b89a7cc2SEnji Cooper[ RUN      ] UnsignedCustomName/TypedTestP/unsignedChar0.Failure
667b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
668b89a7cc2SEnji CooperExpected equality of these values:
669b89a7cc2SEnji Cooper  1U
670b89a7cc2SEnji Cooper    Which is: 1
671b89a7cc2SEnji Cooper  TypeParam()
672b89a7cc2SEnji Cooper    Which is: '\0'
673b89a7cc2SEnji CooperExpected failure
674b89a7cc2SEnji CooperStack trace: (omitted)
675b89a7cc2SEnji Cooper
676b89a7cc2SEnji Cooper[  FAILED  ] UnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
677b89a7cc2SEnji Cooper[----------] 2 tests from UnsignedCustomName/TypedTestP/unsignedInt1, where TypeParam = unsigned int
678b89a7cc2SEnji Cooper[ RUN      ] UnsignedCustomName/TypedTestP/unsignedInt1.Success
679b89a7cc2SEnji Cooper[       OK ] UnsignedCustomName/TypedTestP/unsignedInt1.Success
680b89a7cc2SEnji Cooper[ RUN      ] UnsignedCustomName/TypedTestP/unsignedInt1.Failure
681b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
682b89a7cc2SEnji CooperExpected equality of these values:
683b89a7cc2SEnji Cooper  1U
684b89a7cc2SEnji Cooper    Which is: 1
685b89a7cc2SEnji Cooper  TypeParam()
686b89a7cc2SEnji Cooper    Which is: 0
687b89a7cc2SEnji CooperExpected failure
688b89a7cc2SEnji CooperStack trace: (omitted)
689b89a7cc2SEnji Cooper
690b89a7cc2SEnji Cooper[  FAILED  ] UnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
691b89a7cc2SEnji Cooper[----------] 4 tests from ExpectFailureTest
692b89a7cc2SEnji Cooper[ RUN      ] ExpectFailureTest.ExpectFatalFailure
693b89a7cc2SEnji Cooper(expecting 1 failure)
694b89a7cc2SEnji Coopergtest.cc:#: Failure
695b89a7cc2SEnji CooperExpected: 1 fatal failure
696b89a7cc2SEnji Cooper  Actual:
697b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Success:
698b89a7cc2SEnji CooperSucceeded
699b89a7cc2SEnji CooperStack trace: (omitted)
700b89a7cc2SEnji Cooper
701b89a7cc2SEnji Cooper
702b89a7cc2SEnji CooperStack trace: (omitted)
703b89a7cc2SEnji Cooper
704b89a7cc2SEnji Cooper(expecting 1 failure)
705b89a7cc2SEnji Coopergtest.cc:#: Failure
706b89a7cc2SEnji CooperExpected: 1 fatal failure
707b89a7cc2SEnji Cooper  Actual:
708b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Non-fatal failure:
709b89a7cc2SEnji CooperFailed
710b89a7cc2SEnji CooperExpected non-fatal failure.
711b89a7cc2SEnji CooperStack trace: (omitted)
712b89a7cc2SEnji Cooper
713b89a7cc2SEnji Cooper
714b89a7cc2SEnji CooperStack trace: (omitted)
715b89a7cc2SEnji Cooper
716b89a7cc2SEnji Cooper(expecting 1 failure)
717b89a7cc2SEnji Coopergtest.cc:#: Failure
718b89a7cc2SEnji CooperExpected: 1 fatal failure containing "Some other fatal failure expected."
719b89a7cc2SEnji Cooper  Actual:
720b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Fatal failure:
721b89a7cc2SEnji CooperFailed
722b89a7cc2SEnji CooperExpected fatal failure.
723b89a7cc2SEnji CooperStack trace: (omitted)
724b89a7cc2SEnji Cooper
725b89a7cc2SEnji Cooper
726b89a7cc2SEnji CooperStack trace: (omitted)
727b89a7cc2SEnji Cooper
728b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureTest.ExpectFatalFailure
729b89a7cc2SEnji Cooper[ RUN      ] ExpectFailureTest.ExpectNonFatalFailure
730b89a7cc2SEnji Cooper(expecting 1 failure)
731b89a7cc2SEnji Coopergtest.cc:#: Failure
732b89a7cc2SEnji CooperExpected: 1 non-fatal failure
733b89a7cc2SEnji Cooper  Actual:
734b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Success:
735b89a7cc2SEnji CooperSucceeded
736b89a7cc2SEnji CooperStack trace: (omitted)
737b89a7cc2SEnji Cooper
738b89a7cc2SEnji Cooper
739b89a7cc2SEnji CooperStack trace: (omitted)
740b89a7cc2SEnji Cooper
741b89a7cc2SEnji Cooper(expecting 1 failure)
742b89a7cc2SEnji Coopergtest.cc:#: Failure
743b89a7cc2SEnji CooperExpected: 1 non-fatal failure
744b89a7cc2SEnji Cooper  Actual:
745b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Fatal failure:
746b89a7cc2SEnji CooperFailed
747b89a7cc2SEnji CooperExpected fatal failure.
748b89a7cc2SEnji CooperStack trace: (omitted)
749b89a7cc2SEnji Cooper
750b89a7cc2SEnji Cooper
751b89a7cc2SEnji CooperStack trace: (omitted)
752b89a7cc2SEnji Cooper
753b89a7cc2SEnji Cooper(expecting 1 failure)
754b89a7cc2SEnji Coopergtest.cc:#: Failure
755b89a7cc2SEnji CooperExpected: 1 non-fatal failure containing "Some other non-fatal failure."
756b89a7cc2SEnji Cooper  Actual:
757b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Non-fatal failure:
758b89a7cc2SEnji CooperFailed
759b89a7cc2SEnji CooperExpected non-fatal failure.
760b89a7cc2SEnji CooperStack trace: (omitted)
761b89a7cc2SEnji Cooper
762b89a7cc2SEnji Cooper
763b89a7cc2SEnji CooperStack trace: (omitted)
764b89a7cc2SEnji Cooper
765b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailure
766b89a7cc2SEnji Cooper[ RUN      ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
767b89a7cc2SEnji Cooper(expecting 1 failure)
768b89a7cc2SEnji Coopergtest.cc:#: Failure
769b89a7cc2SEnji CooperExpected: 1 fatal failure
770b89a7cc2SEnji Cooper  Actual:
771b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Success:
772b89a7cc2SEnji CooperSucceeded
773b89a7cc2SEnji CooperStack trace: (omitted)
774b89a7cc2SEnji Cooper
775b89a7cc2SEnji Cooper
776b89a7cc2SEnji CooperStack trace: (omitted)
777b89a7cc2SEnji Cooper
778b89a7cc2SEnji Cooper(expecting 1 failure)
779b89a7cc2SEnji Coopergtest.cc:#: Failure
780b89a7cc2SEnji CooperExpected: 1 fatal failure
781b89a7cc2SEnji Cooper  Actual:
782b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Non-fatal failure:
783b89a7cc2SEnji CooperFailed
784b89a7cc2SEnji CooperExpected non-fatal failure.
785b89a7cc2SEnji CooperStack trace: (omitted)
786b89a7cc2SEnji Cooper
787b89a7cc2SEnji Cooper
788b89a7cc2SEnji CooperStack trace: (omitted)
789b89a7cc2SEnji Cooper
790b89a7cc2SEnji Cooper(expecting 1 failure)
791b89a7cc2SEnji Coopergtest.cc:#: Failure
792b89a7cc2SEnji CooperExpected: 1 fatal failure containing "Some other fatal failure expected."
793b89a7cc2SEnji Cooper  Actual:
794b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Fatal failure:
795b89a7cc2SEnji CooperFailed
796b89a7cc2SEnji CooperExpected fatal failure.
797b89a7cc2SEnji CooperStack trace: (omitted)
798b89a7cc2SEnji Cooper
799b89a7cc2SEnji Cooper
800b89a7cc2SEnji CooperStack trace: (omitted)
801b89a7cc2SEnji Cooper
802b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
803b89a7cc2SEnji Cooper[ RUN      ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
804b89a7cc2SEnji Cooper(expecting 1 failure)
805b89a7cc2SEnji Coopergtest.cc:#: Failure
806b89a7cc2SEnji CooperExpected: 1 non-fatal failure
807b89a7cc2SEnji Cooper  Actual:
808b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Success:
809b89a7cc2SEnji CooperSucceeded
810b89a7cc2SEnji CooperStack trace: (omitted)
811b89a7cc2SEnji Cooper
812b89a7cc2SEnji Cooper
813b89a7cc2SEnji CooperStack trace: (omitted)
814b89a7cc2SEnji Cooper
815b89a7cc2SEnji Cooper(expecting 1 failure)
816b89a7cc2SEnji Coopergtest.cc:#: Failure
817b89a7cc2SEnji CooperExpected: 1 non-fatal failure
818b89a7cc2SEnji Cooper  Actual:
819b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Fatal failure:
820b89a7cc2SEnji CooperFailed
821b89a7cc2SEnji CooperExpected fatal failure.
822b89a7cc2SEnji CooperStack trace: (omitted)
823b89a7cc2SEnji Cooper
824b89a7cc2SEnji Cooper
825b89a7cc2SEnji CooperStack trace: (omitted)
826b89a7cc2SEnji Cooper
827b89a7cc2SEnji Cooper(expecting 1 failure)
828b89a7cc2SEnji Coopergtest.cc:#: Failure
829b89a7cc2SEnji CooperExpected: 1 non-fatal failure containing "Some other non-fatal failure."
830b89a7cc2SEnji Cooper  Actual:
831b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Non-fatal failure:
832b89a7cc2SEnji CooperFailed
833b89a7cc2SEnji CooperExpected non-fatal failure.
834b89a7cc2SEnji CooperStack trace: (omitted)
835b89a7cc2SEnji Cooper
836b89a7cc2SEnji Cooper
837b89a7cc2SEnji CooperStack trace: (omitted)
838b89a7cc2SEnji Cooper
839b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
840b89a7cc2SEnji Cooper[----------] 2 tests from ExpectFailureWithThreadsTest
841b89a7cc2SEnji Cooper[ RUN      ] ExpectFailureWithThreadsTest.ExpectFatalFailure
842b89a7cc2SEnji Cooper(expecting 2 failures)
843b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
844b89a7cc2SEnji CooperFailed
845b89a7cc2SEnji CooperExpected fatal failure.
846b89a7cc2SEnji CooperStack trace: (omitted)
847b89a7cc2SEnji Cooper
848b89a7cc2SEnji Coopergtest.cc:#: Failure
849b89a7cc2SEnji CooperExpected: 1 fatal failure
850b89a7cc2SEnji Cooper  Actual: 0 failures
851b89a7cc2SEnji CooperStack trace: (omitted)
852b89a7cc2SEnji Cooper
853b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureWithThreadsTest.ExpectFatalFailure
854b89a7cc2SEnji Cooper[ RUN      ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
855b89a7cc2SEnji Cooper(expecting 2 failures)
856b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
857b89a7cc2SEnji CooperFailed
858b89a7cc2SEnji CooperExpected non-fatal failure.
859b89a7cc2SEnji CooperStack trace: (omitted)
860b89a7cc2SEnji Cooper
861b89a7cc2SEnji Coopergtest.cc:#: Failure
862b89a7cc2SEnji CooperExpected: 1 non-fatal failure
863b89a7cc2SEnji Cooper  Actual: 0 failures
864b89a7cc2SEnji CooperStack trace: (omitted)
865b89a7cc2SEnji Cooper
866b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
867b89a7cc2SEnji Cooper[----------] 1 test from ScopedFakeTestPartResultReporterTest
868b89a7cc2SEnji Cooper[ RUN      ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
869b89a7cc2SEnji Cooper(expecting 2 failures)
870b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
871b89a7cc2SEnji CooperFailed
872b89a7cc2SEnji CooperExpected fatal failure.
873b89a7cc2SEnji CooperStack trace: (omitted)
874b89a7cc2SEnji Cooper
875b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
876b89a7cc2SEnji CooperFailed
877b89a7cc2SEnji CooperExpected non-fatal failure.
878b89a7cc2SEnji CooperStack trace: (omitted)
879b89a7cc2SEnji Cooper
880b89a7cc2SEnji Cooper[  FAILED  ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
88128f6c2f2SEnji Cooper[----------] 2 tests from DynamicFixture
88228f6c2f2SEnji CooperDynamicFixture::SetUpTestSuite
88328f6c2f2SEnji Cooper[ RUN      ] DynamicFixture.DynamicTestPass
88428f6c2f2SEnji CooperDynamicFixture()
88528f6c2f2SEnji CooperDynamicFixture::SetUp
88628f6c2f2SEnji CooperDynamicFixture::TearDown
88728f6c2f2SEnji Cooper~DynamicFixture()
88828f6c2f2SEnji Cooper[       OK ] DynamicFixture.DynamicTestPass
88928f6c2f2SEnji Cooper[ RUN      ] DynamicFixture.DynamicTestFail
89028f6c2f2SEnji CooperDynamicFixture()
89128f6c2f2SEnji CooperDynamicFixture::SetUp
89228f6c2f2SEnji Coopergoogletest-output-test_.cc:#: Failure
89328f6c2f2SEnji CooperValue of: Pass
89428f6c2f2SEnji Cooper  Actual: false
89528f6c2f2SEnji CooperExpected: true
89628f6c2f2SEnji CooperStack trace: (omitted)
89728f6c2f2SEnji Cooper
89828f6c2f2SEnji CooperDynamicFixture::TearDown
89928f6c2f2SEnji Cooper~DynamicFixture()
90028f6c2f2SEnji Cooper[  FAILED  ] DynamicFixture.DynamicTestFail
90128f6c2f2SEnji CooperDynamicFixture::TearDownTestSuite
90228f6c2f2SEnji Cooper[----------] 1 test from DynamicFixtureAnotherName
90328f6c2f2SEnji CooperDynamicFixture::SetUpTestSuite
90428f6c2f2SEnji Cooper[ RUN      ] DynamicFixtureAnotherName.DynamicTestPass
90528f6c2f2SEnji CooperDynamicFixture()
90628f6c2f2SEnji CooperDynamicFixture::SetUp
90728f6c2f2SEnji CooperDynamicFixture::TearDown
90828f6c2f2SEnji Cooper~DynamicFixture()
90928f6c2f2SEnji Cooper[       OK ] DynamicFixtureAnotherName.DynamicTestPass
91028f6c2f2SEnji CooperDynamicFixture::TearDownTestSuite
91128f6c2f2SEnji Cooper[----------] 2 tests from BadDynamicFixture1
91228f6c2f2SEnji CooperDynamicFixture::SetUpTestSuite
91328f6c2f2SEnji Cooper[ RUN      ] BadDynamicFixture1.FixtureBase
91428f6c2f2SEnji CooperDynamicFixture()
91528f6c2f2SEnji CooperDynamicFixture::SetUp
91628f6c2f2SEnji CooperDynamicFixture::TearDown
91728f6c2f2SEnji Cooper~DynamicFixture()
91828f6c2f2SEnji Cooper[       OK ] BadDynamicFixture1.FixtureBase
91928f6c2f2SEnji Cooper[ RUN      ] BadDynamicFixture1.TestBase
92028f6c2f2SEnji CooperDynamicFixture()
92128f6c2f2SEnji Coopergtest.cc:#: Failure
92228f6c2f2SEnji CooperFailed
92328f6c2f2SEnji CooperAll tests in the same test suite must use the same test fixture
92428f6c2f2SEnji Cooperclass, so mixing TEST_F and TEST in the same test suite is
92528f6c2f2SEnji Cooperillegal.  In test suite BadDynamicFixture1,
92628f6c2f2SEnji Coopertest FixtureBase is defined using TEST_F but
92728f6c2f2SEnji Coopertest TestBase is defined using TEST.  You probably
92828f6c2f2SEnji Cooperwant to change the TEST to TEST_F or move it to another test
92928f6c2f2SEnji Coopercase.
93028f6c2f2SEnji CooperStack trace: (omitted)
93128f6c2f2SEnji Cooper
93228f6c2f2SEnji Cooper~DynamicFixture()
93328f6c2f2SEnji Cooper[  FAILED  ] BadDynamicFixture1.TestBase
93428f6c2f2SEnji CooperDynamicFixture::TearDownTestSuite
93528f6c2f2SEnji Cooper[----------] 2 tests from BadDynamicFixture2
93628f6c2f2SEnji CooperDynamicFixture::SetUpTestSuite
93728f6c2f2SEnji Cooper[ RUN      ] BadDynamicFixture2.FixtureBase
93828f6c2f2SEnji CooperDynamicFixture()
93928f6c2f2SEnji CooperDynamicFixture::SetUp
94028f6c2f2SEnji CooperDynamicFixture::TearDown
94128f6c2f2SEnji Cooper~DynamicFixture()
94228f6c2f2SEnji Cooper[       OK ] BadDynamicFixture2.FixtureBase
94328f6c2f2SEnji Cooper[ RUN      ] BadDynamicFixture2.Derived
94428f6c2f2SEnji CooperDynamicFixture()
94528f6c2f2SEnji Coopergtest.cc:#: Failure
94628f6c2f2SEnji CooperFailed
94728f6c2f2SEnji CooperAll tests in the same test suite must use the same test fixture
94828f6c2f2SEnji Cooperclass.  However, in test suite BadDynamicFixture2,
94928f6c2f2SEnji Cooperyou defined test FixtureBase and test Derived
95028f6c2f2SEnji Cooperusing two different test fixture classes.  This can happen if
95128f6c2f2SEnji Cooperthe two classes are from different namespaces or translation
95228f6c2f2SEnji Cooperunits and have the same name.  You should probably rename one
95328f6c2f2SEnji Cooperof the classes to put the tests into different test suites.
95428f6c2f2SEnji CooperStack trace: (omitted)
95528f6c2f2SEnji Cooper
95628f6c2f2SEnji Cooper~DynamicFixture()
95728f6c2f2SEnji Cooper[  FAILED  ] BadDynamicFixture2.Derived
95828f6c2f2SEnji CooperDynamicFixture::TearDownTestSuite
95928f6c2f2SEnji Cooper[----------] 1 test from TestSuiteThatFailsToSetUp
96028f6c2f2SEnji Coopergoogletest-output-test_.cc:#: Failure
96128f6c2f2SEnji CooperValue of: false
96228f6c2f2SEnji Cooper  Actual: false
96328f6c2f2SEnji CooperExpected: true
96428f6c2f2SEnji CooperStack trace: (omitted)
96528f6c2f2SEnji Cooper
96628f6c2f2SEnji Cooper[ RUN      ] TestSuiteThatFailsToSetUp.ShouldNotRun
96728f6c2f2SEnji Coopergoogletest-output-test_.cc:#: Skipped
96828f6c2f2SEnji Cooper
96928f6c2f2SEnji Cooper[  SKIPPED ] TestSuiteThatFailsToSetUp.ShouldNotRun
97028f6c2f2SEnji Cooper[----------] 1 test from TestSuiteThatSkipsInSetUp
97128f6c2f2SEnji Coopergoogletest-output-test_.cc:#: Skipped
97228f6c2f2SEnji CooperSkip entire test suite
97328f6c2f2SEnji CooperStack trace: (omitted)
97428f6c2f2SEnji Cooper
97528f6c2f2SEnji Cooper[ RUN      ] TestSuiteThatSkipsInSetUp.ShouldNotRun
97628f6c2f2SEnji Coopergoogletest-output-test_.cc:#: Skipped
97728f6c2f2SEnji Cooper
97828f6c2f2SEnji Cooper[  SKIPPED ] TestSuiteThatSkipsInSetUp.ShouldNotRun
979b89a7cc2SEnji Cooper[----------] 1 test from PrintingFailingParams/FailingParamTest
980b89a7cc2SEnji Cooper[ RUN      ] PrintingFailingParams/FailingParamTest.Fails/0
981b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
982b89a7cc2SEnji CooperExpected equality of these values:
983b89a7cc2SEnji Cooper  1
984b89a7cc2SEnji Cooper  GetParam()
985b89a7cc2SEnji Cooper    Which is: 2
986b89a7cc2SEnji CooperStack trace: (omitted)
987b89a7cc2SEnji Cooper
988b89a7cc2SEnji Cooper[  FAILED  ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
98928f6c2f2SEnji Cooper[----------] 1 test from EmptyBasenameParamInst
99028f6c2f2SEnji Cooper[ RUN      ] EmptyBasenameParamInst.Passes/0
99128f6c2f2SEnji Cooper[       OK ] EmptyBasenameParamInst.Passes/0
992b89a7cc2SEnji Cooper[----------] 2 tests from PrintingStrings/ParamTest
993b89a7cc2SEnji Cooper[ RUN      ] PrintingStrings/ParamTest.Success/a
994b89a7cc2SEnji Cooper[       OK ] PrintingStrings/ParamTest.Success/a
995b89a7cc2SEnji Cooper[ RUN      ] PrintingStrings/ParamTest.Failure/a
996b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
997b89a7cc2SEnji CooperExpected equality of these values:
998b89a7cc2SEnji Cooper  "b"
999b89a7cc2SEnji Cooper  GetParam()
1000b89a7cc2SEnji Cooper    Which is: "a"
1001b89a7cc2SEnji CooperExpected failure
1002b89a7cc2SEnji CooperStack trace: (omitted)
1003b89a7cc2SEnji Cooper
1004b89a7cc2SEnji Cooper[  FAILED  ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
100528f6c2f2SEnji Cooper[----------] 3 tests from GoogleTestVerification
100628f6c2f2SEnji Cooper[ RUN      ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
100728f6c2f2SEnji Coopergoogletest-output-test_.cc:#: Failure
100828f6c2f2SEnji CooperParameterized test suite NoTests is instantiated via INSTANTIATE_TEST_SUITE_P, but no tests are defined via TEST_P . No test cases will run.
100928f6c2f2SEnji Cooper
101028f6c2f2SEnji CooperIdeally, 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.
101128f6c2f2SEnji Cooper
101228f6c2f2SEnji CooperTo suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
101328f6c2f2SEnji Cooper
101428f6c2f2SEnji CooperGTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(NoTests);
101528f6c2f2SEnji CooperStack trace: (omitted)
101628f6c2f2SEnji Cooper
101728f6c2f2SEnji Cooper[  FAILED  ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
101828f6c2f2SEnji Cooper[ RUN      ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
101928f6c2f2SEnji Coopergoogletest-output-test_.cc:#: Failure
102028f6c2f2SEnji CooperParameterized 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.
102128f6c2f2SEnji Cooper
102228f6c2f2SEnji CooperIdeally, 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.)
102328f6c2f2SEnji Cooper
102428f6c2f2SEnji CooperTo suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
102528f6c2f2SEnji Cooper
102628f6c2f2SEnji CooperGTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(DetectNotInstantiatedTest);
102728f6c2f2SEnji CooperStack trace: (omitted)
102828f6c2f2SEnji Cooper
102928f6c2f2SEnji Cooper[  FAILED  ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
103028f6c2f2SEnji Cooper[ RUN      ] GoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
103128f6c2f2SEnji Coopergoogletest-output-test_.cc:#: Failure
103228f6c2f2SEnji CooperType 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.
103328f6c2f2SEnji Cooper
103428f6c2f2SEnji CooperIdeally, 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.)
103528f6c2f2SEnji Cooper
103628f6c2f2SEnji CooperTo suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
103728f6c2f2SEnji Cooper
103828f6c2f2SEnji CooperGTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(DetectNotInstantiatedTypesTest);
103928f6c2f2SEnji CooperStack trace: (omitted)
104028f6c2f2SEnji Cooper
104128f6c2f2SEnji Cooper[  FAILED  ] GoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
1042b89a7cc2SEnji Cooper[----------] Global test environment tear-down
1043b89a7cc2SEnji CooperBarEnvironment::TearDown() called.
1044b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
1045b89a7cc2SEnji CooperFailed
1046b89a7cc2SEnji CooperExpected non-fatal failure.
1047b89a7cc2SEnji CooperStack trace: (omitted)
1048b89a7cc2SEnji Cooper
1049b89a7cc2SEnji CooperFooEnvironment::TearDown() called.
1050b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
1051b89a7cc2SEnji CooperFailed
1052b89a7cc2SEnji CooperExpected fatal failure.
1053b89a7cc2SEnji CooperStack trace: (omitted)
1054b89a7cc2SEnji Cooper
105528f6c2f2SEnji Cooper[==========] 90 tests from 43 test suites ran.
105628f6c2f2SEnji Cooper[  PASSED  ] 31 tests.
105728f6c2f2SEnji Cooper[  SKIPPED ] 2 tests, listed below:
105828f6c2f2SEnji Cooper[  SKIPPED ] TestSuiteThatFailsToSetUp.ShouldNotRun
105928f6c2f2SEnji Cooper[  SKIPPED ] TestSuiteThatSkipsInSetUp.ShouldNotRun
106028f6c2f2SEnji Cooper[  FAILED  ] 57 tests, listed below:
1061b89a7cc2SEnji Cooper[  FAILED  ] NonfatalFailureTest.EscapesStringOperands
1062b89a7cc2SEnji Cooper[  FAILED  ] NonfatalFailureTest.DiffForLongStrings
1063b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
1064b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
1065b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
1066b89a7cc2SEnji Cooper[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
1067b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.AcceptedValues
1068b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.ObeysScopes
1069b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.WorksInLoop
1070b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.WorksInSubroutine
1071b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.CanBeNested
1072b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.CanBeRepeated
1073b89a7cc2SEnji Cooper[  FAILED  ] SCOPED_TRACETest.WorksConcurrently
1074b89a7cc2SEnji Cooper[  FAILED  ] ScopedTraceTest.WithExplicitFileAndLine
1075b89a7cc2SEnji Cooper[  FAILED  ] NonFatalFailureInFixtureConstructorTest.FailureInConstructor
1076b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureInFixtureConstructorTest.FailureInConstructor
1077b89a7cc2SEnji Cooper[  FAILED  ] NonFatalFailureInSetUpTest.FailureInSetUp
1078b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureInSetUpTest.FailureInSetUp
1079b89a7cc2SEnji Cooper[  FAILED  ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
108028f6c2f2SEnji Cooper[  FAILED  ] GtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
108128f6c2f2SEnji Cooper[  FAILED  ] MixedUpTestSuiteTest.ThisShouldFail
108228f6c2f2SEnji Cooper[  FAILED  ] MixedUpTestSuiteTest.ThisShouldFailToo
108328f6c2f2SEnji Cooper[  FAILED  ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
1084b89a7cc2SEnji Cooper[  FAILED  ] TEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
1085b89a7cc2SEnji Cooper[  FAILED  ] TEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
1086b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
1087b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
1088b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
1089b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementReturns
1090b89a7cc2SEnji Cooper[  FAILED  ] ExpectNonfatalFailureTest.FailsWhenStatementThrows
1091b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
1092b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
1093b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
1094b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementReturns
1095b89a7cc2SEnji Cooper[  FAILED  ] ExpectFatalFailureTest.FailsWhenStatementThrows
1096b89a7cc2SEnji Cooper[  FAILED  ] TypedTest/0.Failure, where TypeParam = int
1097b89a7cc2SEnji Cooper[  FAILED  ] TypedTestWithNames/char0.Failure, where TypeParam = char
1098b89a7cc2SEnji Cooper[  FAILED  ] TypedTestWithNames/int1.Failure, where TypeParam = int
1099b89a7cc2SEnji Cooper[  FAILED  ] Unsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
1100b89a7cc2SEnji Cooper[  FAILED  ] Unsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
1101b89a7cc2SEnji Cooper[  FAILED  ] UnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
1102b89a7cc2SEnji Cooper[  FAILED  ] UnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
1103b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureTest.ExpectFatalFailure
1104b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailure
1105b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureTest.ExpectFatalFailureOnAllThreads
1106b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureTest.ExpectNonFatalFailureOnAllThreads
1107b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureWithThreadsTest.ExpectFatalFailure
1108b89a7cc2SEnji Cooper[  FAILED  ] ExpectFailureWithThreadsTest.ExpectNonFatalFailure
1109b89a7cc2SEnji Cooper[  FAILED  ] ScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
111028f6c2f2SEnji Cooper[  FAILED  ] DynamicFixture.DynamicTestFail
111128f6c2f2SEnji Cooper[  FAILED  ] BadDynamicFixture1.TestBase
111228f6c2f2SEnji Cooper[  FAILED  ] BadDynamicFixture2.Derived
1113b89a7cc2SEnji Cooper[  FAILED  ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
1114b89a7cc2SEnji Cooper[  FAILED  ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
111528f6c2f2SEnji Cooper[  FAILED  ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
111628f6c2f2SEnji Cooper[  FAILED  ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
111728f6c2f2SEnji Cooper[  FAILED  ] GoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
1118b89a7cc2SEnji Cooper
111928f6c2f2SEnji Cooper57 FAILED TESTS
112028f6c2f2SEnji Cooper[  FAILED  ] TestSuiteThatFailsToSetUp: SetUpTestSuite or TearDownTestSuite
112128f6c2f2SEnji Cooper
112228f6c2f2SEnji Cooper 1 FAILED TEST SUITE
1123b89a7cc2SEnji Cooper  YOU HAVE 1 DISABLED TEST
1124b89a7cc2SEnji Cooper
1125b89a7cc2SEnji CooperNote: Google Test filter = FatalFailureTest.*:LoggingTest.*
112628f6c2f2SEnji Cooper[==========] Running 4 tests from 2 test suites.
1127b89a7cc2SEnji Cooper[----------] Global test environment set-up.
1128b89a7cc2SEnji Cooper[----------] 3 tests from FatalFailureTest
1129b89a7cc2SEnji Cooper[ RUN      ] FatalFailureTest.FatalFailureInSubroutine
1130b89a7cc2SEnji Cooper(expecting a failure that x should be 1)
1131b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
1132b89a7cc2SEnji CooperExpected equality of these values:
1133b89a7cc2SEnji Cooper  1
1134b89a7cc2SEnji Cooper  x
1135b89a7cc2SEnji Cooper    Which is: 2
1136b89a7cc2SEnji CooperStack trace: (omitted)
1137b89a7cc2SEnji Cooper
1138b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine (? ms)
1139b89a7cc2SEnji Cooper[ RUN      ] FatalFailureTest.FatalFailureInNestedSubroutine
1140b89a7cc2SEnji Cooper(expecting a failure that x should be 1)
1141b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
1142b89a7cc2SEnji CooperExpected equality of these values:
1143b89a7cc2SEnji Cooper  1
1144b89a7cc2SEnji Cooper  x
1145b89a7cc2SEnji Cooper    Which is: 2
1146b89a7cc2SEnji CooperStack trace: (omitted)
1147b89a7cc2SEnji Cooper
1148b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
1149b89a7cc2SEnji Cooper[ RUN      ] FatalFailureTest.NonfatalFailureInSubroutine
1150b89a7cc2SEnji Cooper(expecting a failure on false)
1151b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
1152b89a7cc2SEnji CooperValue of: false
1153b89a7cc2SEnji Cooper  Actual: false
1154b89a7cc2SEnji CooperExpected: true
1155b89a7cc2SEnji CooperStack trace: (omitted)
1156b89a7cc2SEnji Cooper
1157b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
1158b89a7cc2SEnji Cooper[----------] 3 tests from FatalFailureTest (? ms total)
1159b89a7cc2SEnji Cooper
1160b89a7cc2SEnji Cooper[----------] 1 test from LoggingTest
1161b89a7cc2SEnji Cooper[ RUN      ] LoggingTest.InterleavingLoggingAndAssertions
1162b89a7cc2SEnji Cooper(expecting 2 failures on (3) >= (a[i]))
1163b89a7cc2SEnji Cooperi == 0
1164b89a7cc2SEnji Cooperi == 1
1165b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
1166b89a7cc2SEnji CooperExpected: (3) >= (a[i]), actual: 3 vs 9
1167b89a7cc2SEnji CooperStack trace: (omitted)
1168b89a7cc2SEnji Cooper
1169b89a7cc2SEnji Cooperi == 2
1170b89a7cc2SEnji Cooperi == 3
1171b89a7cc2SEnji Coopergoogletest-output-test_.cc:#: Failure
1172b89a7cc2SEnji CooperExpected: (3) >= (a[i]), actual: 3 vs 6
1173b89a7cc2SEnji CooperStack trace: (omitted)
1174b89a7cc2SEnji Cooper
1175b89a7cc2SEnji Cooper[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
1176b89a7cc2SEnji Cooper[----------] 1 test from LoggingTest (? ms total)
1177b89a7cc2SEnji Cooper
1178b89a7cc2SEnji Cooper[----------] Global test environment tear-down
117928f6c2f2SEnji Cooper[==========] 4 tests from 2 test suites ran. (? ms total)
1180b89a7cc2SEnji Cooper[  PASSED  ] 0 tests.
1181b89a7cc2SEnji Cooper[  FAILED  ] 4 tests, listed below:
1182b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.FatalFailureInSubroutine
1183b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine
1184b89a7cc2SEnji Cooper[  FAILED  ] FatalFailureTest.NonfatalFailureInSubroutine
1185b89a7cc2SEnji Cooper[  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
1186b89a7cc2SEnji Cooper
1187b89a7cc2SEnji Cooper 4 FAILED TESTS
1188b89a7cc2SEnji CooperNote: Google Test filter = *DISABLED_*
118928f6c2f2SEnji Cooper[==========] Running 1 test from 1 test suite.
1190b89a7cc2SEnji Cooper[----------] Global test environment set-up.
1191b89a7cc2SEnji Cooper[----------] 1 test from DisabledTestsWarningTest
1192b89a7cc2SEnji Cooper[ RUN      ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
1193b89a7cc2SEnji Cooper[       OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
1194b89a7cc2SEnji Cooper[----------] Global test environment tear-down
119528f6c2f2SEnji Cooper[==========] 1 test from 1 test suite ran.
1196b89a7cc2SEnji Cooper[  PASSED  ] 1 test.
1197b89a7cc2SEnji CooperNote: Google Test filter = PassingTest.*
1198b89a7cc2SEnji CooperNote: This is test shard 2 of 2.
119928f6c2f2SEnji Cooper[==========] Running 1 test from 1 test suite.
1200b89a7cc2SEnji Cooper[----------] Global test environment set-up.
1201b89a7cc2SEnji Cooper[----------] 1 test from PassingTest
1202b89a7cc2SEnji Cooper[ RUN      ] PassingTest.PassingTest2
1203b89a7cc2SEnji Cooper[       OK ] PassingTest.PassingTest2
1204b89a7cc2SEnji Cooper[----------] Global test environment tear-down
120528f6c2f2SEnji Cooper[==========] 1 test from 1 test suite ran.
1206b89a7cc2SEnji Cooper[  PASSED  ] 1 test.
1207