Index: webrtc/audio/audio_receive_stream_unittest.cc |
diff --git a/webrtc/audio/audio_receive_stream_unittest.cc b/webrtc/audio/audio_receive_stream_unittest.cc |
index e6b81a8bab62d1de1f07f816834ae2a8971717b6..9025550b4fbbbd0800ae459a9d9b05abaaa45417 100644 |
--- a/webrtc/audio/audio_receive_stream_unittest.cc |
+++ b/webrtc/audio/audio_receive_stream_unittest.cc |
@@ -8,6 +8,7 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <map> |
#include <string> |
#include <vector> |
@@ -111,6 +112,11 @@ struct ConfigHelper { |
.Times(1) |
.After(expect_set); |
EXPECT_CALL(*channel_proxy_, DisassociateSendChannel()).Times(1); |
+ EXPECT_CALL(*channel_proxy_, SetReceiveCodecs(_)) |
+ .WillRepeatedly( |
+ Invoke([](const std::map<int, SdpAudioFormat>& codecs) { |
+ EXPECT_THAT(codecs, testing::IsEmpty()); |
+ })); |
return channel_proxy_; |
})); |
stream_config_.voe_channel_id = kChannelId; |