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 |
| 11 #include <string> |
| 12 |
11 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
12 | 14 |
13 #include "webrtc/audio/audio_receive_stream.h" | 15 #include "webrtc/audio/audio_receive_stream.h" |
14 #include "webrtc/audio/conversion.h" | 16 #include "webrtc/audio/conversion.h" |
15 #include "webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitra
te_estimator.h" | 17 #include "webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitra
te_estimator.h" |
16 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 18 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
17 #include "webrtc/test/mock_voe_channel_proxy.h" | 19 #include "webrtc/test/mock_voe_channel_proxy.h" |
18 #include "webrtc/test/mock_voice_engine.h" | 20 #include "webrtc/test/mock_voice_engine.h" |
19 | 21 |
20 namespace webrtc { | 22 namespace webrtc { |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 EXPECT_EQ(kAudioDecodeStats.calls_to_neteq, stats.decoding_calls_to_neteq); | 236 EXPECT_EQ(kAudioDecodeStats.calls_to_neteq, stats.decoding_calls_to_neteq); |
235 EXPECT_EQ(kAudioDecodeStats.decoded_normal, stats.decoding_normal); | 237 EXPECT_EQ(kAudioDecodeStats.decoded_normal, stats.decoding_normal); |
236 EXPECT_EQ(kAudioDecodeStats.decoded_plc, stats.decoding_plc); | 238 EXPECT_EQ(kAudioDecodeStats.decoded_plc, stats.decoding_plc); |
237 EXPECT_EQ(kAudioDecodeStats.decoded_cng, stats.decoding_cng); | 239 EXPECT_EQ(kAudioDecodeStats.decoded_cng, stats.decoding_cng); |
238 EXPECT_EQ(kAudioDecodeStats.decoded_plc_cng, stats.decoding_plc_cng); | 240 EXPECT_EQ(kAudioDecodeStats.decoded_plc_cng, stats.decoding_plc_cng); |
239 EXPECT_EQ(kCallStats.capture_start_ntp_time_ms_, | 241 EXPECT_EQ(kCallStats.capture_start_ntp_time_ms_, |
240 stats.capture_start_ntp_time_ms); | 242 stats.capture_start_ntp_time_ms); |
241 } | 243 } |
242 } // namespace test | 244 } // namespace test |
243 } // namespace webrtc | 245 } // namespace webrtc |
OLD | NEW |