diff options
Diffstat (limited to 'remoting/host/client_session_unittest.cc')
-rw-r--r-- | remoting/host/client_session_unittest.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/remoting/host/client_session_unittest.cc b/remoting/host/client_session_unittest.cc index abe7eee..9eb6348 100644 --- a/remoting/host/client_session_unittest.cc +++ b/remoting/host/client_session_unittest.cc @@ -369,11 +369,16 @@ TEST_F(ClientSessionTest, LocalInputTest) { .WillOnce(DoAll( // This event should get through to the input stub. InjectMouseEvent(connection_, mouse_event1), - // This one should too because the local event echoes the remote one. +#if !defined(OS_WIN) + // The OS echoes the injected event back. LocalMouseMoved(client_session_.get(), mouse_event1), +#endif // !defined(OS_WIN) + // This one should get throught as well. InjectMouseEvent(connection_, mouse_event2), - // This one should not. + // Now this is a genuine local event. LocalMouseMoved(client_session_.get(), mouse_event1), + // This one should be blocked because of the previous local input + // event. InjectMouseEvent(connection_, mouse_event3), // TODO(jamiewalch): Verify that remote inputs are re-enabled // eventually (via dependency injection, not sleep!) |