OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/message_loop.h" | 5 #include "base/message_loop/message_loop.h" |
6 #include "base/strings/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
7 #include "chromeos/dbus/fake_bluetooth_adapter_client.h" | 7 #include "chromeos/dbus/fake_bluetooth_adapter_client.h" |
8 #include "chromeos/dbus/fake_bluetooth_device_client.h" | 8 #include "chromeos/dbus/fake_bluetooth_device_client.h" |
9 #include "chromeos/dbus/mock_dbus_thread_manager_without_gmock.h" | 9 #include "chromeos/dbus/mock_dbus_thread_manager_without_gmock.h" |
10 #include "dbus/object_path.h" | 10 #include "dbus/object_path.h" |
11 #include "device/bluetooth/bluetooth_adapter.h" | 11 #include "device/bluetooth/bluetooth_adapter.h" |
12 #include "device/bluetooth/bluetooth_adapter_chromeos.h" | 12 #include "device/bluetooth/bluetooth_adapter_chromeos.h" |
13 #include "device/bluetooth/bluetooth_adapter_factory.h" | 13 #include "device/bluetooth/bluetooth_adapter_factory.h" |
14 #include "device/bluetooth/bluetooth_device.h" | 14 #include "device/bluetooth/bluetooth_device.h" |
15 #include "device/bluetooth/bluetooth_device_chromeos.h" | 15 #include "device/bluetooth/bluetooth_device_chromeos.h" |
(...skipping 2002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2018 EXPECT_FALSE(device->IsConnected()); | 2018 EXPECT_FALSE(device->IsConnected()); |
2019 EXPECT_FALSE(device->IsConnecting()); | 2019 EXPECT_FALSE(device->IsConnecting()); |
2020 EXPECT_FALSE(device->IsPaired()); | 2020 EXPECT_FALSE(device->IsPaired()); |
2021 | 2021 |
2022 // Pairing dialog should be dismissed | 2022 // Pairing dialog should be dismissed |
2023 EXPECT_EQ(1, pairing_delegate.call_count_); | 2023 EXPECT_EQ(1, pairing_delegate.call_count_); |
2024 EXPECT_EQ(1, pairing_delegate.dismiss_count_); | 2024 EXPECT_EQ(1, pairing_delegate.dismiss_count_); |
2025 } | 2025 } |
2026 | 2026 |
2027 } // namespace chromeos | 2027 } // namespace chromeos |
OLD | NEW |