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

Unified Diff: device/bluetooth/bluetooth_device_win_unittest.cc

Issue 2244693002: bluetooth: Refactor how we update based on Advertising Data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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_device_win_unittest.cc
diff --git a/device/bluetooth/bluetooth_device_win_unittest.cc b/device/bluetooth/bluetooth_device_win_unittest.cc
index 5e6bd24ed549c66e9eab1bcf24a55290ebde799d..75bfaebc5722fc69aa8577e9faceae6e5dc82e33 100644
--- a/device/bluetooth/bluetooth_device_win_unittest.cc
+++ b/device/bluetooth/bluetooth_device_win_unittest.cc
@@ -85,11 +85,11 @@ class BluetoothDeviceWinTest : public testing::Test {
};
TEST_F(BluetoothDeviceWinTest, GetUUIDs) {
- BluetoothDevice::UUIDList uuids = device_->GetUUIDs();
+ BluetoothDevice::UUIDSet uuids = device_->GetUUIDs();
EXPECT_EQ(2u, uuids.size());
- EXPECT_EQ(kTestAudioSdpUuid, uuids[0]);
- EXPECT_EQ(kTestVideoSdpUuid, uuids[1]);
+ EXPECT_TRUE(base::ContainsKey(uuids, kTestAudioSdpUuid));
+ EXPECT_TRUE(base::ContainsKey(uuids, kTestVideoSdpUuid));
uuids = empty_device_->GetUUIDs();
EXPECT_EQ(0u, uuids.size());

Powered by Google App Engine
This is Rietveld 408576698