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

Unified Diff: chrome/test/data/extensions/api_test/bluetooth/device_info/runtest.js

Issue 2244693002: bluetooth: Refactor how we update based on Advertising Data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix arc 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: chrome/test/data/extensions/api_test/bluetooth/device_info/runtest.js
diff --git a/chrome/test/data/extensions/api_test/bluetooth/device_info/runtest.js b/chrome/test/data/extensions/api_test/bluetooth/device_info/runtest.js
index be22e1628b7b03f23549c24db5a4e186d5501b19..c32becf024f0a75c2c938eb4fa577adc12e32467 100644
--- a/chrome/test/data/extensions/api_test/bluetooth/device_info/runtest.js
+++ b/chrome/test/data/extensions/api_test/bluetooth/device_info/runtest.js
@@ -14,10 +14,10 @@ function testDeviceInfo() {
chrome.test.assertEq('computer', devices[0].type);
chrome.test.assertEq(2, devices[0].uuids.length);
- chrome.test.assertEq('00001105-0000-1000-8000-00805f9b34fb',
- devices[0].uuids[0]);
- chrome.test.assertEq('00001106-0000-1000-8000-00805f9b34fb',
- devices[0].uuids[1]);
+
+ let uuids = new Set(devices[0].uuids);
Jeffrey Yasskin 2016/08/18 16:04:32 We should alert the extensions/apps team that the
ortuno 2016/08/19 20:50:32 I'll add rkc as a reviewer of extensions code.
+ chrome.test.assertTrue(uuids.has('00001105-0000-1000-8000-00805f9b34fb'));
+ chrome.test.assertTrue(uuids.has('00001106-0000-1000-8000-00805f9b34fb'));
chrome.test.assertEq('d2', devices[1].name);
chrome.test.assertEq(0, devices[1].deviceClass);
« no previous file with comments | « no previous file | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698