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

Side by Side Diff: device/bluetooth/bluetooth_device_win_unittest.cc

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 12 months 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 | « device/bluetooth/bluetooth_device_win.cc ('k') | device/bluetooth/bluetooth_discovery_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "base/basictypes.h"
6 #include "base/bind.h" 5 #include "base/bind.h"
7 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
8 #include "base/sequenced_task_runner.h" 7 #include "base/sequenced_task_runner.h"
9 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
10 #include "base/test/test_simple_task_runner.h" 9 #include "base/test/test_simple_task_runner.h"
11 #include "device/bluetooth/bluetooth_device_win.h" 10 #include "device/bluetooth/bluetooth_device_win.h"
12 #include "device/bluetooth/bluetooth_service_record_win.h" 11 #include "device/bluetooth/bluetooth_service_record_win.h"
13 #include "device/bluetooth/bluetooth_socket_thread.h" 12 #include "device/bluetooth/bluetooth_socket_thread.h"
14 #include "device/bluetooth/bluetooth_task_manager_win.h" 13 #include "device/bluetooth/bluetooth_task_manager_win.h"
15 #include "device/bluetooth/bluetooth_uuid.h" 14 #include "device/bluetooth/bluetooth_uuid.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 94 }
96 95
97 TEST_F(BluetoothDeviceWinTest, IsEqual) { 96 TEST_F(BluetoothDeviceWinTest, IsEqual) {
98 EXPECT_TRUE(device_->IsEqual(*device_state_)); 97 EXPECT_TRUE(device_->IsEqual(*device_state_));
99 EXPECT_FALSE(device_->IsEqual(*empty_device_state_)); 98 EXPECT_FALSE(device_->IsEqual(*empty_device_state_));
100 EXPECT_FALSE(empty_device_->IsEqual(*device_state_)); 99 EXPECT_FALSE(empty_device_->IsEqual(*device_state_));
101 EXPECT_TRUE(empty_device_->IsEqual(*empty_device_state_)); 100 EXPECT_TRUE(empty_device_->IsEqual(*empty_device_state_));
102 } 101 }
103 102
104 } // namespace device 103 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_win.cc ('k') | device/bluetooth/bluetooth_discovery_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698