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_STANDARD_TEST_H | 11 #ifndef WEBRTC_VOICE_ENGINE_VOE_STANDARD_TEST_H |
12 #define WEBRTC_VOICE_ENGINE_VOE_STANDARD_TEST_H | 12 #define WEBRTC_VOICE_ENGINE_VOE_STANDARD_TEST_H |
13 | 13 |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "gflags/gflags.h" | 17 #include "gflags/gflags.h" |
18 #include "webrtc/test/testsupport/fileutils.h" | 18 #include "webrtc/test/testsupport/fileutils.h" |
19 #include "webrtc/voice_engine/test/auto_test/voe_test_common.h" | 19 #include "webrtc/voice_engine/test/auto_test/voe_test_common.h" |
20 | 20 |
21 #if defined(WEBRTC_ANDROID) | |
22 extern char mobileLogMsg[640]; | |
23 #endif | |
24 | |
25 DECLARE_bool(include_timing_dependent_tests); | 21 DECLARE_bool(include_timing_dependent_tests); |
26 | 22 |
| 23 namespace webrtc { |
27 namespace voetest { | 24 namespace voetest { |
28 | 25 |
29 class SubAPIManager { | 26 class SubAPIManager { |
30 public: | 27 public: |
31 SubAPIManager() | 28 SubAPIManager() |
32 : _base(true), | 29 : _base(true), |
33 _codec(false), | 30 _codec(false), |
34 _file(false), | 31 _file(false), |
35 _hardware(false), | 32 _hardware(false), |
36 _network(false), | 33 _network(false), |
37 _rtp_rtcp(false), | 34 _rtp_rtcp(false), |
38 _apm(false) { | 35 _apm(false) { |
39 _codec = true; | 36 _codec = true; |
40 _file = true; | 37 _file = true; |
41 _hardware = true; | 38 _hardware = true; |
42 _network = true; | 39 _network = true; |
43 _rtp_rtcp = true; | 40 _rtp_rtcp = true; |
44 _apm = true; | 41 _apm = true; |
45 } | 42 } |
46 | 43 |
47 void DisplayStatus() const; | 44 void DisplayStatus() const; |
48 | 45 |
49 private: | 46 private: |
50 bool _base, _codec; | 47 bool _base, _codec; |
51 bool _file, _hardware; | 48 bool _file, _hardware; |
52 bool _network, _rtp_rtcp, _apm; | 49 bool _network, _rtp_rtcp, _apm; |
53 }; | 50 }; |
54 | 51 |
55 } // namespace voetest | 52 } // namespace voetest |
| 53 } // namespace webrtc |
56 | 54 |
57 #endif // WEBRTC_VOICE_ENGINE_VOE_STANDARD_TEST_H | 55 #endif // WEBRTC_VOICE_ENGINE_VOE_STANDARD_TEST_H |
OLD | NEW |