OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_DEFINES_H | 11 #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_DEFINES_H |
12 #define WEBRTC_VOICE_ENGINE_VOE_TEST_DEFINES_H | 12 #define WEBRTC_VOICE_ENGINE_VOE_TEST_DEFINES_H |
13 | 13 |
14 #include "webrtc/voice_engine/test/auto_test/voe_test_common.h" | 14 #include "webrtc/voice_engine/test/auto_test/voe_test_common.h" |
15 | 15 |
16 // Read WEBRTC_VOICE_ENGINE_XXX_API compiler flags | 16 // Read WEBRTC_VOICE_ENGINE_XXX_API compiler flags |
17 #include "webrtc/engine_configurations.h" | 17 #include "webrtc/engine_configurations.h" |
18 | 18 |
19 // Select the tests to execute, list order below is same as they will be | 19 // Select the tests to execute, list order below is same as they will be |
20 // executed. Note that, all settings below will be overriden by sub-API | 20 // executed. Note that, all settings below will be overriden by sub-API |
21 // settings in engine_configurations.h. | 21 // settings in engine_configurations.h. |
22 #define _TEST_BASE_ | 22 #define _TEST_BASE_ |
23 #define _TEST_RTP_RTCP_ | 23 #define _TEST_RTP_RTCP_ |
24 #define _TEST_HARDWARE_ | 24 #define _TEST_HARDWARE_ |
25 #define _TEST_CODEC_ | 25 #define _TEST_CODEC_ |
26 #define _TEST_DTMF_ | |
27 #define _TEST_VOLUME_ | 26 #define _TEST_VOLUME_ |
28 #define _TEST_AUDIO_PROCESSING_ | 27 #define _TEST_AUDIO_PROCESSING_ |
29 #define _TEST_FILE_ | 28 #define _TEST_FILE_ |
30 #define _TEST_NETWORK_ | 29 #define _TEST_NETWORK_ |
31 #define _TEST_VIDEO_SYNC_ | 30 #define _TEST_VIDEO_SYNC_ |
32 #define _TEST_NETEQ_STATS_ | 31 #define _TEST_NETEQ_STATS_ |
33 #define _TEST_XMEDIA_ | 32 #define _TEST_XMEDIA_ |
34 | 33 |
35 #define TESTED_AUDIO_LAYER kAudioPlatformDefault | 34 #define TESTED_AUDIO_LAYER kAudioPlatformDefault |
36 //#define TESTED_AUDIO_LAYER kAudioLinuxPulse | 35 //#define TESTED_AUDIO_LAYER kAudioLinuxPulse |
37 | 36 |
38 // #define _ENABLE_VISUAL_LEAK_DETECTOR_ // Enables VLD to find memory leaks | 37 // #define _ENABLE_VISUAL_LEAK_DETECTOR_ // Enables VLD to find memory leaks |
39 // #define _ENABLE_IPV6_TESTS_ // Enables IPv6 tests in network xtest | 38 // #define _ENABLE_IPV6_TESTS_ // Enables IPv6 tests in network xtest |
40 // #define _USE_EXTENDED_TRACE_ // Adds unique trace files for extended test | 39 // #define _USE_EXTENDED_TRACE_ // Adds unique trace files for extended test |
41 // #define _MEMORY_TEST_ | 40 // #define _MEMORY_TEST_ |
42 | 41 |
43 // Enable this when running instrumentation of some kind to exclude tests | 42 // Enable this when running instrumentation of some kind to exclude tests |
44 // that will not pass due to slowed down execution. | 43 // that will not pass due to slowed down execution. |
45 // #define _INSTRUMENTATION_TESTING_ | 44 // #define _INSTRUMENTATION_TESTING_ |
46 | 45 |
47 // Exclude (override) API tests given preprocessor settings in | 46 // Exclude (override) API tests given preprocessor settings in |
48 // engine_configurations.h | 47 // engine_configurations.h |
49 #ifndef WEBRTC_VOICE_ENGINE_CODEC_API | 48 #ifndef WEBRTC_VOICE_ENGINE_CODEC_API |
50 #undef _TEST_CODEC_ | 49 #undef _TEST_CODEC_ |
51 #endif | 50 #endif |
52 #ifndef WEBRTC_VOICE_ENGINE_VOLUME_CONTROL_API | 51 #ifndef WEBRTC_VOICE_ENGINE_VOLUME_CONTROL_API |
53 #undef _TEST_VOLUME_ | 52 #undef _TEST_VOLUME_ |
54 #endif | 53 #endif |
55 #ifndef WEBRTC_VOICE_ENGINE_DTMF_API | |
56 #undef _TEST_DTMF_ | |
57 #endif | |
58 #ifndef WEBRTC_VOICE_ENGINE_RTP_RTCP_API | 54 #ifndef WEBRTC_VOICE_ENGINE_RTP_RTCP_API |
59 #undef _TEST_RTP_RTCP_ | 55 #undef _TEST_RTP_RTCP_ |
60 #endif | 56 #endif |
61 #ifndef WEBRTC_VOICE_ENGINE_AUDIO_PROCESSING_API | 57 #ifndef WEBRTC_VOICE_ENGINE_AUDIO_PROCESSING_API |
62 #undef _TEST_AUDIO_PROCESSING_ | 58 #undef _TEST_AUDIO_PROCESSING_ |
63 #endif | 59 #endif |
64 #ifndef WEBRTC_VOICE_ENGINE_FILE_API | 60 #ifndef WEBRTC_VOICE_ENGINE_FILE_API |
65 #undef _TEST_FILE_ | 61 #undef _TEST_FILE_ |
66 #endif | 62 #endif |
67 #ifndef WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API | 63 #ifndef WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 { \ | 149 { \ |
154 TEST_LOG("\n>>> Excluding test at line: %i <<<\n\n",__LINE__); \ | 150 TEST_LOG("\n>>> Excluding test at line: %i <<<\n\n",__LINE__); \ |
155 } | 151 } |
156 | 152 |
157 #define INCOMPLETE() \ | 153 #define INCOMPLETE() \ |
158 { \ | 154 { \ |
159 TEST_LOG("\n>>> Incomplete test at line: %i <<<\n\n",__LINE__); \ | 155 TEST_LOG("\n>>> Incomplete test at line: %i <<<\n\n",__LINE__); \ |
160 } | 156 } |
161 | 157 |
162 #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_DEFINES_H | 158 #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_DEFINES_H |
OLD | NEW |