zephyr/tests/bluetooth/host/keys/mocks/settings_store_expects.h

32 lines
825 B
C

/*
* Copyright (c) 2022 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/kernel.h>
/*
* Validate expected behaviour when bt_settings_delete_keys() is called
*
* Expected behaviour:
* - bt_settings_delete_keys() to be called once with correct parameters
*/
void expect_single_call_bt_settings_delete_keys(void);
/*
* Validate expected behaviour when bt_settings_store_keys() is called
*
* Expected behaviour:
* - bt_settings_store_keys() to be called once with correct parameters
*/
void expect_single_call_bt_settings_store_keys(const void *value);
/*
* Validate expected behaviour when bt_settings_store_keys() isn't called
*
* Expected behaviour:
* - bt_settings_store_keys() isn't called at all
*/
void expect_not_called_bt_settings_store_keys(void);