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 "webrtc/modules/audio_processing/audio_processing_impl.h" | 11 #include "webrtc/modules/audio_processing/audio_processing_impl.h" |
12 | 12 |
13 #include <algorithm> | 13 #include <algorithm> |
14 #include <memory> | 14 #include <memory> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/test/gtest.h" | |
18 #include "webrtc/base/array_view.h" | 17 #include "webrtc/base/array_view.h" |
19 #include "webrtc/base/criticalsection.h" | 18 #include "webrtc/base/criticalsection.h" |
20 #include "webrtc/base/event.h" | 19 #include "webrtc/base/event.h" |
21 #include "webrtc/base/platform_thread.h" | 20 #include "webrtc/base/platform_thread.h" |
22 #include "webrtc/base/random.h" | 21 #include "webrtc/base/random.h" |
23 #include "webrtc/config.h" | 22 #include "webrtc/config.h" |
24 #include "webrtc/modules/audio_processing/test/test_utils.h" | 23 #include "webrtc/modules/audio_processing/test/test_utils.h" |
25 #include "webrtc/modules/include/module_common_types.h" | 24 #include "webrtc/modules/include/module_common_types.h" |
26 #include "webrtc/system_wrappers/include/sleep.h" | 25 #include "webrtc/system_wrappers/include/sleep.h" |
| 26 #include "webrtc/test/gtest.h" |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 | 29 |
30 namespace { | 30 namespace { |
31 | 31 |
32 class AudioProcessingImplLockTest; | 32 class AudioProcessingImplLockTest; |
33 | 33 |
34 // Type of the render thread APM API call to use in the test. | 34 // Type of the render thread APM API call to use in the test. |
35 enum class RenderApiImpl { | 35 enum class RenderApiImpl { |
36 ProcessReverseStreamImpl1, | 36 ProcessReverseStreamImpl1, |
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 DISABLED_AudioProcessingImplLockExtensive, | 1126 DISABLED_AudioProcessingImplLockExtensive, |
1127 AudioProcessingImplLockTest, | 1127 AudioProcessingImplLockTest, |
1128 ::testing::ValuesIn(TestConfig::GenerateExtensiveTestConfigs())); | 1128 ::testing::ValuesIn(TestConfig::GenerateExtensiveTestConfigs())); |
1129 | 1129 |
1130 INSTANTIATE_TEST_CASE_P( | 1130 INSTANTIATE_TEST_CASE_P( |
1131 AudioProcessingImplLockBrief, | 1131 AudioProcessingImplLockBrief, |
1132 AudioProcessingImplLockTest, | 1132 AudioProcessingImplLockTest, |
1133 ::testing::ValuesIn(TestConfig::GenerateBriefTestConfigs())); | 1133 ::testing::ValuesIn(TestConfig::GenerateBriefTestConfigs())); |
1134 | 1134 |
1135 } // namespace webrtc | 1135 } // namespace webrtc |
OLD | NEW |