| Index: remoting/host/chromoting_host_unittest.cc
|
| diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
|
| index 1410371a9bc8b5049461e0246697020ac5377808..7e5f5993a0238a45575bbd17c44f06ccbaf553f2 100644
|
| --- a/remoting/host/chromoting_host_unittest.cc
|
| +++ b/remoting/host/chromoting_host_unittest.cc
|
| @@ -245,6 +245,9 @@ class ChromotingHostTest : public testing::Test {
|
| EXPECT_CALL(*desktop_environment, CreateVideoCapturerPtr())
|
| .Times(AtMost(1))
|
| .WillOnce(Invoke(this, &ChromotingHostTest::CreateVideoCapturer));
|
| + EXPECT_CALL(*desktop_environment, CreateMouseCursorMonitorPtr())
|
| + .Times(AtMost(1))
|
| + .WillOnce(Invoke(this, &ChromotingHostTest::CreateMouseCursorMonitor));
|
| EXPECT_CALL(*desktop_environment, GetCapabilities())
|
| .Times(AtMost(1));
|
| EXPECT_CALL(*desktop_environment, SetCapabilities(_))
|
| @@ -267,6 +270,12 @@ class ChromotingHostTest : public testing::Test {
|
| return new ScreenCapturerFake();
|
| }
|
|
|
| + // Creates a MockMouseCursorMonitor, to mock
|
| + // DesktopEnvironment::CreateMouseCursorMonitor().
|
| + webrtc::MouseCursorMonitor* CreateMouseCursorMonitor() {
|
| + return new MockMouseCursorMonitor();
|
| + }
|
| +
|
| void DisconnectAllClients() {
|
| host_->DisconnectAllClients();
|
| }
|
|
|