zephyr/tests/bluetooth/host/keys/mocks/id_expects.h
Ahmed Moheb eceb8341e0 tests: bluetooth: host: Add UT for bt_keys_clear()
Unit test project for bt_keys_clear().
This part of subsys/bluetooth/host/buf.c unit testing

Signed-off-by: Ahmed Moheb <ahmed.moheb@nordicsemi.no>
2022-12-27 15:33:40 +01:00

24 lines
512 B
C

/*
* Copyright (c) 2022 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/kernel.h>
/*
* Validate expected behaviour when bt_id_del() is called
*
* Expected behaviour:
* - bt_id_del() to be called once with correct parameters
*/
void expect_single_call_bt_id_del(struct bt_keys *keys);
/*
* Validate expected behaviour when bt_id_del() isn't called
*
* Expected behaviour:
* - bt_id_del() isn't called at all
*/
void expect_not_called_bt_id_del(void);