| Index: remoting/protocol/connection_to_client_unittest.cc
|
| diff --git a/remoting/protocol/connection_to_client_unittest.cc b/remoting/protocol/connection_to_client_unittest.cc
|
| index c6dd90cf9c78e44cfd8b29c2d7dda82ee420187f..e2855928a84baba349222c3d2b0bf2e9530e8193 100644
|
| --- a/remoting/protocol/connection_to_client_unittest.cc
|
| +++ b/remoting/protocol/connection_to_client_unittest.cc
|
| @@ -69,9 +69,10 @@ TEST_F(ConnectionToClientTest, SendUpdateStream) {
|
|
|
| // Verify that something has been written.
|
| // TODO(sergeyu): Verify that the correct data has been written.
|
| - ASSERT_TRUE(session_->GetStreamChannel(kVideoChannelName));
|
| - EXPECT_GT(session_->GetStreamChannel(kVideoChannelName)->
|
| - written_data().size(), 0u);
|
| + ASSERT_TRUE(
|
| + session_->fake_channel_factory().GetFakeChannel(kVideoChannelName));
|
| + EXPECT_FALSE(session_->fake_channel_factory()
|
| + .GetFakeChannel(kVideoChannelName)->written_data().empty());
|
|
|
| // And then close the connection to ConnectionToClient.
|
| viewer_->Disconnect();
|
|
|