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 #include "webrtc/voice_engine/test/auto_test/voe_standard_test.h" | 11 #include "webrtc/voice_engine/test/auto_test/voe_standard_test.h" |
12 | 12 |
13 #include <assert.h> | 13 #include <assert.h> |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <string.h> | 15 #include <string.h> |
16 | 16 |
17 #include "webrtc/system_wrappers/include/event_wrapper.h" | 17 #include "webrtc/system_wrappers/include/event_wrapper.h" |
18 #include "webrtc/voice_engine/include/voe_neteq_stats.h" | 18 #include "webrtc/voice_engine/include/voe_neteq_stats.h" |
19 #include "webrtc/voice_engine/test/auto_test/automated_mode.h" | 19 #include "webrtc/voice_engine/test/auto_test/automated_mode.h" |
20 #include "webrtc/voice_engine/test/auto_test/voe_cpu_test.h" | 20 #include "webrtc/voice_engine/test/auto_test/voe_cpu_test.h" |
21 #include "webrtc/voice_engine/test/auto_test/voe_stress_test.h" | 21 #include "webrtc/voice_engine/test/auto_test/voe_stress_test.h" |
22 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" | 22 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" |
23 #include "webrtc/voice_engine/voice_engine_defines.h" | 23 #include "webrtc/voice_engine/voice_engine_defines.h" |
24 #include "webrtc/voice_engine_configurations.h" | 24 #include "webrtc/voice_engine_configurations.h" |
25 | 25 |
| 26 #ifndef WEBRTC_VOICE_ENGINE_NETEQ_STATS_API |
| 27 #error "Deprecated" |
| 28 #endif |
| 29 |
26 DEFINE_bool(include_timing_dependent_tests, true, | 30 DEFINE_bool(include_timing_dependent_tests, true, |
27 "If true, we will include tests / parts of tests that are known " | 31 "If true, we will include tests / parts of tests that are known " |
28 "to break in slow execution environments (such as valgrind)."); | 32 "to break in slow execution environments (such as valgrind)."); |
29 DEFINE_bool(automated, false, | 33 DEFINE_bool(automated, false, |
30 "If true, we'll run the automated tests we have in noninteractive " | 34 "If true, we'll run the automated tests we have in noninteractive " |
31 "mode."); | 35 "mode."); |
32 | 36 |
33 using namespace webrtc; | 37 using namespace webrtc; |
34 | 38 |
35 namespace voetest { | 39 namespace voetest { |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 google::AllowCommandLineReparsing(); | 327 google::AllowCommandLineReparsing(); |
324 google::ParseCommandLineFlags(&argc, &argv, true); | 328 google::ParseCommandLineFlags(&argc, &argv, true); |
325 | 329 |
326 if (FLAGS_automated) { | 330 if (FLAGS_automated) { |
327 return RunInAutomatedMode(); | 331 return RunInAutomatedMode(); |
328 } | 332 } |
329 | 333 |
330 return RunInManualMode(); | 334 return RunInManualMode(); |
331 } | 335 } |
332 #endif //#if !defined(WEBRTC_IOS) | 336 #endif //#if !defined(WEBRTC_IOS) |
OLD | NEW |