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

Side by Side Diff: webrtc/audio/audio_send_stream_unittest.cc

Issue 2762133003: Revert of Delete class MockCongestionController. (Closed)
Patch Set: Created 3 years, 9 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/congestion_controller/congestion_controller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "webrtc/audio/audio_send_stream.h" 14 #include "webrtc/audio/audio_send_stream.h"
15 #include "webrtc/audio/audio_state.h" 15 #include "webrtc/audio/audio_state.h"
16 #include "webrtc/audio/conversion.h" 16 #include "webrtc/audio/conversion.h"
17 #include "webrtc/base/task_queue.h" 17 #include "webrtc/base/task_queue.h"
18 #include "webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h" 18 #include "webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h"
19 #include "webrtc/modules/audio_mixer/audio_mixer_impl.h" 19 #include "webrtc/modules/audio_mixer/audio_mixer_impl.h"
20 #include "webrtc/modules/audio_processing/include/mock_audio_processing.h" 20 #include "webrtc/modules/audio_processing/include/mock_audio_processing.h"
21 #include "webrtc/modules/congestion_controller/include/mock/mock_congestion_obse rver.h" 21 #include "webrtc/modules/congestion_controller/include/mock/mock_congestion_cont roller.h"
22 #include "webrtc/modules/congestion_controller/include/send_side_congestion_cont roller.h" 22 #include "webrtc/modules/congestion_controller/include/send_side_congestion_cont roller.h"
23 #include "webrtc/modules/pacing/paced_sender.h" 23 #include "webrtc/modules/pacing/paced_sender.h"
24 #include "webrtc/modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h" 24 #include "webrtc/modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h"
25 #include "webrtc/test/gtest.h" 25 #include "webrtc/test/gtest.h"
26 #include "webrtc/test/mock_voe_channel_proxy.h" 26 #include "webrtc/test/mock_voe_channel_proxy.h"
27 #include "webrtc/test/mock_voice_engine.h" 27 #include "webrtc/test/mock_voice_engine.h"
28 #include "webrtc/voice_engine/transmit_mixer.h" 28 #include "webrtc/voice_engine/transmit_mixer.h"
29 29
30 namespace webrtc { 30 namespace webrtc {
31 namespace test { 31 namespace test {
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 internal::AudioSendStream send_stream( 460 internal::AudioSendStream send_stream(
461 helper.config(), helper.audio_state(), helper.worker_queue(), 461 helper.config(), helper.audio_state(), helper.worker_queue(),
462 helper.packet_router(), helper.send_side_cc(), helper.bitrate_allocator(), 462 helper.packet_router(), helper.send_side_cc(), helper.bitrate_allocator(),
463 helper.event_log(), helper.rtcp_rtt_stats()); 463 helper.event_log(), helper.rtcp_rtt_stats());
464 EXPECT_CALL(*helper.channel_proxy(), SetBitrate(_, 5000)); 464 EXPECT_CALL(*helper.channel_proxy(), SetBitrate(_, 5000));
465 send_stream.OnBitrateUpdated(50000, 0.0, 50, 5000); 465 send_stream.OnBitrateUpdated(50000, 0.0, 50, 5000);
466 } 466 }
467 467
468 } // namespace test 468 } // namespace test
469 } // namespace webrtc 469 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/congestion_controller/congestion_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698