2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
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.
11 // This file contains the "standard" suite of integration tests, implemented
12 // as a GUnit test. This file is a part of the effort to try to automate all
13 // tests in this section of the code. Currently, this code makes no attempt
14 // to verify any video output - it only checks for direct errors.
18 #include "gflags/gflags.h"
19 #include "testing/gtest/include/gtest/gtest.h"
20 #include "webrtc/test/testsupport/metrics/video_metrics.h"
21 #include "webrtc/test/testsupport/metrics/video_metrics.h"
22 #include "webrtc/video_engine/test/auto_test/automated/legacy_fixture.h"
23 #include "webrtc/video_engine/test/auto_test/interface/vie_autotest.h"
24 #include "webrtc/video_engine/test/auto_test/interface/vie_autotest_window_manager_interface.h"
25 #include "webrtc/video_engine/test/auto_test/interface/vie_window_creator.h"
26 #include "webrtc/video_engine/test/libvietest/include/vie_to_file_renderer.h"
30 class ViEStandardIntegrationTest : public LegacyFixture {
33 TEST_F(ViEStandardIntegrationTest, RunsBaseTestWithoutErrors) {
34 tests_->ViEBaseStandardTest();
37 // Flaky: https://code.google.com/p/webrtc/issues/detail?id=1734
38 TEST_F(ViEStandardIntegrationTest, DISABLED_RunsCodecTestWithoutErrors) {
39 tests_->ViECodecStandardTest();
42 TEST_F(ViEStandardIntegrationTest, RunsCaptureTestWithoutErrors) {
43 tests_->ViECaptureStandardTest();
46 TEST_F(ViEStandardIntegrationTest, RunsImageProcessTestWithoutErrors) {
47 tests_->ViEImageProcessStandardTest();
50 TEST_F(ViEStandardIntegrationTest, RunsRenderTestWithoutErrors) {
51 tests_->ViERenderStandardTest();
54 // Fails on Mac, see https://code.google.com/p/webrtc/issues/detail?id=1790
55 #if defined(WEBRTC_MAC)
56 #define MAYBE_RunsRtpRtcpTestWithoutErrors DISABLED_RunsRtpRtcpTestWithoutErrors
58 #define MAYBE_RunsRtpRtcpTestWithoutErrors RunsRtpRtcpTestWithoutErrors
60 TEST_F(ViEStandardIntegrationTest, MAYBE_RunsRtpRtcpTestWithoutErrors) {
61 tests_->ViERtpRtcpStandardTest();