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

Unified Diff: device/bluetooth/bluetooth_gatt_characteristic_unittest.cc

Issue 1572873002: bluetooth: android: Code cleanup fixing comments, typos, simplified names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comma Created 4 years, 11 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_gatt_characteristic_unittest.cc
diff --git a/device/bluetooth/bluetooth_gatt_characteristic_unittest.cc b/device/bluetooth/bluetooth_gatt_characteristic_unittest.cc
index 8eeccb6faa75d6551225ad9997a06cff2bc8b053..f2ddab72aa9b801eab5186a7b5122ad52112fec3 100644
--- a/device/bluetooth/bluetooth_gatt_characteristic_unittest.cc
+++ b/device/bluetooth/bluetooth_gatt_characteristic_unittest.cc
@@ -23,7 +23,7 @@ namespace device {
#if defined(OS_ANDROID) || defined(OS_MACOSX)
class BluetoothGattCharacteristicTest : public BluetoothTest {
public:
- // Create adapter_, device_, service, and provides.
+ // Creates adapter_, device_, service_, characteristic1_, & characteristic2_.
void FakeCharacteristicBoilerplate() {
InitWithFakeAdapter();
StartLowEnergyDiscoverySession();
@@ -39,9 +39,9 @@ class BluetoothGattCharacteristicTest : public BluetoothTest {
service_ = device_->GetGattServices()[0];
SimulateGattCharacteristic(service_, uuid, /* properties */ 0);
SimulateGattCharacteristic(service_, uuid, /* properties */ 0);
+ ASSERT_EQ(2u, service_->GetCharacteristics().size());
characteristic1_ = service_->GetCharacteristics()[0];
characteristic2_ = service_->GetCharacteristics()[1];
- ASSERT_EQ(2u, service_->GetCharacteristics().size());
ResetEventCounts();
}
« no previous file with comments | « device/bluetooth/bluetooth_device_android.cc ('k') | device/bluetooth/bluetooth_remote_gatt_characteristic_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698