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

Side by Side Diff: remoting/host/linux/x_server_clipboard_unittest.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string> 5 #include <string>
6 6
7 #include "base/basictypes.h"
8 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
9 #include "remoting/base/constants.h" 9 #include "remoting/base/constants.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 // X11 headers must be #included after gtest.h, since the X11 headers define 12 // X11 headers must be #included after gtest.h, since the X11 headers define
13 // some macros that cause errors in gtest-type-util.h. 13 // some macros that cause errors in gtest-type-util.h.
14 #include <X11/Xlib.h> 14 #include <X11/Xlib.h>
15 #include "remoting/host/linux/x_server_clipboard.h" 15 #include "remoting/host/linux/x_server_clipboard.h"
16 16
17 namespace remoting { 17 namespace remoting {
18 18
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 client2_.SetClipboardData("Text3"); 112 client2_.SetClipboardData("Text3");
113 PumpXEvents(); 113 PumpXEvents();
114 EXPECT_EQ("Text3", client1_.clipboard_data()); 114 EXPECT_EQ("Text3", client1_.clipboard_data());
115 115
116 client2_.SetClipboardData("Text4"); 116 client2_.SetClipboardData("Text4");
117 PumpXEvents(); 117 PumpXEvents();
118 EXPECT_EQ("Text4", client1_.clipboard_data()); 118 EXPECT_EQ("Text4", client1_.clipboard_data());
119 } 119 }
120 120
121 } // namespace remoting 121 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/linux/x_server_clipboard.cc ('k') | remoting/host/local_input_monitor_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698