Index: device/bluetooth/test/bluetooth_test_mac.h |
diff --git a/device/bluetooth/test/bluetooth_test_mac.h b/device/bluetooth/test/bluetooth_test_mac.h |
index 337085600e5af90567bee0c1fcafb445e2419a9d..b67f9a5a0dd9c5630f8b8860c06e297880e86a48 100644 |
--- a/device/bluetooth/test/bluetooth_test_mac.h |
+++ b/device/bluetooth/test/bluetooth_test_mac.h |
@@ -39,6 +39,7 @@ class BluetoothTestMac : public BluetoothTestBase { |
void InitWithDefaultAdapter() override; |
void InitWithoutDefaultAdapter() override; |
void InitWithFakeAdapter() override; |
+ void ResetEventCounts() override; |
BluetoothDevice* SimulateLowEnergyDevice(int device_ordinal) override; |
void SimulateConnectedLowEnergyDevice( |
ConnectedDeviceType device_ordinal) override; |
@@ -84,6 +85,8 @@ class BluetoothTestMac : public BluetoothTestBase { |
void SimulateGattCharacteristicRemoved( |
BluetoothRemoteGattService* service, |
BluetoothRemoteGattCharacteristic* characteristic) override; |
+ void ExpectedChangeNotifyValueAttempts(int attempts) override; |
+ void ExpectedNotifyValue(NotifyValueState expected_value_state) override; |
// Callback for the bluetooth central manager mock. |
void OnFakeBluetoothDeviceConnectGattCalled(); |
@@ -121,6 +124,7 @@ class BluetoothTestMac : public BluetoothTestBase { |
// Value set by -[CBPeripheral setNotifyValue:forCharacteristic:] call. |
bool last_notify_value = false; |
+ int gatt_notify_characteristic_attempts_ = 0; |
}; |
// Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName). |