Chromium Code Reviews| Index: device/bluetooth/bluetooth_gatt_service_unittest.cc |
| diff --git a/device/bluetooth/bluetooth_gatt_service_unittest.cc b/device/bluetooth/bluetooth_gatt_service_unittest.cc |
| index e153cc5fce54a672a62d1fd83204b051e945b3b8..2d2faa75861085dba119eb71b0006d99cfc5ef5a 100644 |
| --- a/device/bluetooth/bluetooth_gatt_service_unittest.cc |
| +++ b/device/bluetooth/bluetooth_gatt_service_unittest.cc |
| @@ -137,6 +137,10 @@ TEST_F(BluetoothGattServiceTest, GetCharacteristics_and_GetCharacteristic) { |
| EXPECT_EQ(char_uuid2, service->GetCharacteristic(char_id2)->GetUUID()); |
| EXPECT_EQ(char_uuid3, service->GetCharacteristic(char_id3)->GetUUID()); |
| EXPECT_EQ(char_uuid4, service->GetCharacteristic(char_id4)->GetUUID()); |
| + |
| + // Multiple GetCharacteristic calls for an ID return the same object: |
| + EXPECT_EQ(service->GetCharacteristic(char_id1)->GetUUID(), |
|
Jeffrey Yasskin
2016/01/12 23:25:59
Remove "->GetUUID()".
scheib
2016/01/12 23:54:46
Done.
|
| + service->GetCharacteristic(char_id1)->GetUUID()); |
| } |
| #endif // defined(OS_ANDROID) |