1 [ RUN ] GMockOutputTest.ExpectedCall
3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked
6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))...
7 Function call: Bar2(0, 0)
10 [ OK ] GMockOutputTest.ExpectedCall
11 [ RUN ] GMockOutputTest.ExpectedCallToVoidFunction
13 FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked
16 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))...
17 Function call: Bar3(0, 0)
19 [ OK ] GMockOutputTest.ExpectedCallToVoidFunction
20 [ RUN ] GMockOutputTest.ExplicitActionsRunOut
23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
24 Expected to be called twice, but has only 1 WillOnce().
26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))...
27 Called 2 times, but only 1 WillOnce() is specified - returning default value.
29 [ OK ] GMockOutputTest.ExplicitActionsRunOut
30 [ RUN ] GMockOutputTest.UnexpectedCall
33 Unexpected mock function call - returning default value.
34 Function call: Bar2(1, 0)
36 Google Mock tried the following 1 expectation, but it didn't match:
38 FILE:#: EXPECT_CALL(foo_, Bar2(0, _))...
39 Expected arg #0: is equal to 0
41 Expected: to be called once
42 Actual: never called - unsatisfied and active
43 [ FAILED ] GMockOutputTest.UnexpectedCall
44 [ RUN ] GMockOutputTest.UnexpectedCallToVoidFunction
47 Unexpected mock function call - returning directly.
48 Function call: Bar3(1, 0)
49 Google Mock tried the following 1 expectation, but it didn't match:
51 FILE:#: EXPECT_CALL(foo_, Bar3(0, _))...
52 Expected arg #0: is equal to 0
54 Expected: to be called once
55 Actual: never called - unsatisfied and active
56 [ FAILED ] GMockOutputTest.UnexpectedCallToVoidFunction
57 [ RUN ] GMockOutputTest.ExcessiveCall
59 Mock function called more times than expected - returning default value.
60 Function call: Bar2(0, 1)
62 Expected: to be called once
63 Actual: called twice - over-saturated and active
64 [ FAILED ] GMockOutputTest.ExcessiveCall
65 [ RUN ] GMockOutputTest.ExcessiveCallToVoidFunction
67 Mock 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
75 Uninteresting mock function call - returning default value.
76 Function call: Bar2(0, 1)
78 NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See http://code.google.com/p/googlemock/wiki/CookBook#Knowing_When_to_Expect for details.
80 [ OK ] GMockOutputTest.UninterestingCall
81 [ RUN ] GMockOutputTest.UninterestingCallToVoidFunction
84 Uninteresting mock function call - returning directly.
85 Function call: Bar3(0, 1)
86 NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See http://code.google.com/p/googlemock/wiki/CookBook#Knowing_When_to_Expect for details.
88 [ OK ] GMockOutputTest.UninterestingCallToVoidFunction
89 [ RUN ] GMockOutputTest.RetiredExpectation
92 Unexpected mock function call - returning default value.
93 Function call: Bar2(1, 1)
95 Google Mock tried the following 2 expectations, but none matched:
97 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))...
98 Expected: the expectation is active
100 Expected: to be called once
101 Actual: called once - saturated and retired
102 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))...
103 Expected arg #0: is equal to 0
105 Expected arg #1: is equal to 0
107 Expected: to be called once
108 Actual: never called - unsatisfied and active
109 [ FAILED ] GMockOutputTest.RetiredExpectation
110 [ RUN ] GMockOutputTest.UnsatisfiedPrerequisite
111 unknown file: Failure
113 Unexpected mock function call - returning default value.
114 Function call: Bar2(1, 0)
116 Google Mock tried the following 2 expectations, but none matched:
118 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
119 Expected arg #0: is equal to 0
121 Expected: to be called once
122 Actual: never called - unsatisfied and active
123 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
124 Expected: all pre-requisites are satisfied
125 Actual: the following immediate pre-requisites are not satisfied:
126 FILE:#: pre-requisite #0
127 (end of pre-requisites)
128 Expected: to be called once
129 Actual: never called - unsatisfied and active
130 [ FAILED ] GMockOutputTest.UnsatisfiedPrerequisite
131 [ RUN ] GMockOutputTest.UnsatisfiedPrerequisites
132 unknown file: Failure
134 Unexpected mock function call - returning default value.
135 Function call: Bar2(1, 0)
137 Google Mock tried the following 2 expectations, but none matched:
139 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
140 Expected arg #0: is equal to 0
142 Expected: to be called once
143 Actual: never called - unsatisfied and active
144 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
145 Expected: all pre-requisites are satisfied
146 Actual: the following immediate pre-requisites are not satisfied:
147 FILE:#: pre-requisite #0
148 FILE:#: pre-requisite #1
149 (end of pre-requisites)
150 Expected: to be called once
151 Actual: never called - unsatisfied and active
152 [ FAILED ] GMockOutputTest.UnsatisfiedPrerequisites
153 [ RUN ] GMockOutputTest.UnsatisfiedWith
155 Actual function call count doesn't match EXPECT_CALL(foo_, Bar2(_, _))...
156 Expected args: are a pair where the first >= the second
157 Expected: to be called once
158 Actual: never called - unsatisfied and active
159 [ FAILED ] GMockOutputTest.UnsatisfiedWith
160 [ RUN ] GMockOutputTest.UnsatisfiedExpectation
162 Actual function call count doesn't match EXPECT_CALL(foo_, Bar2(0, _))...
163 Expected: to be called twice
164 Actual: called once - unsatisfied and active
166 Actual function call count doesn't match EXPECT_CALL(foo_, Bar(_, _, _))...
167 Expected: to be called once
168 Actual: never called - unsatisfied and active
169 [ FAILED ] GMockOutputTest.UnsatisfiedExpectation
170 [ RUN ] GMockOutputTest.MismatchArguments
171 unknown file: Failure
173 Unexpected mock function call - returning default value.
174 Function call: Bar(@0x# "Ho", 0, -0.1)
176 Google Mock tried the following 1 expectation, but it didn't match:
178 FILE:#: EXPECT_CALL(foo_, Bar(Ref(s), _, Ge(0)))...
179 Expected arg #0: references the variable @0x# "Hi"
180 Actual: "Ho", which is located @0x#
181 Expected arg #2: is >= 0
183 Expected: to be called once
184 Actual: never called - unsatisfied and active
185 [ FAILED ] GMockOutputTest.MismatchArguments
186 [ RUN ] GMockOutputTest.MismatchWith
187 unknown file: Failure
189 Unexpected mock function call - returning default value.
190 Function call: Bar2(2, 3)
192 Google Mock tried the following 1 expectation, but it didn't match:
194 FILE:#: EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1)))...
195 Expected args: are a pair where the first >= the second
197 Expected: to be called once
198 Actual: never called - unsatisfied and active
199 [ FAILED ] GMockOutputTest.MismatchWith
200 [ RUN ] GMockOutputTest.MismatchArgumentsAndWith
201 unknown file: Failure
203 Unexpected mock function call - returning default value.
204 Function call: Bar2(1, 3)
206 Google Mock tried the following 1 expectation, but it didn't match:
208 FILE:#: EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1)))...
209 Expected arg #0: is >= 2
211 Expected args: are a pair where the first >= the second
213 Expected: to be called once
214 Actual: never called - unsatisfied and active
215 [ FAILED ] GMockOutputTest.MismatchArgumentsAndWith
216 [ RUN ] GMockOutputTest.UnexpectedCallWithDefaultAction
217 unknown file: Failure
219 Unexpected mock function call - taking default action specified at:
221 Function call: Bar2(1, 0)
223 Google Mock tried the following 1 expectation, but it didn't match:
225 FILE:#: EXPECT_CALL(foo_, Bar2(2, 2))...
226 Expected arg #0: is equal to 2
228 Expected arg #1: is equal to 2
230 Expected: to be called once
231 Actual: never called - unsatisfied and active
232 unknown file: Failure
234 Unexpected mock function call - taking default action specified at:
236 Function call: Bar2(0, 0)
238 Google Mock tried the following 1 expectation, but it didn't match:
240 FILE:#: EXPECT_CALL(foo_, Bar2(2, 2))...
241 Expected arg #0: is equal to 2
243 Expected arg #1: is equal to 2
245 Expected: to be called once
246 Actual: never called - unsatisfied and active
247 [ FAILED ] GMockOutputTest.UnexpectedCallWithDefaultAction
248 [ RUN ] GMockOutputTest.ExcessiveCallWithDefaultAction
250 Mock function called more times than expected - taking default action specified at:
252 Function call: Bar2(2, 2)
254 Expected: to be called once
255 Actual: called twice - over-saturated and active
257 Mock function called more times than expected - taking default action specified at:
259 Function call: Bar2(1, 1)
261 Expected: to be called once
262 Actual: called twice - over-saturated and active
263 [ FAILED ] GMockOutputTest.ExcessiveCallWithDefaultAction
264 [ RUN ] GMockOutputTest.UninterestingCallWithDefaultAction
267 Uninteresting mock function call - taking default action specified at:
269 Function call: Bar2(2, 2)
271 NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See http://code.google.com/p/googlemock/wiki/CookBook#Knowing_When_to_Expect for details.
275 Uninteresting mock function call - taking default action specified at:
277 Function call: Bar2(1, 1)
279 NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See http://code.google.com/p/googlemock/wiki/CookBook#Knowing_When_to_Expect for details.
281 [ OK ] GMockOutputTest.UninterestingCallWithDefaultAction
282 [ RUN ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
285 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
286 Expected to be called twice, but has only 1 WillOnce().
288 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))...
289 Called 2 times, but only 1 WillOnce() is specified - taking default action specified at:
292 [ OK ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
293 [ RUN ] GMockOutputTest.CatchesLeakedMocks
294 [ OK ] GMockOutputTest.CatchesLeakedMocks
295 [ FAILED ] GMockOutputTest.UnexpectedCall
296 [ FAILED ] GMockOutputTest.UnexpectedCallToVoidFunction
297 [ FAILED ] GMockOutputTest.ExcessiveCall
298 [ FAILED ] GMockOutputTest.ExcessiveCallToVoidFunction
299 [ FAILED ] GMockOutputTest.RetiredExpectation
300 [ FAILED ] GMockOutputTest.UnsatisfiedPrerequisite
301 [ FAILED ] GMockOutputTest.UnsatisfiedPrerequisites
302 [ FAILED ] GMockOutputTest.UnsatisfiedWith
303 [ FAILED ] GMockOutputTest.UnsatisfiedExpectation
304 [ FAILED ] GMockOutputTest.MismatchArguments
305 [ FAILED ] GMockOutputTest.MismatchWith
306 [ FAILED ] GMockOutputTest.MismatchArgumentsAndWith
307 [ FAILED ] GMockOutputTest.UnexpectedCallWithDefaultAction
308 [ FAILED ] GMockOutputTest.ExcessiveCallWithDefaultAction
311 FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
312 FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
313 FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
314 ERROR: 3 leaked mock objects found at program exit.