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

Unified Diff: device/bluetooth/test/bluetooth_test.h

Issue 2798193002: Use test UUIDs for device bluetooth unit tests (Closed)
Patch Set: use test UUIDs for device bluetooth unit tests Created 3 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
Index: device/bluetooth/test/bluetooth_test.h
diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h
index b6610ea903143e8b198ed24067cdd7c6446f6c0c..8b99e131d6470affe11045ab376e7e4b9b0ed5cf 100644
--- a/device/bluetooth/test/bluetooth_test.h
+++ b/device/bluetooth/test/bluetooth_test.h
@@ -87,11 +87,24 @@ class BluetoothTestBase : public testing::Test {
LOWER = -20,
};
+ // Services
static const std::string kTestUUIDGenericAccess;
static const std::string kTestUUIDGenericAttribute;
static const std::string kTestUUIDImmediateAlert;
static const std::string kTestUUIDLinkLoss;
static const std::string kTestUUIDHeartRate;
+ // Characteristics
+ // The following three characteristics are for kTestUUIDGenericAccess.
+ static const std::string kTestUUIDDeviceName;
+ static const std::string kTestUUIDAppearance;
+ static const std::string kTestUUIDReconnectionAddress;
+ // This characteristic is for kTestUUIDHeartRate.
+ static const std::string kTestUUIDHeartRateMeasurement;
+ // Descriptors
+ static const std::string kTestUUIDCharacteristicUserDescription;
+ static const std::string kTestUUIDClientCharacteristicConfiguration;
+ static const std::string kTestUUIDServerCharacteristicConfiguration;
+ static const std::string kTestUUIDCharacteristicPresentationFormat;
BluetoothTestBase();
~BluetoothTestBase() override;

Powered by Google App Engine
This is Rietveld 408576698