• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[ RUN      ] GMockOutputTest.ExpectedCall
2
3FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked
4Stack trace:
5
6FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))...
7    Function call: Bar2(0, 0)
8          Returns: false
9Stack trace:
10[       OK ] GMockOutputTest.ExpectedCall
11[ RUN      ] GMockOutputTest.ExpectedCallToVoidFunction
12
13FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked
14Stack trace:
15
16FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))...
17    Function call: Bar3(0, 0)
18Stack trace:
19[       OK ] GMockOutputTest.ExpectedCallToVoidFunction
20[ RUN      ] GMockOutputTest.ExplicitActionsRunOut
21
22GMOCK WARNING:
23FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
24Expected to be called twice, but has only 1 WillOnce().
25GMOCK WARNING:
26FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))...
27Called 2 times, but only 1 WillOnce() is specified - returning default value.
28Stack trace:
29[       OK ] GMockOutputTest.ExplicitActionsRunOut
30[ RUN      ] GMockOutputTest.UnexpectedCall
31unknown file: Failure
32
33Unexpected mock function call - returning default value.
34    Function call: Bar2(1, 0)
35          Returns: false
36Google Mock tried the following 1 expectation, but it didn't match:
37
38FILE:#: EXPECT_CALL(foo_, Bar2(0, _))...
39  Expected arg #0: is equal to 0
40           Actual: 1
41         Expected: to be called once
42           Actual: never called - unsatisfied and active
43[  FAILED  ] GMockOutputTest.UnexpectedCall
44[ RUN      ] GMockOutputTest.UnexpectedCallToVoidFunction
45unknown file: Failure
46
47Unexpected mock function call - returning directly.
48    Function call: Bar3(1, 0)
49Google Mock tried the following 1 expectation, but it didn't match:
50
51FILE:#: EXPECT_CALL(foo_, Bar3(0, _))...
52  Expected arg #0: is equal to 0
53           Actual: 1
54         Expected: to be called once
55           Actual: never called - unsatisfied and active
56[  FAILED  ] GMockOutputTest.UnexpectedCallToVoidFunction
57[ RUN      ] GMockOutputTest.ExcessiveCall
58FILE:#: Failure
59Mock function called more times than expected - returning default value.
60    Function call: Bar2(0, 1)
61          Returns: false
62         Expected: to be called once
63           Actual: called twice - over-saturated and active
64[  FAILED  ] GMockOutputTest.ExcessiveCall
65[ RUN      ] GMockOutputTest.ExcessiveCallToVoidFunction
66FILE:#: Failure
67Mock function called more times than expected - returning directly.
68    Function call: Bar3(0, 1)
69         Expected: to be called once
70           Actual: called twice - over-saturated and active
71[  FAILED  ] GMockOutputTest.ExcessiveCallToVoidFunction
72[ RUN      ] GMockOutputTest.UninterestingCall
73
74GMOCK WARNING:
75Uninteresting mock function call - returning default value.
76    Function call: Bar2(0, 1)
77          Returns: false
78Stack trace:
79[       OK ] GMockOutputTest.UninterestingCall
80[ RUN      ] GMockOutputTest.UninterestingCallToVoidFunction
81
82GMOCK WARNING:
83Uninteresting mock function call - returning directly.
84    Function call: Bar3(0, 1)
85Stack trace:
86[       OK ] GMockOutputTest.UninterestingCallToVoidFunction
87[ RUN      ] GMockOutputTest.RetiredExpectation
88unknown file: Failure
89
90Unexpected mock function call - returning default value.
91    Function call: Bar2(1, 1)
92          Returns: false
93Google Mock tried the following 2 expectations, but none matched:
94
95FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))...
96         Expected: the expectation is active
97           Actual: it is retired
98         Expected: to be called once
99           Actual: called once - saturated and retired
100FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))...
101  Expected arg #0: is equal to 0
102           Actual: 1
103  Expected arg #1: is equal to 0
104           Actual: 1
105         Expected: to be called once
106           Actual: never called - unsatisfied and active
107[  FAILED  ] GMockOutputTest.RetiredExpectation
108[ RUN      ] GMockOutputTest.UnsatisfiedPrerequisite
109unknown file: Failure
110
111Unexpected mock function call - returning default value.
112    Function call: Bar2(1, 0)
113          Returns: false
114Google Mock tried the following 2 expectations, but none matched:
115
116FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
117  Expected arg #0: is equal to 0
118           Actual: 1
119         Expected: to be called once
120           Actual: never called - unsatisfied and active
121FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
122         Expected: all pre-requisites are satisfied
123           Actual: the following immediate pre-requisites are not satisfied:
124FILE:#: pre-requisite #0
125                   (end of pre-requisites)
126         Expected: to be called once
127           Actual: never called - unsatisfied and active
128[  FAILED  ] GMockOutputTest.UnsatisfiedPrerequisite
129[ RUN      ] GMockOutputTest.UnsatisfiedPrerequisites
130unknown file: Failure
131
132Unexpected mock function call - returning default value.
133    Function call: Bar2(1, 0)
134          Returns: false
135Google Mock tried the following 2 expectations, but none matched:
136
137FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
138  Expected arg #0: is equal to 0
139           Actual: 1
140         Expected: to be called once
141           Actual: never called - unsatisfied and active
142FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
143         Expected: all pre-requisites are satisfied
144           Actual: the following immediate pre-requisites are not satisfied:
145FILE:#: pre-requisite #0
146FILE:#: pre-requisite #1
147                   (end of pre-requisites)
148         Expected: to be called once
149           Actual: never called - unsatisfied and active
150[  FAILED  ] GMockOutputTest.UnsatisfiedPrerequisites
151[ RUN      ] GMockOutputTest.UnsatisfiedWith
152FILE:#: Failure
153Actual function call count doesn't match EXPECT_CALL(foo_, Bar2(_, _))...
154    Expected args: are a pair where the first >= the second
155         Expected: to be called once
156           Actual: never called - unsatisfied and active
157[  FAILED  ] GMockOutputTest.UnsatisfiedWith
158[ RUN      ] GMockOutputTest.UnsatisfiedExpectation
159FILE:#: Failure
160Actual function call count doesn't match EXPECT_CALL(foo_, Bar2(0, _))...
161         Expected: to be called twice
162           Actual: called once - unsatisfied and active
163FILE:#: Failure
164Actual function call count doesn't match EXPECT_CALL(foo_, Bar(_, _, _))...
165         Expected: to be called once
166           Actual: never called - unsatisfied and active
167[  FAILED  ] GMockOutputTest.UnsatisfiedExpectation
168[ RUN      ] GMockOutputTest.MismatchArguments
169unknown file: Failure
170
171Unexpected mock function call - returning default value.
172    Function call: Bar(@0x# "Ho", 0, -0.1)
173          Returns: '\0'
174Google Mock tried the following 1 expectation, but it didn't match:
175
176FILE:#: EXPECT_CALL(foo_, Bar(Ref(s), _, Ge(0)))...
177  Expected arg #0: references the variable @0x# "Hi"
178           Actual: "Ho", which is located @0x#
179  Expected arg #2: is >= 0
180           Actual: -0.1
181         Expected: to be called once
182           Actual: never called - unsatisfied and active
183[  FAILED  ] GMockOutputTest.MismatchArguments
184[ RUN      ] GMockOutputTest.MismatchWith
185unknown file: Failure
186
187Unexpected mock function call - returning default value.
188    Function call: Bar2(2, 3)
189          Returns: false
190Google Mock tried the following 1 expectation, but it didn't match:
191
192FILE:#: EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1)))...
193    Expected args: are a pair where the first >= the second
194           Actual: don't match
195         Expected: to be called once
196           Actual: never called - unsatisfied and active
197[  FAILED  ] GMockOutputTest.MismatchWith
198[ RUN      ] GMockOutputTest.MismatchArgumentsAndWith
199unknown file: Failure
200
201Unexpected mock function call - returning default value.
202    Function call: Bar2(1, 3)
203          Returns: false
204Google Mock tried the following 1 expectation, but it didn't match:
205
206FILE:#: EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1)))...
207  Expected arg #0: is >= 2
208           Actual: 1
209    Expected args: are a pair where the first >= the second
210           Actual: don't match
211         Expected: to be called once
212           Actual: never called - unsatisfied and active
213[  FAILED  ] GMockOutputTest.MismatchArgumentsAndWith
214[ RUN      ] GMockOutputTest.UnexpectedCallWithDefaultAction
215unknown file: Failure
216
217Unexpected mock function call - taking default action specified at:
218FILE:#:
219    Function call: Bar2(1, 0)
220          Returns: false
221Google Mock tried the following 1 expectation, but it didn't match:
222
223FILE:#: EXPECT_CALL(foo_, Bar2(2, 2))...
224  Expected arg #0: is equal to 2
225           Actual: 1
226  Expected arg #1: is equal to 2
227           Actual: 0
228         Expected: to be called once
229           Actual: never called - unsatisfied and active
230unknown file: Failure
231
232Unexpected mock function call - taking default action specified at:
233FILE:#:
234    Function call: Bar2(0, 0)
235          Returns: true
236Google Mock tried the following 1 expectation, but it didn't match:
237
238FILE:#: EXPECT_CALL(foo_, Bar2(2, 2))...
239  Expected arg #0: is equal to 2
240           Actual: 0
241  Expected arg #1: is equal to 2
242           Actual: 0
243         Expected: to be called once
244           Actual: never called - unsatisfied and active
245[  FAILED  ] GMockOutputTest.UnexpectedCallWithDefaultAction
246[ RUN      ] GMockOutputTest.ExcessiveCallWithDefaultAction
247FILE:#: Failure
248Mock function called more times than expected - taking default action specified at:
249FILE:#:
250    Function call: Bar2(2, 2)
251          Returns: true
252         Expected: to be called once
253           Actual: called twice - over-saturated and active
254FILE:#: Failure
255Mock function called more times than expected - taking default action specified at:
256FILE:#:
257    Function call: Bar2(1, 1)
258          Returns: false
259         Expected: to be called once
260           Actual: called twice - over-saturated and active
261[  FAILED  ] GMockOutputTest.ExcessiveCallWithDefaultAction
262[ RUN      ] GMockOutputTest.UninterestingCallWithDefaultAction
263
264GMOCK WARNING:
265Uninteresting mock function call - taking default action specified at:
266FILE:#:
267    Function call: Bar2(2, 2)
268          Returns: true
269Stack trace:
270
271GMOCK WARNING:
272Uninteresting mock function call - taking default action specified at:
273FILE:#:
274    Function call: Bar2(1, 1)
275          Returns: false
276Stack trace:
277[       OK ] GMockOutputTest.UninterestingCallWithDefaultAction
278[ RUN      ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
279
280GMOCK WARNING:
281FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
282Expected to be called twice, but has only 1 WillOnce().
283GMOCK WARNING:
284FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))...
285Called 2 times, but only 1 WillOnce() is specified - taking default action specified at:
286FILE:#:
287Stack trace:
288[       OK ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
289[ RUN      ] GMockOutputTest.CatchesLeakedMocks
290[       OK ] GMockOutputTest.CatchesLeakedMocks
291[  FAILED  ] GMockOutputTest.UnexpectedCall
292[  FAILED  ] GMockOutputTest.UnexpectedCallToVoidFunction
293[  FAILED  ] GMockOutputTest.ExcessiveCall
294[  FAILED  ] GMockOutputTest.ExcessiveCallToVoidFunction
295[  FAILED  ] GMockOutputTest.RetiredExpectation
296[  FAILED  ] GMockOutputTest.UnsatisfiedPrerequisite
297[  FAILED  ] GMockOutputTest.UnsatisfiedPrerequisites
298[  FAILED  ] GMockOutputTest.UnsatisfiedWith
299[  FAILED  ] GMockOutputTest.UnsatisfiedExpectation
300[  FAILED  ] GMockOutputTest.MismatchArguments
301[  FAILED  ] GMockOutputTest.MismatchWith
302[  FAILED  ] GMockOutputTest.MismatchArgumentsAndWith
303[  FAILED  ] GMockOutputTest.UnexpectedCallWithDefaultAction
304[  FAILED  ] GMockOutputTest.ExcessiveCallWithDefaultAction
305
306
307FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
308FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
309FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
310ERROR: 3 leaked mock objects found at program exit.
311