| OLD | NEW |
| 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 |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 block.source_SSRC = kSsrc; | 294 block.source_SSRC = kSsrc; |
| 295 report_blocks.push_back(block); // Correct block. | 295 report_blocks.push_back(block); // Correct block. |
| 296 block.fraction_lost = 0; | 296 block.fraction_lost = 0; |
| 297 report_blocks.push_back(block); // Duplicate SSRC, bad fraction_lost. | 297 report_blocks.push_back(block); // Duplicate SSRC, bad fraction_lost. |
| 298 | 298 |
| 299 EXPECT_TRUE(channel_proxy_); | 299 EXPECT_TRUE(channel_proxy_); |
| 300 EXPECT_CALL(*channel_proxy_, GetRTCPStatistics()) | 300 EXPECT_CALL(*channel_proxy_, GetRTCPStatistics()) |
| 301 .WillRepeatedly(Return(kCallStats)); | 301 .WillRepeatedly(Return(kCallStats)); |
| 302 EXPECT_CALL(*channel_proxy_, GetRemoteRTCPReportBlocks()) | 302 EXPECT_CALL(*channel_proxy_, GetRemoteRTCPReportBlocks()) |
| 303 .WillRepeatedly(Return(report_blocks)); | 303 .WillRepeatedly(Return(report_blocks)); |
| 304 EXPECT_CALL(*channel_proxy_, GetANAStatistics()) |
| 305 .WillRepeatedly(Return(ANAStats())); |
| 304 EXPECT_CALL(voice_engine_, transmit_mixer()) | 306 EXPECT_CALL(voice_engine_, transmit_mixer()) |
| 305 .WillRepeatedly(Return(&transmit_mixer_)); | 307 .WillRepeatedly(Return(&transmit_mixer_)); |
| 306 | 308 |
| 307 EXPECT_CALL(transmit_mixer_, AudioLevelFullRange()) | 309 EXPECT_CALL(transmit_mixer_, AudioLevelFullRange()) |
| 308 .WillRepeatedly(Return(kSpeechInputLevel)); | 310 .WillRepeatedly(Return(kSpeechInputLevel)); |
| 309 EXPECT_CALL(transmit_mixer_, GetTotalInputEnergy()) | 311 EXPECT_CALL(transmit_mixer_, GetTotalInputEnergy()) |
| 310 .WillRepeatedly(Return(kTotalInputEnergy)); | 312 .WillRepeatedly(Return(kTotalInputEnergy)); |
| 311 EXPECT_CALL(transmit_mixer_, GetTotalInputDuration()) | 313 EXPECT_CALL(transmit_mixer_, GetTotalInputDuration()) |
| 312 .WillRepeatedly(Return(kTotalInputDuration)); | 314 .WillRepeatedly(Return(kTotalInputDuration)); |
| 313 | 315 |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 EXPECT_CALL(*helper.channel_proxy(), RegisterSenderCongestionControlObjects( | 607 EXPECT_CALL(*helper.channel_proxy(), RegisterSenderCongestionControlObjects( |
| 606 helper.transport(), Ne(nullptr))) | 608 helper.transport(), Ne(nullptr))) |
| 607 .Times(1); | 609 .Times(1); |
| 608 } | 610 } |
| 609 send_stream.Reconfigure(new_config); | 611 send_stream.Reconfigure(new_config); |
| 610 } | 612 } |
| 611 | 613 |
| 612 | 614 |
| 613 } // namespace test | 615 } // namespace test |
| 614 } // namespace webrtc | 616 } // namespace webrtc |
| OLD | NEW |