Home | History | Annotate | Download | only in auto_test
      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,
     27   Standard = 0,
     28 
     29   Stress = 2,
     30 
     31   CPU = 4
     32 };
     33 
     34 // Main test function
     35 int runAutoTest(TestType testType);
     36 
     37 }  // namespace voetest
     38 #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H
     39