1b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org/* 2b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 3b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * 4b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * Use of this source code is governed by a BSD-style license 5b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * that can be found in the LICENSE file in the root of the source 6b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * tree. An additional intellectual property rights grant can be found 7b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * in the file PATENTS. All contributing project authors may 8b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * be found in the AUTHORS file in the root of the source tree. 9b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org */ 10b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 11b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org/* 12b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * Interface for starting test 13b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org */ 14b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 15b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H 16b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#define WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H 17b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 18471ae72f18e7b23a96b245dbd508386fe139449cpbos@webrtc.org#include "webrtc/common_types.h" 19b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 20b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgnamespace voetest { 21b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// TODO(andrew): Using directives not permitted. 22b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgusing namespace webrtc; 23b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 24b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// TestType enumerator 25b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgenum TestType { 269a95ac2a317e31e0f866b17f17b79013d72e2536solenberg@webrtc.org Invalid = -1, 279a95ac2a317e31e0f866b17f17b79013d72e2536solenberg@webrtc.org Standard = 0, 28b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 299a95ac2a317e31e0f866b17f17b79013d72e2536solenberg@webrtc.org Stress = 2, 30f6c4fc37636a466cc1f8f11bfee9ad42c0d05473solenberg@webrtc.org 319a95ac2a317e31e0f866b17f17b79013d72e2536solenberg@webrtc.org CPU = 4 32b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}; 33b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 34b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// Main test function 359a95ac2a317e31e0f866b17f17b79013d72e2536solenberg@webrtc.orgint runAutoTest(TestType testType); 36b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 373b89e10f31160da35b408fd00cb8f89d2b08862dpbos@webrtc.org} // namespace voetest 38b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#endif // WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H 39