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

Unified Diff: content/browser/bluetooth/bluetooth_blacklist_unittest.cc

Issue 1866853002: Add the Nordic and TI firmware update services to the Bluetooth blacklist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Update and move the updated date. Created 4 years, 8 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
« no previous file with comments | « content/browser/bluetooth/bluetooth_blacklist.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/bluetooth/bluetooth_blacklist_unittest.cc
diff --git a/content/browser/bluetooth/bluetooth_blacklist_unittest.cc b/content/browser/bluetooth/bluetooth_blacklist_unittest.cc
index 7e0761e2633992525508bd75f8c3c73286150e22..b0ed9c2c6a183d3adbddbcd62e1ed33800e76ae8 100644
--- a/content/browser/bluetooth/bluetooth_blacklist_unittest.cc
+++ b/content/browser/bluetooth/bluetooth_blacklist_unittest.cc
@@ -351,13 +351,17 @@ TEST_F(BluetoothBlacklistTest, RemoveExcludedUuids_Matching) {
TEST_F(BluetoothBlacklistTest, VerifyDefaultBlacklistSize) {
// When adding items to the blacklist the new values should be added in the
// tests below for each exclusion type.
- EXPECT_EQ(9u, list_.size());
+ EXPECT_EQ(11u, list_.size());
}
TEST_F(BluetoothBlacklistTest, VerifyDefaultExcludeList) {
EXPECT_FALSE(list_.IsExcluded(BluetoothUUID("1800")));
EXPECT_FALSE(list_.IsExcluded(BluetoothUUID("1801")));
EXPECT_TRUE(list_.IsExcluded(BluetoothUUID("1812")));
+ EXPECT_TRUE(
+ list_.IsExcluded(BluetoothUUID("00001530-1212-efde-1523-785feabcd123")));
+ EXPECT_TRUE(
+ list_.IsExcluded(BluetoothUUID("f000ffc0-0451-4000-b000-000000000000")));
EXPECT_TRUE(list_.IsExcluded(BluetoothUUID("2a03")));
EXPECT_TRUE(list_.IsExcluded(BluetoothUUID("2a25")));
EXPECT_TRUE(
« no previous file with comments | « content/browser/bluetooth/bluetooth_blacklist.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698