Add test for WindowEventDispatcher::SynthesizeMouseMoveEvent using real mouse location |
|
Issue descriptionPart of the fix for bug 828591 required that we change a synthesized mouse event to use the real cursor location instead of the last event location. In tests the real cursor location is mocked out as... the last event location. That makes adding a test for this slightly tricky. So I'm splitting that work into this bug. My proposal is to change the test architecture to allow tests to move the mouse via a new method on aura::TestScreen, which will drive mouse events (and thus the last event location).
,
Apr 20 2018
WIP CL: https://chromium-review.googlesource.com/c/chromium/src/+/1017881 I'm stuck because it looks like Linux relies on OS behavior for aura_unittests, which means I can't mock out certain things. |
|
►
Sign in to add a comment |
|
Comment 1 by bsep@chromium.org
, Apr 13 2018