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>
24 lines
595 B
C
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);
|