| Index: device/bluetooth/test/mock_bluetooth_central_manager_mac.mm
|
| diff --git a/device/bluetooth/test/mock_bluetooth_central_manager_mac.mm b/device/bluetooth/test/mock_bluetooth_central_manager_mac.mm
|
| index fbb0dff41e75d315a5044a6e61dde508fe7382fd..9ddb8eb8232e903a2ed29dfd4f3bb75e30d72a1b 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_central_manager_mac.mm
|
| +++ b/device/bluetooth/test/mock_bluetooth_central_manager_mac.mm
|
| @@ -33,6 +33,7 @@
|
|
|
| - (void)scanForPeripheralsWithServices:(NSArray*)serviceUUIDs
|
| options:(NSDictionary*)options {
|
| + scan_uuids_.reset([serviceUUIDs retain]);
|
| _scanForPeripheralsCallCount++;
|
| }
|
|
|
| @@ -53,4 +54,13 @@
|
| }
|
| }
|
|
|
| +- (NSArray*)scan_uuids {
|
| + return scan_uuids_.get();
|
| +}
|
| +
|
| +- (void)resetEventCounts {
|
| + _scanForPeripheralsCallCount = 0;
|
| + _stopScanCallCount = 0;
|
| +}
|
| +
|
| @end
|
|
|