Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / testing / gmock / test / gmock_output_test_golden.txt
1 [ RUN      ] GMockOutputTest.ExpectedCall
2
3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked
4 Stack trace:
5
6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))...
7     Function call: Bar2(0, 0)
8           Returns: false
9 Stack trace:
10 [       OK ] GMockOutputTest.ExpectedCall
11 [ RUN      ] GMockOutputTest.ExpectedCallToVoidFunction
12
13 FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked
14 Stack trace:
15
16 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))...
17     Function call: Bar3(0, 0)
18 Stack trace:
19 [       OK ] GMockOutputTest.ExpectedCallToVoidFunction
20 [ RUN      ] GMockOutputTest.ExplicitActionsRunOut
21
22 GMOCK WARNING:
23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
24 Expected to be called twice, but has only 1 WillOnce().
25 GMOCK WARNING:
26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))...
27 Called 2 times, but only 1 WillOnce() is specified - returning default value.
28 Stack trace:
29 [       OK ] GMockOutputTest.ExplicitActionsRunOut
30 [ RUN      ] GMockOutputTest.UnexpectedCall
31 unknown file: Failure
32
33 Unexpected mock function call - returning default value.
34     Function call: Bar2(1, 0)
35           Returns: false
36 Google Mock tried the following 1 expectation, but it didn't match:
37
38 FILE:#: 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
45 unknown file: Failure
46
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:
50
51 FILE:#: 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
58 FILE:#: Failure
59 Mock 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
66 FILE:#: Failure
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
73
74 GMOCK WARNING:
75 Uninteresting mock function call - returning default value.
76     Function call: Bar2(0, 1)
77           Returns: false
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.
79 Stack trace:
80 [       OK ] GMockOutputTest.UninterestingCall
81 [ RUN      ] GMockOutputTest.UninterestingCallToVoidFunction
82
83 GMOCK WARNING:
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.
87 Stack trace:
88 [       OK ] GMockOutputTest.UninterestingCallToVoidFunction
89 [ RUN      ] GMockOutputTest.RetiredExpectation
90 unknown file: Failure
91
92 Unexpected mock function call - returning default value.
93     Function call: Bar2(1, 1)
94           Returns: false
95 Google Mock tried the following 2 expectations, but none matched:
96
97 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))...
98          Expected: the expectation is active
99            Actual: it is retired
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
104            Actual: 1
105   Expected arg #1: is equal to 0
106            Actual: 1
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
112
113 Unexpected mock function call - returning default value.
114     Function call: Bar2(1, 0)
115           Returns: false
116 Google Mock tried the following 2 expectations, but none matched:
117
118 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
119   Expected arg #0: is equal to 0
120            Actual: 1
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
133
134 Unexpected mock function call - returning default value.
135     Function call: Bar2(1, 0)
136           Returns: false
137 Google Mock tried the following 2 expectations, but none matched:
138
139 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
140   Expected arg #0: is equal to 0
141            Actual: 1
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
154 FILE:#: Failure
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
161 FILE:#: Failure
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
165 FILE:#: Failure
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
172
173 Unexpected mock function call - returning default value.
174     Function call: Bar(@0x# "Ho", 0, -0.1)
175           Returns: '\0'
176 Google Mock tried the following 1 expectation, but it didn't match:
177
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
182            Actual: -0.1
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
188
189 Unexpected mock function call - returning default value.
190     Function call: Bar2(2, 3)
191           Returns: false
192 Google Mock tried the following 1 expectation, but it didn't match:
193
194 FILE:#: EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1)))...
195     Expected args: are a pair where the first >= the second
196            Actual: don't match
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
202
203 Unexpected mock function call - returning default value.
204     Function call: Bar2(1, 3)
205           Returns: false
206 Google Mock tried the following 1 expectation, but it didn't match:
207
208 FILE:#: EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1)))...
209   Expected arg #0: is >= 2
210            Actual: 1
211     Expected args: are a pair where the first >= the second
212            Actual: don't match
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
218
219 Unexpected mock function call - taking default action specified at:
220 FILE:#:
221     Function call: Bar2(1, 0)
222           Returns: false
223 Google Mock tried the following 1 expectation, but it didn't match:
224
225 FILE:#: EXPECT_CALL(foo_, Bar2(2, 2))...
226   Expected arg #0: is equal to 2
227            Actual: 1
228   Expected arg #1: is equal to 2
229            Actual: 0
230          Expected: to be called once
231            Actual: never called - unsatisfied and active
232 unknown file: Failure
233
234 Unexpected mock function call - taking default action specified at:
235 FILE:#:
236     Function call: Bar2(0, 0)
237           Returns: true
238 Google Mock tried the following 1 expectation, but it didn't match:
239
240 FILE:#: EXPECT_CALL(foo_, Bar2(2, 2))...
241   Expected arg #0: is equal to 2
242            Actual: 0
243   Expected arg #1: is equal to 2
244            Actual: 0
245          Expected: to be called once
246            Actual: never called - unsatisfied and active
247 [  FAILED  ] GMockOutputTest.UnexpectedCallWithDefaultAction
248 [ RUN      ] GMockOutputTest.ExcessiveCallWithDefaultAction
249 FILE:#: Failure
250 Mock function called more times than expected - taking default action specified at:
251 FILE:#:
252     Function call: Bar2(2, 2)
253           Returns: true
254          Expected: to be called once
255            Actual: called twice - over-saturated and active
256 FILE:#: Failure
257 Mock function called more times than expected - taking default action specified at:
258 FILE:#:
259     Function call: Bar2(1, 1)
260           Returns: false
261          Expected: to be called once
262            Actual: called twice - over-saturated and active
263 [  FAILED  ] GMockOutputTest.ExcessiveCallWithDefaultAction
264 [ RUN      ] GMockOutputTest.UninterestingCallWithDefaultAction
265
266 GMOCK WARNING:
267 Uninteresting mock function call - taking default action specified at:
268 FILE:#:
269     Function call: Bar2(2, 2)
270           Returns: true
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.
272 Stack trace:
273
274 GMOCK WARNING:
275 Uninteresting mock function call - taking default action specified at:
276 FILE:#:
277     Function call: Bar2(1, 1)
278           Returns: false
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.
280 Stack trace:
281 [       OK ] GMockOutputTest.UninterestingCallWithDefaultAction
282 [ RUN      ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
283
284 GMOCK WARNING:
285 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
286 Expected to be called twice, but has only 1 WillOnce().
287 GMOCK WARNING:
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:
290 FILE:#:
291 Stack trace:
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
309
310
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.