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
11281cff8cd679728fe395f7f0203c05e763c0c789pbos@webrtc.org#include "testing/gtest/include/gtest/gtest.h"
12b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/test/testsupport/gtest_disable.h"
13b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/video_engine/test/auto_test/automated/legacy_fixture.h"
14b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org#include "webrtc/video_engine/test/auto_test/interface/vie_autotest.h"
15b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
16b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgnamespace {
17b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
18b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org// TODO(phoglund): These tests are generally broken on mac.
19b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org// http://code.google.com/p/webrtc/issues/detail?id=1268
20b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.orgclass DISABLED_ON_MAC(ViEExtendedIntegrationTest) : public LegacyFixture {
21b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org};
22b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
23b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.orgTEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), RunsBaseTestWithoutErrors) {
24b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViEBaseExtendedTest();
25b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
26b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
27b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// TODO(phoglund): Crashes on the v4l2loopback camera.
28b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.orgTEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
29b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org       DISABLED_RunsCaptureTestWithoutErrors) {
30b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViECaptureExtendedTest();
31b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
32b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
3383163e074b3b5614f7dad41d711cec5027b489f3kjellander@webrtc.org// Flaky on Windows: http://code.google.com/p/webrtc/issues/detail?id=1925
3483163e074b3b5614f7dad41d711cec5027b489f3kjellander@webrtc.org// (in addition to being disabled on Mac due to webrtc:1268).
358ed53697b4d17698dfe56dae4d8c276d37d4e132kjellander@webrtc.org#if defined(_WIN32)
3683163e074b3b5614f7dad41d711cec5027b489f3kjellander@webrtc.org#define MAYBE_RunsCodecTestWithoutErrors DISABLED_RunsCodecTestWithoutErrors
3783163e074b3b5614f7dad41d711cec5027b489f3kjellander@webrtc.org#else
3883163e074b3b5614f7dad41d711cec5027b489f3kjellander@webrtc.org#define MAYBE_RunsCodecTestWithoutErrors RunsCodecTestWithoutErrors
3983163e074b3b5614f7dad41d711cec5027b489f3kjellander@webrtc.org#endif
408ed53697b4d17698dfe56dae4d8c276d37d4e132kjellander@webrtc.orgTEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
418ed53697b4d17698dfe56dae4d8c276d37d4e132kjellander@webrtc.org       MAYBE_RunsCodecTestWithoutErrors) {
42b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViECodecExtendedTest();
43b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
44b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
45b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.orgTEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
46b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org       RunsImageProcessTestWithoutErrors) {
47b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViEImageProcessExtendedTest();
48b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
49b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
50b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.orgTEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
51b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org       RunsRenderTestWithoutErrors) {
52b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViERenderExtendedTest();
53b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
54b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
55b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.orgTEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
56c5fccd6b7094347560acef55710834a383858102pbos@webrtc.org       DISABLED_RunsRtpRtcpTestWithoutErrors) {
57b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org  tests_->ViERtpRtcpExtendedTest();
58b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
59b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
60b790741419ee844ae75d0abed27b8e4f0f0f1598phoglund@webrtc.org}  // namespace
61