blob: 20faee76e295c60a345a75cabf61924b91ba6e8c [file] [log] [blame]
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
// vie_autotest.h
#include "common_types.h"
#include "voe_base.h"
#include "voe_codec.h"
#include "voe_hardware.h"
#include "voe_audio_processing.h"
#include "vie_base.h"
#include "vie_capture.h"
#include "vie_codec.h"
#include "vie_file.h"
#include "vie_network.h"
#include "vie_render.h"
#include "vie_rtp_rtcp.h"
#include "vie_defines.h"
#include "vie_errors.h"
#include "video_render_defines.h"
#include "vie_autotest_defines.h"
#include <string>
class TbInterfaces;
class ViEToFileRenderer;
// This class provides a bunch of methods, implemented across several .cc
// files, which runs tests on the video engine. All methods will report
// errors using standard googletest macros, except when marked otherwise.
class ViEAutoTest
ViEAutoTest(void* window1, void* window2);
// These three are special and should not be run in a googletest harness.
// They keep track of their errors by themselves and return the number
// of errors.
int ViELoopbackCall();
int ViESimulcastCall();
int ViECustomCall();
// All following functions are meant to run in a googletest harness.
void ViEStandardTest();
void ViEExtendedTest();
void ViEAPITest();
void ViEBaseStandardTest();
void ViEBaseExtendedTest();
void ViEBaseAPITest();
void ViECaptureStandardTest();
void ViECaptureExtendedTest();
void ViECaptureAPITest();
void ViECaptureExternalCaptureTest();
void ViECodecStandardTest();
void ViECodecExtendedTest();
void ViECodecExternalCodecTest();
void ViECodecAPITest();
void ViEEncryptionStandardTest();
void ViEEncryptionExtendedTest();
void ViEEncryptionAPITest();
// vie_autotest_file.ccs
void ViEFileStandardTest();
void ViEFileExtendedTest();
void ViEFileAPITest();
void ViEImageProcessStandardTest();
void ViEImageProcessExtendedTest();
void ViEImageProcessAPITest();
void ViENetworkStandardTest();
void ViENetworkExtendedTest();
void ViENetworkAPITest();
void ViERenderStandardTest();
void ViERenderExtendedTest();
void ViERenderAPITest();
void ViERtpRtcpStandardTest();
void ViERtpRtcpExtendedTest();
void ViERtpRtcpAPITest();
void PrintAudioCodec(const webrtc::CodecInst audioCodec);
void PrintVideoCodec(const webrtc::VideoCodec videoCodec);
void* _window1;
void* _window2;
webrtc::VideoRenderType _renderType;
webrtc::VideoRender* _vrm1;
webrtc::VideoRender* _vrm2;