1/*
2 *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
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.
9 */
10
11#include "testing/gtest/include/gtest/gtest.h"
12#include "webrtc/test/testsupport/gtest_disable.h"
13#include "webrtc/video_engine/test/auto_test/automated/legacy_fixture.h"
14#include "webrtc/video_engine/test/auto_test/interface/vie_autotest.h"
15
16namespace {
17
18// TODO(phoglund): These tests are generally broken on mac.
19// http://code.google.com/p/webrtc/issues/detail?id=1268
20class DISABLED_ON_MAC(ViEExtendedIntegrationTest) : public LegacyFixture {
21};
22
23TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), RunsBaseTestWithoutErrors) {
24  tests_->ViEBaseExtendedTest();
25}
26
27// TODO(phoglund): Crashes on the v4l2loopback camera.
28TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
29       DISABLED_RunsCaptureTestWithoutErrors) {
30  tests_->ViECaptureExtendedTest();
31}
32
33// Flaky on Windows: http://code.google.com/p/webrtc/issues/detail?id=1925
34// (in addition to being disabled on Mac due to webrtc:1268).
35#if defined(_WIN32)
36#define MAYBE_RunsCodecTestWithoutErrors DISABLED_RunsCodecTestWithoutErrors
37#else
38#define MAYBE_RunsCodecTestWithoutErrors RunsCodecTestWithoutErrors
39#endif
40TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
41       MAYBE_RunsCodecTestWithoutErrors) {
42  tests_->ViECodecExtendedTest();
43}
44
45TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
46       RunsImageProcessTestWithoutErrors) {
47  tests_->ViEImageProcessExtendedTest();
48}
49
50TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
51       RunsRenderTestWithoutErrors) {
52  tests_->ViERenderExtendedTest();
53}
54
55TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
56       DISABLED_RunsRtpRtcpTestWithoutErrors) {
57  tests_->ViERtpRtcpExtendedTest();
58}
59
60}  // namespace
61