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 /* | 11 /* |
12 * Interface for starting test | 12 * Interface for starting test |
13 */ | 13 */ |
14 | 14 |
15 #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H | 15 #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H |
16 #define WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H | 16 #define WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H |
17 | 17 |
18 #include "webrtc/common_types.h" | 18 #include "webrtc/common_types.h" |
19 | 19 |
20 namespace voetest { | 20 namespace voetest { |
21 // TODO(andrew): Using directives not permitted. | 21 // TODO(andrew): Using directives not permitted. |
22 using namespace webrtc; | 22 using namespace webrtc; |
23 | 23 |
24 // TestType enumerator | 24 // TestType enumerator |
25 enum TestType { | 25 enum TestType { |
26 Invalid = -1, | 26 Invalid = -1, |
27 Standard = 0, | 27 Standard = 0, |
28 | 28 |
29 Stress = 2, | 29 Stress = 2 |
30 | |
31 CPU = 4 | |
32 }; | 30 }; |
33 | 31 |
34 // Main test function | 32 // Main test function |
35 int runAutoTest(TestType testType); | 33 int runAutoTest(TestType testType); |
36 | 34 |
37 } // namespace voetest | 35 } // namespace voetest |
38 #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H | 36 #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H |
OLD | NEW |