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

Unified Diff: media/cast/audio_receiver/audio_receiver_unittest.cc

Issue 248493002: Cast: Deduplicate packets in paced sender and always send older packets first (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: re-upping to trick build system Created 6 years, 8 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
« no previous file with comments | « no previous file | media/cast/rtcp/rtcp_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/audio_receiver/audio_receiver_unittest.cc
diff --git a/media/cast/audio_receiver/audio_receiver_unittest.cc b/media/cast/audio_receiver/audio_receiver_unittest.cc
index 106c5979f2335feee28f9e929f4ef853f6768a15..8b7e706dff046af56192fe931df3b97130815603 100644
--- a/media/cast/audio_receiver/audio_receiver_unittest.cc
+++ b/media/cast/audio_receiver/audio_receiver_unittest.cc
@@ -119,7 +119,7 @@ TEST_F(AudioReceiverTest, GetOnePacketEncodedFrame) {
SimpleEventSubscriber event_subscriber;
cast_environment_->Logging()->AddRawEventSubscriber(&event_subscriber);
- EXPECT_CALL(mock_transport_, SendRtcpPacket(_)).Times(1);
+ EXPECT_CALL(mock_transport_, SendRtcpPacket(_, _)).Times(1);
// Enqueue a request for an audio frame.
receiver_->GetEncodedAudioFrame(
@@ -149,7 +149,7 @@ TEST_F(AudioReceiverTest, GetOnePacketEncodedFrame) {
}
TEST_F(AudioReceiverTest, MultiplePendingGetCalls) {
- EXPECT_CALL(mock_transport_, SendRtcpPacket(_))
+ EXPECT_CALL(mock_transport_, SendRtcpPacket(_, _))
.WillRepeatedly(testing::Return(true));
// Enqueue a request for an audio frame.
« no previous file with comments | « no previous file | media/cast/rtcp/rtcp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698