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 net_buf_simple_add() is called 11 * 12 * Expected behaviour: 13 * - net_buf_simple_add() to be called once with correct parameters 14 */ 15 void expect_single_call_net_buf_simple_add(struct net_buf_simple *buf, size_t len); 16 17 /* 18 * Validate expected behaviour when net_buf_simple_add() isn't called 19 * 20 * Expected behaviour: 21 * - net_buf_simple_add() isn't called at all 22 */ 23 void expect_not_called_net_buf_simple_add(void); 24