aboutsummaryrefslogtreecommitdiff
path: root/cast/sender/cast_platform_client_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cast/sender/cast_platform_client_unittest.cc')
-rw-r--r--cast/sender/cast_platform_client_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cast/sender/cast_platform_client_unittest.cc b/cast/sender/cast_platform_client_unittest.cc
index 44e99660..eaaf5c6e 100644
--- a/cast/sender/cast_platform_client_unittest.cc
+++ b/cast/sender/cast_platform_client_unittest.cc
@@ -74,12 +74,12 @@ TEST_F(CastPlatformClientTest, AppAvailability) {
CastMessage availability_response =
CreateAppAvailableResponseChecked(request_id, sender_id, "AAA");
- EXPECT_TRUE(peer_socket().SendMessage(availability_response).ok());
+ EXPECT_TRUE(peer_socket().Send(availability_response).ok());
EXPECT_TRUE(ran);
// NOTE: Callback should only fire once, so it should not fire again here.
ran = false;
- EXPECT_TRUE(peer_socket().SendMessage(availability_response).ok());
+ EXPECT_TRUE(peer_socket().Send(availability_response).ok());
EXPECT_FALSE(ran);
}
@@ -103,7 +103,7 @@ TEST_F(CastPlatformClientTest, CancelRequest) {
CastMessage availability_response =
CreateAppAvailableResponseChecked(request_id, sender_id, "AAA");
- EXPECT_TRUE(peer_socket().SendMessage(availability_response).ok());
+ EXPECT_TRUE(peer_socket().Send(availability_response).ok());
}
} // namespace cast