OK, in NestedMirRunner::wait_until_surface_ready() we send a pair of key-down/key-up events every 10ms until we see *any* event. We then run the test and teardown.
Other tests using FakeInputDevice ensure they have received the last event sent.
AFAICS There's nothing else to ensure the queue is drained.
OK, in NestedMirRunner ::wait_ until_surface_ ready() we send a pair of key-down/key-up events every 10ms until we see *any* event. We then run the test and teardown.
Other tests using FakeInputDevice ensure they have received the last event sent.
AFAICS There's nothing else to ensure the queue is drained.