1 /* 2 * Copyright (c) 2022 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include <zephyr/fff.h> 9 #include <zephyr/bluetooth/addr.h> 10 11 /* List of fakes used by this unit tester */ 12 #define SETTINGS_FFF_FAKES_LIST(FAKE) \ 13 FAKE(bt_settings_encode_key) \ 14 FAKE(bt_settings_decode_key) \ 15 FAKE(settings_name_next) \ 16 17 DECLARE_FAKE_VOID_FUNC(bt_settings_encode_key, char *, size_t, const char *, 18 const bt_addr_le_t *, const char *); 19 DECLARE_FAKE_VALUE_FUNC(int, bt_settings_decode_key, const char *, bt_addr_le_t *); 20 DECLARE_FAKE_VALUE_FUNC(int, settings_name_next, const char *, const char **); 21