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(ViEApiIntegrationTest) : public LegacyFixture {
21};
22
23TEST_F(DISABLED_ON_MAC(ViEApiIntegrationTest), RunsBaseTestWithoutErrors) {
24  tests_->ViEBaseAPITest();
25}
26
27// TODO(phoglund): Crashes on the v4l2loopback camera.
28TEST_F(DISABLED_ON_MAC(ViEApiIntegrationTest),
29       DISABLED_RunsCaptureTestWithoutErrors) {
30  tests_->ViECaptureAPITest();
31}
32
33TEST_F(DISABLED_ON_MAC(ViEApiIntegrationTest), RunsCodecTestWithoutErrors) {
34  tests_->ViECodecAPITest();
35}
36
37TEST_F(DISABLED_ON_MAC(ViEApiIntegrationTest),
38       RunsImageProcessTestWithoutErrors) {
39  tests_->ViEImageProcessAPITest();
40}
41
42TEST_F(DISABLED_ON_MAC(ViEApiIntegrationTest), RunsRenderTestWithoutErrors) {
43  tests_->ViERenderAPITest();
44}
45
46// See: https://code.google.com/p/webrtc/issues/detail?id=2415
47TEST_F(DISABLED_ON_MAC(ViEApiIntegrationTest),
48       DISABLED_RunsRtpRtcpTestWithoutErrors) {
49  tests_->ViERtpRtcpAPITest();
50}
51
52}  // namespace
53