Lines Matching refs:EXPECT_EQ
42 EXPECT_EQ(kRootHeight, root_bounds.height());
43 EXPECT_EQ(kRootWidth, root_bounds.width());
85 EXPECT_EQ(1.0f, GetMagnificationController()->GetScale());
86 EXPECT_EQ("0,0 800x600", GetViewport().ToString());
91 EXPECT_EQ(2.0f, GetMagnificationController()->GetScale());
92 EXPECT_EQ("200,150 400x300", GetViewport().ToString());
97 EXPECT_EQ(1.0f, GetMagnificationController()->GetScale());
98 EXPECT_EQ("0,0 800x600", GetViewport().ToString());
103 EXPECT_EQ(1.0f, GetMagnificationController()->GetScale());
104 EXPECT_EQ("0,0 800x600", GetViewport().ToString());
111 EXPECT_EQ(2.0f, GetMagnificationController()->GetScale());
112 EXPECT_EQ("200,150 400x300", GetViewport().ToString());
113 EXPECT_EQ("400,300", CurrentPointOfInterest());
117 EXPECT_EQ(4.0f, GetMagnificationController()->GetScale());
118 EXPECT_EQ("300,225 200x150", GetViewport().ToString());
119 EXPECT_EQ("400,300", CurrentPointOfInterest());
122 EXPECT_EQ(1.0f, GetMagnificationController()->GetScale());
123 EXPECT_EQ("0,0 800x600", GetViewport().ToString());
124 EXPECT_EQ("400,300", CurrentPointOfInterest());
127 EXPECT_EQ(3.0f, GetMagnificationController()->GetScale());
128 EXPECT_EQ("266,200 267x200", GetViewport().ToString());
129 EXPECT_EQ("400,300", CurrentPointOfInterest());
135 EXPECT_EQ(2.0f, GetMagnificationController()->GetScale());
136 EXPECT_EQ("200,150 400x300", GetViewport().ToString());
140 EXPECT_EQ("0,0 400x300", GetViewport().ToString());
143 EXPECT_EQ("200,300 400x300", GetViewport().ToString());
146 EXPECT_EQ("400,0 400x300", GetViewport().ToString());
149 EXPECT_EQ("400,300 400x300", GetViewport().ToString());
153 EXPECT_EQ("0,0 400x300", GetViewport().ToString());
156 EXPECT_EQ("0,0 400x300", GetViewport().ToString());
159 EXPECT_EQ("0,0 400x300", GetViewport().ToString());
163 EXPECT_EQ("400,0 400x300", GetViewport().ToString());
166 EXPECT_EQ("0,300 400x300", GetViewport().ToString());
169 EXPECT_EQ("200,300 400x300", GetViewport().ToString());
172 EXPECT_EQ("400,300 400x300", GetViewport().ToString());
179 EXPECT_EQ("0,0", CurrentPointOfInterest());
182 EXPECT_EQ("799,599", CurrentPointOfInterest());
185 EXPECT_EQ("400,300", CurrentPointOfInterest());
188 EXPECT_EQ("400,300", CurrentPointOfInterest());
191 EXPECT_EQ("450,350", CurrentPointOfInterest());
199 EXPECT_EQ(1.f, GetMagnificationController()->GetScale());
200 EXPECT_EQ("0,0 800x600", GetViewport().ToString());
201 EXPECT_EQ("0,0", env->last_mouse_location().ToString());
205 EXPECT_EQ(2.0f, GetMagnificationController()->GetScale());
209 EXPECT_EQ("0,0", env->last_mouse_location().ToString());
210 EXPECT_EQ("0,0 400x300", GetViewport().ToString());
213 EXPECT_EQ("150,75", env->last_mouse_location().ToString());
214 EXPECT_EQ("0,0 400x300", GetViewport().ToString());
217 EXPECT_EQ("350,75", env->last_mouse_location().ToString());
218 EXPECT_EQ("0,0 400x300", GetViewport().ToString());
221 EXPECT_EQ("350,75", env->last_mouse_location().ToString());
222 EXPECT_EQ("0,0 400x300", GetViewport().ToString());
225 EXPECT_EQ("351,75", env->last_mouse_location().ToString());
226 EXPECT_EQ("1,0 400x300", GetViewport().ToString());
229 EXPECT_EQ("352,75", env->last_mouse_location().ToString());
230 EXPECT_EQ("2,0 400x300", GetViewport().ToString());
233 EXPECT_EQ("354,75", env->last_mouse_location().ToString());
234 EXPECT_EQ("4,0 400x300", GetViewport().ToString());
237 EXPECT_EQ("360,75", env->last_mouse_location().ToString());
238 EXPECT_EQ("10,0 400x300", GetViewport().ToString());
241 EXPECT_EQ("310,75", env->last_mouse_location().ToString());
242 EXPECT_EQ("10,0 400x300", GetViewport().ToString());
245 EXPECT_EQ("370,75", env->last_mouse_location().ToString());
246 EXPECT_EQ("20,0 400x300", GetViewport().ToString());
249 EXPECT_EQ("410,75", env->last_mouse_location().ToString());
250 EXPECT_EQ("410,75", CurrentPointOfInterest());
251 EXPECT_EQ("60,0 400x300", GetViewport().ToString());
254 EXPECT_EQ("459,75", env->last_mouse_location().ToString());
255 EXPECT_EQ("109,0 400x300", GetViewport().ToString());
258 EXPECT_EQ("460,75", env->last_mouse_location().ToString());
259 EXPECT_EQ("110,0 400x300", GetViewport().ToString());
262 EXPECT_EQ("500,75", env->last_mouse_location().ToString());
263 EXPECT_EQ("150,0 400x300", GetViewport().ToString());
266 EXPECT_EQ("540,75", env->last_mouse_location().ToString());
267 EXPECT_EQ("190,0 400x300", GetViewport().ToString());
270 EXPECT_EQ("580,75", env->last_mouse_location().ToString());
271 EXPECT_EQ("230,0 400x300", GetViewport().ToString());
274 EXPECT_EQ("620,75", env->last_mouse_location().ToString());
275 EXPECT_EQ("270,0 400x300", GetViewport().ToString());
278 EXPECT_EQ("660,75", env->last_mouse_location().ToString());
279 EXPECT_EQ("310,0 400x300", GetViewport().ToString());
282 EXPECT_EQ("700,75", env->last_mouse_location().ToString());
283 EXPECT_EQ("350,0 400x300", GetViewport().ToString());
286 EXPECT_EQ("740,75", env->last_mouse_location().ToString());
287 EXPECT_EQ("390,0 400x300", GetViewport().ToString());
290 EXPECT_EQ("780,75", env->last_mouse_location().ToString());
291 EXPECT_EQ("400,0 400x300", GetViewport().ToString());
294 EXPECT_EQ("799,75", env->last_mouse_location().ToString());
295 EXPECT_EQ("400,0 400x300", GetViewport().ToString());
303 EXPECT_EQ(1.f, GetMagnificationController()->GetScale());
304 EXPECT_EQ("0,0 800x600", GetViewport().ToString());
305 EXPECT_EQ("799,300", env->last_mouse_location().ToString());
311 EXPECT_EQ("798,300", env->last_mouse_location().ToString());
312 EXPECT_EQ("400,150 400x300", GetViewport().ToString());
315 EXPECT_EQ("400,300", env->last_mouse_location().ToString());
316 EXPECT_EQ("350,150 400x300", GetViewport().ToString());
319 EXPECT_EQ("350,300", env->last_mouse_location().ToString());
320 EXPECT_EQ("300,150 400x300", GetViewport().ToString());
323 EXPECT_EQ("300,300", env->last_mouse_location().ToString());
324 EXPECT_EQ("250,150 400x300", GetViewport().ToString());
327 EXPECT_EQ("250,300", env->last_mouse_location().ToString());
328 EXPECT_EQ("200,150 400x300", GetViewport().ToString());
331 EXPECT_EQ("200,300", env->last_mouse_location().ToString());
332 EXPECT_EQ("150,150 400x300", GetViewport().ToString());
335 EXPECT_EQ("150,300", env->last_mouse_location().ToString());
336 EXPECT_EQ("100,150 400x300", GetViewport().ToString());
339 EXPECT_EQ("100,300", env->last_mouse_location().ToString());
340 EXPECT_EQ("50,150 400x300", GetViewport().ToString());
343 EXPECT_EQ("50,300", env->last_mouse_location().ToString());
344 EXPECT_EQ("0,150 400x300", GetViewport().ToString());
347 EXPECT_EQ("0,300", env->last_mouse_location().ToString());
348 EXPECT_EQ("0,150 400x300", GetViewport().ToString());
356 EXPECT_EQ(1.f, GetMagnificationController()->GetScale());
357 EXPECT_EQ("0,0 800x600", GetViewport().ToString());
358 EXPECT_EQ("400,300", env->last_mouse_location().ToString());
370 EXPECT_EQ("400,300", env->last_mouse_location().ToString());
372 EXPECT_EQ("566,299", env->last_mouse_location().ToString());
373 EXPECT_EQ("705,300", GetHostMouseLocation());
379 EXPECT_EQ("599,299", env->last_mouse_location().ToString());
380 EXPECT_EQ("702,300", GetHostMouseLocation());
386 EXPECT_EQ("627,298", env->last_mouse_location().ToString());
387 EXPECT_EQ("707,300", GetHostMouseLocation());
393 EXPECT_EQ("649,298", env->last_mouse_location().ToString());
394 EXPECT_EQ("704,300", GetHostMouseLocation());
402 EXPECT_EQ(1.f, GetMagnificationController()->GetScale());
403 EXPECT_EQ("0,0 800x600", GetViewport().ToString());
404 EXPECT_EQ("400,300", env->last_mouse_location().ToString());
416 EXPECT_EQ("400,300", env->last_mouse_location().ToString());
418 EXPECT_EQ("231,299", env->last_mouse_location().ToString());
419 EXPECT_EQ("100,300", GetHostMouseLocation());
425 EXPECT_EQ("194,299", env->last_mouse_location().ToString());
426 EXPECT_EQ("99,300", GetHostMouseLocation());
432 EXPECT_EQ("164,298", env->last_mouse_location().ToString());
433 EXPECT_EQ("98,300", GetHostMouseLocation());
439 EXPECT_EQ("139,298", env->last_mouse_location().ToString());
440 EXPECT_EQ("100,300", GetHostMouseLocation());