1 /* 2 * Copyright (c) 2022 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 9 /* 10 * Validate expected behaviour when bt_le_adv_lookup_legacy() is called 11 * 12 * Expected behaviour: 13 * - bt_le_adv_lookup_legacy() to be called once with correct parameters 14 */ 15 void expect_single_call_bt_le_adv_lookup_legacy(void); 16 17 /* 18 * Validate expected behaviour when bt_le_adv_lookup_legacy() isn't called 19 * 20 * Expected behaviour: 21 * - bt_le_adv_lookup_legacy() isn't called at all 22 */ 23 void expect_not_called_bt_le_adv_lookup_legacy(void); 24 25 /* 26 * Validate expected behaviour when bt_le_ext_adv_foreach() is called 27 * 28 * Expected behaviour: 29 * - bt_le_ext_adv_foreach() to be called once with correct parameters 30 */ 31 void expect_single_call_bt_le_ext_adv_foreach(void); 32 33 /* 34 * Validate expected behaviour when bt_le_ext_adv_foreach() isn't called 35 * 36 * Expected behaviour: 37 * - bt_le_ext_adv_foreach() isn't called at all 38 */ 39 void expect_not_called_bt_le_ext_adv_foreach(void); 40