| 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" | 5 #include "base/basictypes.h" |
| 6 #include "base/bind.h" | 6 #include "base/bind.h" |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/memory/scoped_vector.h" | |
| 9 #include "base/sequenced_task_runner.h" | 8 #include "base/sequenced_task_runner.h" |
| 10 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/test/test_simple_task_runner.h" | 10 #include "base/test/test_simple_task_runner.h" |
| 12 #include "device/bluetooth/bluetooth_device_win.h" | 11 #include "device/bluetooth/bluetooth_device_win.h" |
| 13 #include "device/bluetooth/bluetooth_service_record_win.h" | 12 #include "device/bluetooth/bluetooth_service_record_win.h" |
| 14 #include "device/bluetooth/bluetooth_socket_thread.h" | 13 #include "device/bluetooth/bluetooth_socket_thread.h" |
| 15 #include "device/bluetooth/bluetooth_task_manager_win.h" | 14 #include "device/bluetooth/bluetooth_task_manager_win.h" |
| 16 #include "device/bluetooth/bluetooth_uuid.h" | 15 #include "device/bluetooth/bluetooth_uuid.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 18 | 17 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 } | 99 } |
| 101 | 100 |
| 102 TEST_F(BluetoothDeviceWinTest, IsEqual) { | 101 TEST_F(BluetoothDeviceWinTest, IsEqual) { |
| 103 EXPECT_TRUE(device_->IsEqual(*device_state_)); | 102 EXPECT_TRUE(device_->IsEqual(*device_state_)); |
| 104 EXPECT_FALSE(device_->IsEqual(*empty_device_state_)); | 103 EXPECT_FALSE(device_->IsEqual(*empty_device_state_)); |
| 105 EXPECT_FALSE(empty_device_->IsEqual(*device_state_)); | 104 EXPECT_FALSE(empty_device_->IsEqual(*device_state_)); |
| 106 EXPECT_TRUE(empty_device_->IsEqual(*empty_device_state_)); | 105 EXPECT_TRUE(empty_device_->IsEqual(*empty_device_state_)); |
| 107 } | 106 } |
| 108 | 107 |
| 109 } // namespace device | 108 } // namespace device |
| OLD | NEW |