Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Side by Side Diff: testing/gmock/test/gmock_output_test_golden.txt

Issue 113807: Checkin a version of gmock, modified to use our boost_tuple in VS2005. (Closed)
Patch Set: Fix grammar issue. Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/gmock/test/gmock_output_test_.cc ('k') | testing/gmock/test/gmock_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [ RUN ] GMockOutputTest.ExpectedCall
2
3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked
4 Stack trace:
5
6 FILE:#: Expected mock function call.
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:#: Expected mock function call.
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.
24 Expected to be called twice, but has only 1 WillOnce().
25 GMOCK WARNING:
26 FILE:#: Actions ran out.
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:#:
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:#:
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 Stack trace:
79 [ OK ] GMockOutputTest.UninterestingCall
80 [ RUN ] GMockOutputTest.UninterestingCallToVoidFunction
81
82 GMOCK WARNING:
83 Uninteresting mock function call - returning directly.
84 Function call: Bar3(0, 1)
85 Stack trace:
86 [ OK ] GMockOutputTest.UninterestingCallToVoidFunction
87 [ RUN ] GMockOutputTest.RetiredExpectation
88 unknown file: Failure
89
90 Unexpected mock function call - returning default value.
91 Function call: Bar2(1, 1)
92 Returns: false
93 Google Mock tried the following 2 expectations, but none matched:
94
95 FILE:#: tried expectation #0
96 Expected: the expectation is active
97 Actual: it is retired
98 Expected: to be called once
99 Actual: called once - saturated and retired
100 FILE:#: tried expectation #1
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
109 unknown file: Failure
110
111 Unexpected mock function call - returning default value.
112 Function call: Bar2(1, 0)
113 Returns: false
114 Google Mock tried the following 2 expectations, but none matched:
115
116 FILE:#: tried expectation #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
121 FILE:#: tried expectation #1
122 Expected: all pre-requisites are satisfied
123 Actual: the following immediate pre-requisites are not satisfied:
124 FILE:#: 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
130 unknown file: Failure
131
132 Unexpected mock function call - returning default value.
133 Function call: Bar2(1, 0)
134 Returns: false
135 Google Mock tried the following 2 expectations, but none matched:
136
137 FILE:#: tried expectation #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
142 FILE:#: tried expectation #1
143 Expected: all pre-requisites are satisfied
144 Actual: the following immediate pre-requisites are not satisfied:
145 FILE:#: pre-requisite #0
146 FILE:#: 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.UnsatisfiedExpectation
152 FILE:#: Failure
153 Actual function call count doesn't match this expectation.
154 Expected: to be called twice
155 Actual: called once - unsatisfied and active
156 FILE:#: Failure
157 Actual function call count doesn't match this expectation.
158 Expected: to be called once
159 Actual: never called - unsatisfied and active
160 [ FAILED ] GMockOutputTest.UnsatisfiedExpectation
161 [ RUN ] GMockOutputTest.MismatchArguments
162 unknown file: Failure
163
164 Unexpected mock function call - returning default value.
165 Function call: Bar(@0x# "Ho", 0, -0.1)
166 Returns: '\0'
167 Google Mock tried the following 1 expectation, but it didn't match:
168
169 FILE:#:
170 Expected arg #0: references the variable @0x# "Hi"
171 Actual: "Ho" (is located @0x#)
172 Expected arg #2: is greater than or equal to 0
173 Actual: -0.1
174 Expected: to be called once
175 Actual: never called - unsatisfied and active
176 [ FAILED ] GMockOutputTest.MismatchArguments
177 [ RUN ] GMockOutputTest.MismatchWithArguments
178 unknown file: Failure
179
180 Unexpected mock function call - returning default value.
181 Function call: Bar2(2, 3)
182 Returns: false
183 Google Mock tried the following 1 expectation, but it didn't match:
184
185 FILE:#:
186 Expected: argument #0 is greater than or equal to argument #1
187 Actual: false
188 Expected: to be called once
189 Actual: never called - unsatisfied and active
190 [ FAILED ] GMockOutputTest.MismatchWithArguments
191 [ RUN ] GMockOutputTest.MismatchArgumentsAndWithArguments
192 unknown file: Failure
193
194 Unexpected mock function call - returning default value.
195 Function call: Bar2(1, 3)
196 Returns: false
197 Google Mock tried the following 1 expectation, but it didn't match:
198
199 FILE:#:
200 Expected arg #0: is greater than or equal to 2
201 Actual: 1
202 Expected: argument #0 is greater than or equal to argument #1
203 Actual: false
204 Expected: to be called once
205 Actual: never called - unsatisfied and active
206 [ FAILED ] GMockOutputTest.MismatchArgumentsAndWithArguments
207 [ RUN ] GMockOutputTest.UnexpectedCallWithDefaultAction
208 unknown file: Failure
209
210 Unexpected mock function call - taking default action specified at:
211 FILE:#:
212 Function call: Bar2(1, 0)
213 Returns: false
214 Google Mock tried the following 1 expectation, but it didn't match:
215
216 FILE:#:
217 Expected arg #0: is equal to 2
218 Actual: 1
219 Expected arg #1: is equal to 2
220 Actual: 0
221 Expected: to be called once
222 Actual: never called - unsatisfied and active
223 unknown file: Failure
224
225 Unexpected mock function call - taking default action specified at:
226 FILE:#:
227 Function call: Bar2(0, 0)
228 Returns: true
229 Google Mock tried the following 1 expectation, but it didn't match:
230
231 FILE:#:
232 Expected arg #0: is equal to 2
233 Actual: 0
234 Expected arg #1: is equal to 2
235 Actual: 0
236 Expected: to be called once
237 Actual: never called - unsatisfied and active
238 [ FAILED ] GMockOutputTest.UnexpectedCallWithDefaultAction
239 [ RUN ] GMockOutputTest.ExcessiveCallWithDefaultAction
240 FILE:#: Failure
241 Mock function called more times than expected - taking default action specified at:
242 FILE:#:
243 Function call: Bar2(2, 2)
244 Returns: true
245 Expected: to be called once
246 Actual: called twice - over-saturated and active
247 FILE:#: Failure
248 Mock function called more times than expected - taking default action specified at:
249 FILE:#:
250 Function call: Bar2(1, 1)
251 Returns: false
252 Expected: to be called once
253 Actual: called twice - over-saturated and active
254 [ FAILED ] GMockOutputTest.ExcessiveCallWithDefaultAction
255 [ RUN ] GMockOutputTest.UninterestingCallWithDefaultAction
256
257 GMOCK WARNING:
258 Uninteresting mock function call - taking default action specified at:
259 FILE:#:
260 Function call: Bar2(2, 2)
261 Returns: true
262 Stack trace:
263
264 GMOCK WARNING:
265 Uninteresting mock function call - taking default action specified at:
266 FILE:#:
267 Function call: Bar2(1, 1)
268 Returns: false
269 Stack trace:
270 [ OK ] GMockOutputTest.UninterestingCallWithDefaultAction
271 [ RUN ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
272
273 GMOCK WARNING:
274 FILE:#: Too few actions specified.
275 Expected to be called twice, but has only 1 WillOnce().
276 GMOCK WARNING:
277 FILE:#: Actions ran out.
278 Called 2 times, but only 1 WillOnce() is specified - taking default action speci fied at:
279 FILE:#:
280 Stack trace:
281 [ OK ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
282 [ RUN ] GMockOutputTest.CatchesLeakedMocks
283 [ OK ] GMockOutputTest.CatchesLeakedMocks
284 [ FAILED ] GMockOutputTest.UnexpectedCall
285 [ FAILED ] GMockOutputTest.UnexpectedCallToVoidFunction
286 [ FAILED ] GMockOutputTest.ExcessiveCall
287 [ FAILED ] GMockOutputTest.ExcessiveCallToVoidFunction
288 [ FAILED ] GMockOutputTest.RetiredExpectation
289 [ FAILED ] GMockOutputTest.UnsatisfiedPrerequisite
290 [ FAILED ] GMockOutputTest.UnsatisfiedPrerequisites
291 [ FAILED ] GMockOutputTest.UnsatisfiedExpectation
292 [ FAILED ] GMockOutputTest.MismatchArguments
293 [ FAILED ] GMockOutputTest.MismatchWithArguments
294 [ FAILED ] GMockOutputTest.MismatchArgumentsAndWithArguments
295 [ FAILED ] GMockOutputTest.UnexpectedCallWithDefaultAction
296 [ FAILED ] GMockOutputTest.ExcessiveCallWithDefaultAction
297
298
299 FILE:#: ERROR: this mock object should be deleted but never is. Its address is @ 0x#.
300 FILE:#: ERROR: this mock object should be deleted but never is. Its address is @ 0x#.
301 FILE:#: ERROR: this mock object should be deleted but never is. Its address is @ 0x#.
302 ERROR: 3 leaked mock objects found at program exit.
OLDNEW
« no previous file with comments | « testing/gmock/test/gmock_output_test_.cc ('k') | testing/gmock/test/gmock_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698