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

Unified Diff: device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc

Issue 13416005: Bluetooth: clean up BluetoothDevice (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More win visible fixes Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc
diff --git a/device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc b/device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc
index a4e01de549d7d7d8b2e5f534b7b25a10fdd9427d..723941aae777c3880e7d9ffcbb239ee7d4e6bfa9 100644
--- a/device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc
@@ -155,7 +155,7 @@ TEST_F(BluetoothAdapterDevicesChromeOSTest, DeviceRemovedAfterFound) {
static_cast<BluetoothAdapterClient::Observer*>(adapter_chromeos)
->DeviceCreated(adapter_path_, device_path);
- // Finally remove the adapter again;
+ // Finally remove the device again;
// BluetoothAdapterClient::Observer::DeviceRemoved should be not called,
// instead BluetoothAdapterClient::Observer::DeviceChanged will be called.
EXPECT_CALL(adapter_observer_, DeviceRemoved(adapter_.get(), device))
@@ -167,7 +167,6 @@ TEST_F(BluetoothAdapterDevicesChromeOSTest, DeviceRemovedAfterFound) {
->DeviceRemoved(adapter_path_, device_path);
// Verify that the device is still visible, just no longer paired.
- EXPECT_TRUE(device->IsVisible());
EXPECT_FALSE(device->IsPaired());
}
« no previous file with comments | « device/bluetooth/bluetooth_adapter_chromeos_unittest.cc ('k') | device/bluetooth/bluetooth_adapter_experimental_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698