1 /* 2 * Copyright (c) 2020 Demant 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <stdio.h> 8 #include <stdlib.h> 9 #include <string.h> 10 11 #include <zephyr/types.h> 12 #include <zephyr/ztest.h> 13 #include <zephyr/ztest_error_hook.h> 14 #include <zephyr/ztest_mock.h> 15 16 #include <zephyr/sys/byteorder.h> 17 18 #include <zephyr/fff.h> 19 20 DEFINE_FFF_GLOBALS; 21 22 /* Include the DUT */ 23 #include "ll_sw/isoal.c" 24 25 #include "isoal_test_common.h" 26 #include "isoal_test_debug.h" 27 28 /* Include Test Subsets */ 29 #include "sub_sets/isoal_test_rx.c" 30 #include "sub_sets/isoal_test_tx.c" 31 32 33 ZTEST_SUITE(test_rx_basics, NULL, NULL, isoal_test_rx_common_before, NULL, NULL); 34 ZTEST_SUITE(test_rx_unframed, NULL, NULL, isoal_test_rx_common_before, NULL, NULL); 35 ZTEST_SUITE(test_rx_framed, NULL, NULL, isoal_test_rx_common_before, NULL, NULL); 36 37 ZTEST_SUITE(test_tx_basics, NULL, NULL, isoal_test_tx_common_before, NULL, NULL); 38 ZTEST_SUITE(test_tx_unframed, NULL, NULL, isoal_test_tx_common_before, NULL, NULL); 39 ZTEST_SUITE(test_tx_framed, NULL, NULL, isoal_test_tx_common_before, NULL, NULL); 40 41 ZTEST_SUITE(test_tx_framed_ebq, NULL, NULL, isoal_test_tx_common_before, NULL, NULL); 42