Index: webrtc/audio/audio_send_stream_unittest.cc |
diff --git a/webrtc/audio/audio_send_stream_unittest.cc b/webrtc/audio/audio_send_stream_unittest.cc |
index c04a3de77c203e00aedeb67b34c0115f7fcdf68b..0f7b47601d4d96d3e6961da35a486b41cb783fa1 100644 |
--- a/webrtc/audio/audio_send_stream_unittest.cc |
+++ b/webrtc/audio/audio_send_stream_unittest.cc |
@@ -70,7 +70,7 @@ struct ConfigHelper { |
EXPECT_CALL(voice_engine_, ChannelProxyFactory(kChannelId)) |
.WillOnce(Invoke([this](int channel_id) { |
EXPECT_FALSE(channel_proxy_); |
- channel_proxy_ = new testing::StrictMock<MockVoEChannelProxy>(); |
+ channel_proxy_ = new testing::NiceMock<MockVoEChannelProxy>(); |
the sun
2016/04/22 12:40:31
Add EXPECT_CALL for [De]RegisterExternalTransport
mflodman
2016/04/27 13:42:17
Done.
|
EXPECT_CALL(*channel_proxy_, SetRTCPStatus(true)).Times(1); |
EXPECT_CALL(*channel_proxy_, SetLocalSSRC(kSsrc)).Times(1); |
EXPECT_CALL(*channel_proxy_, SetRTCP_CNAME(StrEq(kCName))).Times(1); |
@@ -156,7 +156,7 @@ struct ConfigHelper { |
testing::StrictMock<MockVoiceEngine> voice_engine_; |
rtc::scoped_refptr<AudioState> audio_state_; |
AudioSendStream::Config stream_config_; |
- testing::StrictMock<MockVoEChannelProxy>* channel_proxy_ = nullptr; |
+ testing::NiceMock<MockVoEChannelProxy>* channel_proxy_ = nullptr; |
testing::NiceMock<MockBitrateObserver> bitrate_observer_; |
testing::NiceMock<MockRemoteBitrateObserver> remote_bitrate_observer_; |
CongestionController congestion_controller_; |