Index: webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc |
diff --git a/webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc b/webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc |
index 183d526ffc3ce2d694ab02286a06514c2a094a8e..568ae1ebe7f1de840ced89fc9d1ab93a55f2d19f 100644 |
--- a/webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc |
+++ b/webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc |
@@ -1564,6 +1564,10 @@ TEST_F(AcmSenderBitExactnessOldApi, External_Pcmu_20ms) { |
.Times(AtLeast(1)) |
.WillRepeatedly( |
Invoke(&encoder, &AudioEncoderMutablePcmU::EncodeInternal)); |
+ EXPECT_CALL(mock_encoder, GetTargetBitrate()) |
+ .Times(AtLeast(1)) |
+ .WillRepeatedly(Invoke( |
+ &encoder, &AudioEncoderMutablePcmU::GetTargetBitrate)); |
ASSERT_NO_FATAL_FAILURE( |
SetUpTestExternalEncoder(&mock_encoder, codec_inst.pltype)); |
Run("81a9d4c0bb72e9becc43aef124c981e9", "8f9b8750bd80fe26b6cbf6659b89f0f9", |