Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: webrtc/audio/audio_receive_stream_unittest.cc

Issue 2454373002: Added an empty AudioTransportProxy to AudioState. (Closed)
Patch Set: Added unit test for recorded data path. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 bde68ed3ae7edb79e3422f2f758350aebe44c638..fe7e934202f505d087ba01693d4a18b768858c22 100644
--- a/webrtc/audio/audio_receive_stream_unittest.cc
+++ b/webrtc/audio/audio_receive_stream_unittest.cc
@@ -78,6 +78,10 @@ struct ConfigHelper {
RegisterVoiceEngineObserver(_)).WillOnce(Return(0));
EXPECT_CALL(voice_engine_,
DeRegisterVoiceEngineObserver()).WillOnce(Return(0));
+ EXPECT_CALL(voice_engine_, audio_processing());
the sun 2016/11/14 13:50:08 Q: Is .Times(1) the default?
aleloi 2016/11/14 14:24:42 Yes, the default is 1 when there is no .WillOnce o
+ EXPECT_CALL(voice_engine_, audio_device_module());
+ EXPECT_CALL(voice_engine_, audio_transport());
+
AudioState::Config config;
config.voice_engine = &voice_engine_;
audio_state_ = AudioState::Create(config);

Powered by Google App Engine
This is Rietveld 408576698