| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |