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

Unified Diff: device/bluetooth/bluetooth_adapter_unittest.cc

Issue 2230083003: device: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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_unittest.cc
diff --git a/device/bluetooth/bluetooth_adapter_unittest.cc b/device/bluetooth/bluetooth_adapter_unittest.cc
index 42e141df6f58256e54d909d4794ebe6f16e190c1..ffd8467e19a0ed2a9a6ebe29ce92cbd8d482229b 100644
--- a/device/bluetooth/bluetooth_adapter_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_unittest.cc
@@ -634,10 +634,10 @@ TEST_F(BluetoothTest, DiscoverLowEnergyDeviceWithUpdatedUUIDs) {
BluetoothDevice* device = SimulateLowEnergyDevice(1);
// Check the initial UUIDs:
- EXPECT_TRUE(
- ContainsValue(device->GetUUIDs(), BluetoothUUID(kTestUUIDGenericAccess)));
- EXPECT_FALSE(ContainsValue(device->GetUUIDs(),
- BluetoothUUID(kTestUUIDImmediateAlert)));
+ EXPECT_TRUE(base::ContainsValue(device->GetUUIDs(),
+ BluetoothUUID(kTestUUIDGenericAccess)));
+ EXPECT_FALSE(base::ContainsValue(device->GetUUIDs(),
+ BluetoothUUID(kTestUUIDImmediateAlert)));
// Discover same device again with updated UUIDs:
observer.Reset();
@@ -648,10 +648,10 @@ TEST_F(BluetoothTest, DiscoverLowEnergyDeviceWithUpdatedUUIDs) {
EXPECT_EQ(device, observer.last_device());
// Expect only new UUIDs:
- EXPECT_FALSE(
- ContainsValue(device->GetUUIDs(), BluetoothUUID(kTestUUIDGenericAccess)));
- EXPECT_TRUE(ContainsValue(device->GetUUIDs(),
- BluetoothUUID(kTestUUIDImmediateAlert)));
+ EXPECT_FALSE(base::ContainsValue(device->GetUUIDs(),
+ BluetoothUUID(kTestUUIDGenericAccess)));
+ EXPECT_TRUE(base::ContainsValue(device->GetUUIDs(),
+ BluetoothUUID(kTestUUIDImmediateAlert)));
// Discover same device again with empty UUIDs:
observer.Reset();
« no previous file with comments | « device/bluetooth/bluetooth_adapter_factory_wrapper.cc ('k') | device/bluetooth/bluetooth_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698