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/typedefs.h" |
18 #include "webrtc/voice_engine/include/voe_neteq_stats.h" | 19 #include "webrtc/voice_engine/include/voe_neteq_stats.h" |
19 #include "webrtc/voice_engine/test/auto_test/automated_mode.h" | 20 #include "webrtc/voice_engine/test/auto_test/automated_mode.h" |
20 #include "webrtc/voice_engine/test/auto_test/voe_cpu_test.h" | 21 #include "webrtc/voice_engine/test/auto_test/voe_cpu_test.h" |
21 #include "webrtc/voice_engine/test/auto_test/voe_stress_test.h" | 22 #include "webrtc/voice_engine/test/auto_test/voe_stress_test.h" |
22 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" | 23 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" |
23 #include "webrtc/voice_engine/voice_engine_defines.h" | 24 #include "webrtc/voice_engine/voice_engine_defines.h" |
24 #include "webrtc/voice_engine_configurations.h" | |
25 | 25 |
26 DEFINE_bool(include_timing_dependent_tests, true, | 26 DEFINE_bool(include_timing_dependent_tests, true, |
27 "If true, we will include tests / parts of tests that are known " | 27 "If true, we will include tests / parts of tests that are known " |
28 "to break in slow execution environments (such as valgrind)."); | 28 "to break in slow execution environments (such as valgrind)."); |
29 DEFINE_bool(automated, false, | 29 DEFINE_bool(automated, false, |
30 "If true, we'll run the automated tests we have in noninteractive " | 30 "If true, we'll run the automated tests we have in noninteractive " |
31 "mode."); | 31 "mode."); |
32 | 32 |
33 using namespace webrtc; | 33 using namespace webrtc; |
34 | 34 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 google::AllowCommandLineReparsing(); | 317 google::AllowCommandLineReparsing(); |
318 google::ParseCommandLineFlags(&argc, &argv, true); | 318 google::ParseCommandLineFlags(&argc, &argv, true); |
319 | 319 |
320 if (FLAGS_automated) { | 320 if (FLAGS_automated) { |
321 return RunInAutomatedMode(); | 321 return RunInAutomatedMode(); |
322 } | 322 } |
323 | 323 |
324 return RunInManualMode(); | 324 return RunInManualMode(); |
325 } | 325 } |
326 #endif //#if !defined(WEBRTC_IOS) | 326 #endif //#if !defined(WEBRTC_IOS) |
OLD | NEW |