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
11b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org// This file contains the "standard" suite of integration tests, implemented
12b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org// as a GUnit test. This file is a part of the effort to try to automate all
13b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org// tests in this section of the code. Currently, this code makes no attempt
14b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org// to verify any video output - it only checks for direct errors.
15b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
163f45c2e0ac4cb280f941efa3a3476895795e3dd6pbos@webrtc.org#include <stdio.h>
17b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
18bb6bef544d450c0c70f5569243b6ce07a56d9462pbos@webrtc.org#include "gflags/gflags.h"
19281cff8cd679728fe395f7f0203c05e763c0c789pbos@webrtc.org#include "testing/gtest/include/gtest/gtest.h"
20b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/test/testsupport/metrics/video_metrics.h"
21b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/test/testsupport/metrics/video_metrics.h"
22b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/video_engine/test/auto_test/automated/legacy_fixture.h"
23b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/video_engine/test/auto_test/interface/vie_autotest.h"
24b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/video_engine/test/auto_test/interface/vie_autotest_window_manager_interface.h"
25b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/video_engine/test/auto_test/interface/vie_window_creator.h"
26b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/video_engine/test/libvietest/include/vie_to_file_renderer.h"
27b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
28b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgnamespace {
29b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
30b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgclass ViEStandardIntegrationTest : public LegacyFixture {
31b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org};
32b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
33b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgTEST_F(ViEStandardIntegrationTest, RunsBaseTestWithoutErrors)  {
34b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViEBaseStandardTest();
35b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
36b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
379062a9a4975cfe16a6e7258bbdfb4f2ebdb80ad1phoglund@webrtc.org// Flaky: https://code.google.com/p/webrtc/issues/detail?id=1734
389062a9a4975cfe16a6e7258bbdfb4f2ebdb80ad1phoglund@webrtc.orgTEST_F(ViEStandardIntegrationTest, DISABLED_RunsCodecTestWithoutErrors)  {
39b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViECodecStandardTest();
40b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
41b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
42b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgTEST_F(ViEStandardIntegrationTest, RunsCaptureTestWithoutErrors)  {
43b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViECaptureStandardTest();
44b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
45b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
46b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgTEST_F(ViEStandardIntegrationTest, RunsImageProcessTestWithoutErrors)  {
47b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViEImageProcessStandardTest();
48b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
49b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
50b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgTEST_F(ViEStandardIntegrationTest, RunsRenderTestWithoutErrors)  {
51b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViERenderStandardTest();
52b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
53b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
54c5fccd6b7094347560acef55710834a383858102pbos@webrtc.org// Flaky, see webrtc:1790.
55c5fccd6b7094347560acef55710834a383858102pbos@webrtc.orgTEST_F(ViEStandardIntegrationTest, DISABLED_RunsRtpRtcpTestWithoutErrors)  {
56b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViERtpRtcpStandardTest();
57b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
58b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
593b89e10f31160da35b408fd00cb8f89d2b08862dpbos@webrtc.org}  // namespace
60