1 /* 2 * Copyright (c) 2022 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/fff.h> 8 #include <zephyr/kernel.h> 9 10 /* List of fakes used by this unit tester */ 11 #define ASSERT_FFF_FAKES_LIST(FAKE) \ 12 FAKE(mock_check_if_assert_expected) \ 13 14 DECLARE_FAKE_VALUE_FUNC(bool, mock_check_if_assert_expected); 15 16 #define expect_assert() (mock_check_if_assert_expected_fake.return_val = 1) 17