zephyr/tests/bluetooth/host/id/mocks/scan_expects.h
Ahmed Moheb af92e7f9d1 tests: bluetooth: host: Add UT for bt_id_add()
Unit test project for bt_id_add().
This part of subsys/bluetooth/host/id.c unit testing.

Signed-off-by: Ahmed Moheb <ahmed.moheb@nordicsemi.no>

# Conflicts:
#	tests/bluetooth/host/id/CMakeLists.txt
2023-01-17 13:13:28 +01:00

24 lines
601 B
C

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