Index: webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc |
diff --git a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc |
index 55097929a6e5dd70c6fdb044600adc4a253d3824..8cf02f18d4c4dc944e0ee86cc75e52728688b180 100644 |
--- a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc |
+++ b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc |
@@ -97,14 +97,14 @@ TEST_F(AudioEncoderCopyRedTest, CheckMaxFrameSizePropagation) { |
EXPECT_EQ(17U, red_->Max10MsFramesInAPacket()); |
} |
-TEST_F(AudioEncoderCopyRedTest, CheckSetBitratePropagation) { |
- EXPECT_CALL(*mock_encoder_, SetTargetBitrate(4711)); |
- red_->SetTargetBitrate(4711); |
+TEST_F(AudioEncoderCopyRedTest, CheckTargetAudioBitratePropagation) { |
+ EXPECT_CALL(*mock_encoder_, OnReceivedTargetAudioBitrate(4711)); |
+ red_->OnReceivedTargetAudioBitrate(4711); |
} |
-TEST_F(AudioEncoderCopyRedTest, CheckProjectedPacketLossRatePropagation) { |
- EXPECT_CALL(*mock_encoder_, SetProjectedPacketLossRate(0.5)); |
- red_->SetProjectedPacketLossRate(0.5); |
+TEST_F(AudioEncoderCopyRedTest, CheckPacketLossFractionPropagation) { |
+ EXPECT_CALL(*mock_encoder_, OnReceivedUplinkPacketLossFraction(0.5)); |
+ red_->OnReceivedUplinkPacketLossFraction(0.5); |
} |
// Checks that the an Encode() call is immediately propagated to the speech |