summaryrefslogtreecommitdiffstats
path: root/remoting/host/screen_recorder_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/screen_recorder_unittest.cc')
-rw-r--r--remoting/host/screen_recorder_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/host/screen_recorder_unittest.cc b/remoting/host/screen_recorder_unittest.cc
index b1b49ee..3457444 100644
--- a/remoting/host/screen_recorder_unittest.cc
+++ b/remoting/host/screen_recorder_unittest.cc
@@ -78,6 +78,7 @@ class ScreenRecorderTest : public testing::Test {
session_ = new MockSession();
EXPECT_CALL(*session_, SetStateChangeCallback(_));
+ EXPECT_CALL(*session_, SetRouteChangeCallback(_));
EXPECT_CALL(*session_, Close())
.Times(AnyNumber());
connection_.reset(new MockConnectionToClient(
@@ -171,6 +172,7 @@ TEST_F(ScreenRecorderTest, StartAndStop) {
}
TEST_F(ScreenRecorderTest, StopWithoutStart) {
+ EXPECT_CALL(capturer_, Stop());
record_->Stop(base::Bind(&QuitMessageLoop, &message_loop_));
message_loop_.Run();
}