Index: webrtc/test/mock_voice_engine.h |
diff --git a/webrtc/test/mock_voice_engine.h b/webrtc/test/mock_voice_engine.h |
index ca3fe4f4667557d32cfcab03a84ae4c18f4b5d53..6b1f9cf31fabfa8976ffe922e774c4dbab336736 100644 |
--- a/webrtc/test/mock_voice_engine.h |
+++ b/webrtc/test/mock_voice_engine.h |
@@ -52,6 +52,11 @@ class MockVoiceEngine : public VoiceEngineImpl { |
new testing::NiceMock<webrtc::test::MockVoEChannelProxy>(); |
EXPECT_CALL(*proxy, GetAudioDecoderFactory()) |
.WillRepeatedly(testing::ReturnRef(decoder_factory_)); |
+ EXPECT_CALL(*proxy, SetReceiveCodecs(testing::_)) |
+ .WillRepeatedly(testing::Invoke( |
+ [](const std::map<int, SdpAudioFormat>& codecs) { |
+ EXPECT_THAT(codecs, testing::IsEmpty()); |
+ })); |
return proxy; |
})); |