OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 <memory> | 11 #include <memory> |
12 | 12 |
13 #include "webrtc/common_types.h" | 13 #include "webrtc/common_types.h" |
14 #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" | 14 #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" |
15 #include "webrtc/modules/audio_coding/include/audio_coding_module.h" | 15 #include "webrtc/modules/audio_coding/include/audio_coding_module.h" |
16 #include "webrtc/modules/audio_coding/test/utility.h" | 16 #include "webrtc/modules/audio_coding/test/utility.h" |
17 #include "webrtc/modules/include/module_common_types.h" | 17 #include "webrtc/modules/include/module_common_types.h" |
18 #include "webrtc/system_wrappers/include/sleep.h" | |
19 #include "webrtc/test/gtest.h" | 18 #include "webrtc/test/gtest.h" |
20 #include "webrtc/test/testsupport/fileutils.h" | 19 #include "webrtc/test/testsupport/fileutils.h" |
21 | 20 |
22 namespace webrtc { | 21 namespace webrtc { |
23 | 22 |
24 class TargetDelayTest : public ::testing::Test { | 23 class TargetDelayTest : public ::testing::Test { |
25 protected: | 24 protected: |
26 TargetDelayTest() : acm_(AudioCodingModule::Create(0)) {} | 25 TargetDelayTest() : acm_(AudioCodingModule::Create(0)) {} |
27 | 26 |
28 ~TargetDelayTest() {} | 27 ~TargetDelayTest() {} |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS) | 246 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS) |
248 #define MAYBE_TargetDelayBufferMinMax DISABLED_TargetDelayBufferMinMax | 247 #define MAYBE_TargetDelayBufferMinMax DISABLED_TargetDelayBufferMinMax |
249 #else | 248 #else |
250 #define MAYBE_TargetDelayBufferMinMax TargetDelayBufferMinMax | 249 #define MAYBE_TargetDelayBufferMinMax TargetDelayBufferMinMax |
251 #endif | 250 #endif |
252 TEST_F(TargetDelayTest, MAYBE_TargetDelayBufferMinMax) { | 251 TEST_F(TargetDelayTest, MAYBE_TargetDelayBufferMinMax) { |
253 TargetDelayBufferMinMax(); | 252 TargetDelayBufferMinMax(); |
254 } | 253 } |
255 | 254 |
256 } // namespace webrtc | 255 } // namespace webrtc |
257 | |
OLD | NEW |