New issue
Advanced search Search tips

Issue 832977 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Add test for WindowEventDispatcher::SynthesizeMouseMoveEvent using real mouse location

Project Member Reported by bsep@chromium.org, Apr 13 2018

Issue description

Part 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).
 

Comment 1 by bsep@chromium.org, Apr 13 2018

Description: Show this description

Comment 2 by bsep@chromium.org, 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