| /* |
| * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| * |
| * Use of this source code is governed by a BSD-style license |
| * that can be found in the LICENSE file in the root of the source |
| * tree. An additional intellectual property rights grant can be found |
| * in the file PATENTS. All contributing project authors may |
| * be found in the AUTHORS file in the root of the source tree. |
| */ |
| |
| #include "testing/gtest/include/gtest/gtest.h" |
| #include "webrtc/test/testsupport/gtest_disable.h" |
| #include "webrtc/video_engine/test/auto_test/automated/legacy_fixture.h" |
| #include "webrtc/video_engine/test/auto_test/interface/vie_autotest.h" |
| |
| namespace { |
| |
| // TODO(phoglund): These tests are generally broken on mac. |
| // http://code.google.com/p/webrtc/issues/detail?id=1268 |
| class DISABLED_ON_MAC(ViEExtendedIntegrationTest) : public LegacyFixture { |
| }; |
| |
| TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), RunsBaseTestWithoutErrors) { |
| tests_->ViEBaseExtendedTest(); |
| } |
| |
| // TODO(phoglund): Crashes on the v4l2loopback camera. |
| TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), |
| DISABLED_RunsCaptureTestWithoutErrors) { |
| tests_->ViECaptureExtendedTest(); |
| } |
| |
| // Flaky on Windows: http://code.google.com/p/webrtc/issues/detail?id=1925 |
| // (in addition to being disabled on Mac due to webrtc:1268). |
| #if defined(_WIN32) |
| #define MAYBE_RunsCodecTestWithoutErrors DISABLED_RunsCodecTestWithoutErrors |
| #else |
| #define MAYBE_RunsCodecTestWithoutErrors RunsCodecTestWithoutErrors |
| #endif |
| TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), |
| MAYBE_RunsCodecTestWithoutErrors) { |
| tests_->ViECodecExtendedTest(); |
| } |
| |
| TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), |
| RunsImageProcessTestWithoutErrors) { |
| tests_->ViEImageProcessExtendedTest(); |
| } |
| |
| TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), |
| RunsRenderTestWithoutErrors) { |
| tests_->ViERenderExtendedTest(); |
| } |
| |
| } // namespace |