Index: webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc |
diff --git a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc |
index ace217ea242f065d59d2e1baa7cd9cdfbc6ff22e..db58b0dcc3ec3c1df00989de6b5661717955a1d5 100644 |
--- a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc |
+++ b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc |
@@ -217,16 +217,16 @@ TEST_F(AudioEncoderCngTest, CheckFrameSizePropagation) { |
EXPECT_EQ(17U, cng_->Num10MsFramesInNextPacket()); |
} |
-TEST_F(AudioEncoderCngTest, CheckChangeBitratePropagation) { |
+TEST_F(AudioEncoderCngTest, CheckTargetAudioBitratePropagation) { |
CreateCng(MakeCngConfig()); |
- EXPECT_CALL(*mock_encoder_, SetTargetBitrate(4711)); |
- cng_->SetTargetBitrate(4711); |
+ EXPECT_CALL(*mock_encoder_, OnReceivedTargetAudioBitrate(4711)); |
+ cng_->OnReceivedTargetAudioBitrate(4711); |
} |
-TEST_F(AudioEncoderCngTest, CheckProjectedPacketLossRatePropagation) { |
+TEST_F(AudioEncoderCngTest, CheckPacketLossFractionPropagation) { |
CreateCng(MakeCngConfig()); |
- EXPECT_CALL(*mock_encoder_, SetProjectedPacketLossRate(0.5)); |
- cng_->SetProjectedPacketLossRate(0.5); |
+ EXPECT_CALL(*mock_encoder_, OnReceivedUplinkPacketLossFraction(0.5)); |
+ cng_->OnReceivedUplinkPacketLossFraction(0.5); |
} |
TEST_F(AudioEncoderCngTest, EncodeCallsVad) { |