From 6ec25073e3b3c68731c24bf60ab65c02d263cdee Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Wed, 22 May 2013 18:47:07 +0000 Subject: [PATCH] Disable WindowCapturer tests on OSX and Linux R=alexeypa@chromium.org Review URL: https://webrtc-codereview.appspot.com/1533004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4085 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/desktop_capture/window_capturer_unittest.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webrtc/modules/desktop_capture/window_capturer_unittest.cc b/webrtc/modules/desktop_capture/window_capturer_unittest.cc index 6f75f21341..c3b15fedb8 100644 --- a/webrtc/modules/desktop_capture/window_capturer_unittest.cc +++ b/webrtc/modules/desktop_capture/window_capturer_unittest.cc @@ -42,6 +42,8 @@ class WindowCapturerTest : public testing::Test, scoped_ptr frame_; }; +#if defined(WEBRTC_WIN) + // Verify that we can enumerate windows. TEST_F(WindowCapturerTest, Enumerate) { WindowCapturer::WindowList windows; @@ -93,4 +95,6 @@ TEST_F(WindowCapturerTest, Capture) { } } +#endif // defined(WEBRTC_WIN) + } // namespace webrtc