| 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" | 8 #include "base/memory/scoped_vector.h" |
| 9 #include "base/sequenced_task_runner.h" | 9 #include "base/sequenced_task_runner.h" |
| 10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/test/test_simple_task_runner.h" | 11 #include "base/test/test_simple_task_runner.h" |
| 12 #include "device/bluetooth/bluetooth_device_win.h" | 12 #include "device/bluetooth/bluetooth_device_win.h" |
| 13 #include "device/bluetooth/bluetooth_service_record.h" | 13 #include "device/bluetooth/bluetooth_service_record_win.h" |
| 14 #include "device/bluetooth/bluetooth_socket_thread.h" | 14 #include "device/bluetooth/bluetooth_socket_thread.h" |
| 15 #include "device/bluetooth/bluetooth_task_manager_win.h" | 15 #include "device/bluetooth/bluetooth_task_manager_win.h" |
| 16 #include "device/bluetooth/bluetooth_uuid.h" | 16 #include "device/bluetooth/bluetooth_uuid.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 const char kDeviceName[] = "Device"; | 21 const char kDeviceName[] = "Device"; |
| 22 const char kDeviceAddress[] = "device address"; | 22 const char kDeviceAddress[] = "device address"; |
| 23 | 23 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 EXPECT_EQ(2, uuids.size()); | 93 EXPECT_EQ(2, uuids.size()); |
| 94 EXPECT_EQ(kTestAudioSdpUuid, uuids[0]); | 94 EXPECT_EQ(kTestAudioSdpUuid, uuids[0]); |
| 95 EXPECT_EQ(kTestVideoSdpUuid, uuids[1]); | 95 EXPECT_EQ(kTestVideoSdpUuid, uuids[1]); |
| 96 | 96 |
| 97 uuids = empty_device_->GetUUIDs(); | 97 uuids = empty_device_->GetUUIDs(); |
| 98 EXPECT_EQ(0, uuids.size()); | 98 EXPECT_EQ(0, uuids.size()); |
| 99 } | 99 } |
| 100 | 100 |
| 101 } // namespace device | 101 } // namespace device |
| OLD | NEW |