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

Unified Diff: device/bluetooth/bluetooth_gatt_chromeos_unittest.cc

Issue 258173003: Remove static initializer in device/bluetooth/bluetooth_gatt_descriptor.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update unit tests Created 6 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 | « no previous file | device/bluetooth/bluetooth_gatt_descriptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_gatt_chromeos_unittest.cc
diff --git a/device/bluetooth/bluetooth_gatt_chromeos_unittest.cc b/device/bluetooth/bluetooth_gatt_chromeos_unittest.cc
index 302223740b277fb2131725f8cdf7d7244f162957..032ed8c8a11318d5ed25204c73ac7e7d890cad14 100644
--- a/device/bluetooth/bluetooth_gatt_chromeos_unittest.cc
+++ b/device/bluetooth/bluetooth_gatt_chromeos_unittest.cc
@@ -528,7 +528,7 @@ TEST_F(BluetoothGattChromeOSTest, GattDescriptorAddedAndRemoved) {
BluetoothGattDescriptor* descriptor = characteristic->GetDescriptors()[0];
EXPECT_FALSE(descriptor->IsLocal());
- EXPECT_EQ(BluetoothGattDescriptor::kClientCharacteristicConfigurationUuid,
+ EXPECT_EQ(BluetoothGattDescriptor::ClientCharacteristicConfigurationUuid(),
descriptor->GetUUID());
// Hide the descriptor.
@@ -547,7 +547,7 @@ TEST_F(BluetoothGattChromeOSTest, GattDescriptorAddedAndRemoved) {
descriptor = characteristic->GetDescriptors()[0];
EXPECT_FALSE(descriptor->IsLocal());
- EXPECT_EQ(BluetoothGattDescriptor::kClientCharacteristicConfigurationUuid,
+ EXPECT_EQ(BluetoothGattDescriptor::ClientCharacteristicConfigurationUuid(),
descriptor->GetUUID());
}
@@ -622,7 +622,7 @@ TEST_F(BluetoothGattChromeOSTest, AdapterAddedAfterGattService) {
BluetoothGattDescriptor* descriptor = characteristic->GetDescriptors()[0];
ASSERT_TRUE(descriptor);
- EXPECT_EQ(BluetoothGattDescriptor::kClientCharacteristicConfigurationUuid,
+ EXPECT_EQ(BluetoothGattDescriptor::ClientCharacteristicConfigurationUuid(),
descriptor->GetUUID());
EXPECT_FALSE(descriptor->IsLocal());
}
@@ -813,7 +813,7 @@ TEST_F(BluetoothGattChromeOSTest, GattDescriptorValue) {
BluetoothGattDescriptor* descriptor = characteristic->GetDescriptors()[0];
EXPECT_FALSE(descriptor->IsLocal());
- EXPECT_EQ(BluetoothGattDescriptor::kClientCharacteristicConfigurationUuid,
+ EXPECT_EQ(BluetoothGattDescriptor::ClientCharacteristicConfigurationUuid(),
descriptor->GetUUID());
std::vector<uint8> desc_value;
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_gatt_descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698