Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: webrtc/base/x11windowpicker_unittest.cc

Issue 2511103002: Delete WindowPicker class and subclasses. (Closed)
Patch Set: Drop win32windowpicker_unittest.cc from build. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/x11windowpicker.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2010 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 "webrtc/base/gunit.h"
12 #include "webrtc/base/x11windowpicker.h"
13 #include "webrtc/base/logging.h"
14 #include "webrtc/base/testutils.h"
15 #include "webrtc/base/windowpicker.h"
16
17 #if !defined(WEBRTC_LINUX) || defined(WEBRTC_ANDROID)
18 #error Only for Linux
19 #endif
20
21 namespace rtc {
22
23 TEST(X11WindowPickerTest, TestGetWindowList) {
24 MAYBE_SKIP_SCREENCAST_TEST();
25 X11WindowPicker window_picker;
26 WindowDescriptionList descriptions;
27 window_picker.Init();
28 window_picker.GetWindowList(&descriptions);
29 }
30
31 TEST(X11WindowPickerTest, TestGetDesktopList) {
32 MAYBE_SKIP_SCREENCAST_TEST();
33 X11WindowPicker window_picker;
34 DesktopDescriptionList descriptions;
35 EXPECT_TRUE(window_picker.Init());
36 EXPECT_TRUE(window_picker.GetDesktopList(&descriptions));
37 EXPECT_TRUE(descriptions.size() > 0);
38 }
39
40 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/base/x11windowpicker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698