andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 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 | |
pbos@webrtc.org | f2e6fb3 | 2013-05-17 13:44:48 +0000 | [diff] [blame] | 11 | #include "testing/gtest/include/gtest/gtest.h" |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 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" |
andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 15 | |
| 16 | namespace { |
| 17 | |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 18 | // TODO(phoglund): These tests are generally broken on mac. |
| 19 | // http://code.google.com/p/webrtc/issues/detail?id=1268 |
| 20 | class DISABLED_ON_MAC(ViEExtendedIntegrationTest) : public LegacyFixture { |
andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 21 | }; |
| 22 | |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 23 | TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), RunsBaseTestWithoutErrors) { |
andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 24 | tests_->ViEBaseExtendedTest(); |
| 25 | } |
| 26 | |
| 27 | // TODO(phoglund): Crashes on the v4l2loopback camera. |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 28 | TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), |
| 29 | DISABLED_RunsCaptureTestWithoutErrors) { |
andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 30 | tests_->ViECaptureExtendedTest(); |
| 31 | } |
| 32 | |
kjellander@webrtc.org | 936844c | 2013-06-12 13:59:57 +0000 | [diff] [blame] | 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). |
kjellander@webrtc.org | 3b37c8a | 2013-06-12 14:38:01 +0000 | [diff] [blame] | 35 | #if defined(_WIN32) |
kjellander@webrtc.org | 936844c | 2013-06-12 13:59:57 +0000 | [diff] [blame] | 36 | #define MAYBE_RunsCodecTestWithoutErrors DISABLED_RunsCodecTestWithoutErrors |
| 37 | #else |
| 38 | #define MAYBE_RunsCodecTestWithoutErrors RunsCodecTestWithoutErrors |
| 39 | #endif |
kjellander@webrtc.org | 3b37c8a | 2013-06-12 14:38:01 +0000 | [diff] [blame] | 40 | TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), |
| 41 | MAYBE_RunsCodecTestWithoutErrors) { |
andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 42 | tests_->ViECodecExtendedTest(); |
| 43 | } |
| 44 | |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 45 | TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 46 | RunsImageProcessTestWithoutErrors) { |
andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 47 | tests_->ViEImageProcessExtendedTest(); |
| 48 | } |
| 49 | |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 50 | TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 51 | RunsRenderTestWithoutErrors) { |
andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 52 | tests_->ViERenderExtendedTest(); |
| 53 | } |
| 54 | |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 55 | TEST_F(DISABLED_ON_MAC(ViEExtendedIntegrationTest), |
pbos@webrtc.org | 73e1a8b | 2014-04-28 08:49:07 +0000 | [diff] [blame^] | 56 | DISABLED_RunsRtpRtcpTestWithoutErrors) { |
andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 57 | tests_->ViERtpRtcpExtendedTest(); |
| 58 | } |
| 59 | |
phoglund@webrtc.org | b011c6a | 2013-01-09 16:53:42 +0000 | [diff] [blame] | 60 | } // namespace |