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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc

Issue 2638653002: Bluetooth: macOS: DidModifyServices can happens while scanning (Closed)
Patch Set: Merge Created 3 years, 7 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_remote_gatt_descriptor_unittest.cc
diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc b/device/bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc
index a43c0e7f5dcc6b1b1baf2e208398029e4b93e2ca..6a500a83434c33296487edb39090b530059b73d8 100644
--- a/device/bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc
+++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc
@@ -780,7 +780,7 @@ TEST_F(BluetoothRemoteGattDescriptorTest, ReadRemoteDescriptor_NSString) {
EXPECT_EQ(1, gatt_read_descriptor_attempts_);
std::string test_string = "Hello";
- SimulateGattDescriptorReadNSString(descriptor1_, test_string);
+ SimulateGattDescriptorReadNSStringMac(descriptor1_, test_string);
base::RunLoop().RunUntilIdle();
std::vector<uint8_t> test_vector(test_string.begin(), test_string.end());
@@ -802,7 +802,7 @@ TEST_F(BluetoothRemoteGattDescriptorTest, ReadRemoteDescriptor_NSNumber) {
EXPECT_EQ(1, gatt_read_descriptor_attempts_);
const short test_number = 0x1234;
- SimulateGattDescriptorReadNSNumber(descriptor1_, test_number);
+ SimulateGattDescriptorReadNSNumberMac(descriptor1_, test_number);
base::RunLoop().RunUntilIdle();
uint8_t values[] = {0x34, 0x12};

Powered by Google App Engine
This is Rietveld 408576698