Following the previous commit that introduce the settings API for the Bluetooth subsystem, some unit tests needed to be updated to use it. Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
21 lines
796 B
C
21 lines
796 B
C
/*
|
|
* Copyright (c) 2022 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/fff.h>
|
|
#include <zephyr/kernel.h>
|
|
|
|
/* List of fakes used by this unit tester */
|
|
#define SETTINGS_FFF_FAKES_LIST(FAKE) \
|
|
FAKE(bt_settings_store_id) \
|
|
FAKE(bt_settings_delete_id) \
|
|
FAKE(bt_settings_store_irk) \
|
|
FAKE(bt_settings_delete_irk)
|
|
|
|
DECLARE_FAKE_VOID_FUNC(bt_settings_store_id);
|
|
DECLARE_FAKE_VOID_FUNC(bt_settings_delete_id);
|
|
DECLARE_FAKE_VOID_FUNC(bt_settings_store_irk);
|
|
DECLARE_FAKE_VOID_FUNC(bt_settings_delete_irk);
|