15 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_TEST_AVSCOMMON_SDKINTERFACES_BLUETOOTH_MOCKBLUETOOTHHOSTCONTROLLER_H_ 16 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_TEST_AVSCOMMON_SDKINTERFACES_BLUETOOTH_MOCKBLUETOOTHHOSTCONTROLLER_H_ 24 namespace sdkInterfaces {
41 std::future<bool>
stopScan()
override;
51 std::promise<bool> scanPromise;
52 scanPromise.set_value(
true);
54 return scanPromise.get_future();
58 std::promise<bool> scanPromise;
59 scanPromise.set_value(
true);
61 return scanPromise.get_future();
65 std::promise<bool> discoverPromise;
66 discoverPromise.set_value(
true);
68 return discoverPromise.get_future();
72 std::promise<bool> discoverPromise;
73 discoverPromise.set_value(
true);
75 return discoverPromise.get_future();
100 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_TEST_AVSCOMMON_SDKINTERFACES_BLUETOOTH_MOCKBLUETOOTHHOSTCONTROLLER_H_
static const std::string MOCK_MAC_ADDRESS
Definition: MockBluetoothHostController.h:28
Definition: BluetoothHostControllerInterface.h:31
Definition: AmdMetricWrapperTest.cpp:24
::std::string string
Definition: gtest-port.h:1097
std::future< bool > exitDiscoverableMode() override
Definition: MockBluetoothHostController.h:71
bool isScanning() const override
Definition: MockBluetoothHostController.h:78
std::future< bool > startScan() override
Definition: MockBluetoothHostController.h:50
bool m_isDiscoverable
Definition: MockBluetoothHostController.h:46
bool isDiscoverable() const override
Definition: MockBluetoothHostController.h:82
static const std::string MOCK_FRIENDLY_NAME
Definition: MockBluetoothHostController.h:29
Definition: MockBluetoothHostController.h:34
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::future< bool > enterDiscoverableMode() override
Definition: MockBluetoothHostController.h:64
bool m_isScanning
Definition: MockBluetoothHostController.h:47
std::string getFriendlyName() const override
Definition: MockBluetoothHostController.h:90
std::string getMac() const override
Definition: MockBluetoothHostController.h:86
std::future< bool > stopScan() override
Definition: MockBluetoothHostController.h:57