- add third_party src.
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / voice_engine / test / auto_test / voe_test_interface.h
1 /*
2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3  *
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
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10
11 /*
12  *  Interface for starting test
13  */
14
15 #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H
16 #define WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H
17
18 #include "webrtc/common_types.h"
19
20 namespace voetest {
21 // TODO(andrew): Using directives not permitted.
22 using namespace webrtc;
23
24 // TestType enumerator
25 enum TestType {
26   Invalid = -1, Standard = 0, Extended = 1, Stress = 2, Unit = 3, CPU = 4
27 };
28
29 // ExtendedSelection enumerator
30 enum ExtendedSelection {
31   XSEL_Invalid = -1,
32   XSEL_None = 0,
33   XSEL_All,
34   XSEL_Base,
35   XSEL_CallReport,
36   XSEL_Codec,
37   XSEL_DTMF,
38   XSEL_Encryption,
39   XSEL_ExternalMedia,
40   XSEL_File,
41   XSEL_Hardware,
42   XSEL_NetEqStats,
43   XSEL_Network,
44   XSEL_RTP_RTCP,
45   XSEL_VideoSync,
46   XSEL_VolumeControl,
47 };
48
49 // Main test function
50 int runAutoTest(TestType testType, ExtendedSelection extendedSel);
51
52 }  // namespace voetest
53 #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H