blob: e43fc751b00d1f8ab85d0e4c7b61df6a8f2e5672 [file] [log] [blame]
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +00001/*
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
pbos@webrtc.orgf2e6fb32013-05-17 13:44:48 +000011#include "testing/gtest/include/gtest/gtest.h"
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000012#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"
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000015
16namespace {
17
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000018// 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 {
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000021};
22
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000023TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), RunsBaseTestWithoutErrors) {
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000024 tests_->ViEBaseExtendedTest();
25}
26
27// TODO(phoglund): Crashes on the v4l2loopback camera.
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000028TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
29 DISABLED_RunsCaptureTestWithoutErrors) {
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000030 tests_->ViECaptureExtendedTest();
31}
32
kjellander@webrtc.org936844c2013-06-12 13:59:57 +000033// 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).
kjellander@webrtc.org3b37c8a2013-06-12 14:38:01 +000035#if defined(_WIN32)
kjellander@webrtc.org936844c2013-06-12 13:59:57 +000036#define MAYBE_RunsCodecTestWithoutErrors DISABLED_RunsCodecTestWithoutErrors
37#else
38#define MAYBE_RunsCodecTestWithoutErrors RunsCodecTestWithoutErrors
39#endif
kjellander@webrtc.org3b37c8a2013-06-12 14:38:01 +000040TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
41 MAYBE_RunsCodecTestWithoutErrors) {
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000042 tests_->ViECodecExtendedTest();
43}
44
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000045TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000046 RunsImageProcessTestWithoutErrors) {
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000047 tests_->ViEImageProcessExtendedTest();
48}
49
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000050TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000051 RunsRenderTestWithoutErrors) {
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000052 tests_->ViERenderExtendedTest();
53}
54
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000055TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest),
pbos@webrtc.org73e1a8b2014-04-28 08:49:07 +000056 DISABLED_RunsRtpRtcpTestWithoutErrors) {
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000057 tests_->ViERtpRtcpExtendedTest();
58}
59
phoglund@webrtc.orgb011c6a2013-01-09 16:53:42 +000060} // namespace