zephyr/tests/bluetooth/host/id/mocks/addr_expects.h
Ahmed Moheb 7df78a3785 tests: bluetooth: host: Add UT for bt_id_create()
Unit test project for bt_id_create().
This part of subsys/bluetooth/host/id.c unit testing.

Signed-off-by: Ahmed Moheb <ahmed.moheb@nordicsemi.no>
2023-01-17 13:13:28 +01:00

24 lines
595 B
C

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