Index: remoting/test/me2me_browsertest.cc |
diff --git a/remoting/test/me2me_browsertest.cc b/remoting/test/me2me_browsertest.cc |
index 0c0e2caa11789c9f6a08bb545954a99ca7c0b652..a8a0eb44aae9bc2c06d63550c8f8612e33e1d0b8 100644 |
--- a/remoting/test/me2me_browsertest.cc |
+++ b/remoting/test/me2me_browsertest.cc |
@@ -10,6 +10,7 @@ namespace remoting { |
class Me2MeBrowserTest : public RemoteDesktopBrowserTest { |
protected: |
void TestKeyboardInput(); |
+ void TestMouseInput(); |
}; |
IN_PROC_BROWSER_TEST_F(Me2MeBrowserTest, |
@@ -43,4 +44,13 @@ void Me2MeBrowserTest::TestKeyboardInput() { |
ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromSeconds(5)).Wait()); |
} |
+void Me2MeBrowserTest::TestMouseInput() { |
+ // Visually verifies that "Dash Home" is clicked on a Unity window manager. |
garykac
2013/09/19 21:37:26
Should it be "Visually verify..."?
The code below
weitao
2013/09/19 22:04:56
Done.
weitao
2013/09/19 22:04:56
Done.
|
+ SimulateMouseClickAt(10, 50); |
+ // TODO: Verify programatically the mouse events are received by the host. |
+ // This will be tricky as it depends on the host OS, window manager, desktop |
+ // layout, and screen resolution. |
+ ASSERT_TRUE(TimeoutWaiter(base::TimeDelta::FromSeconds(5)).Wait()); |
+} |
+ |
} // namespace remoting |