Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Unified Diff: remoting/protocol/connection_to_client_unittest.cc

Issue 580243003: Cleanup Fake* classes in remoting/protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sctp
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4ea8941d5e61f5fa1a754132d27d4a7f316705fc 100644
--- a/remoting/protocol/connection_to_client_unittest.cc
+++ b/remoting/protocol/connection_to_client_unittest.cc
@@ -69,8 +69,8 @@ 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)->
+ ASSERT_TRUE(session_->fake_channel_factory().GetChannel(kVideoChannelName));
+ EXPECT_GT(session_->fake_channel_factory().GetChannel(kVideoChannelName)->
written_data().size(), 0u);
// And then close the connection to ConnectionToClient.

Powered by Google App Engine
This is Rietveld 408576698