blob: 1802afb772edff70a87848f37dda426ca62873e9 [file] [log] [blame]
/*
* Copyright (c) 2022 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "host_mocks/assert.h"
#include <zephyr/bluetooth/hci.h>
#include <zephyr/kernel.h>
#include <zephyr/ztest.h>
#include <host/hci_core.h>
#include <host/id.h>
ZTEST_SUITE(bt_id_adv_random_addr_check_invalid_inputs, NULL, NULL, NULL, NULL, NULL);
/*
* Test passing NULL value for the advertising parameters
*
* Constraints:
* - Advertising parameters reference is passed as NULL
*
* Expected behaviour:
* - An assertion is raised and execution stops
*/
ZTEST(bt_id_adv_random_addr_check_invalid_inputs, test_null_advertising_parameters_ref)
{
expect_assert();
bt_id_adv_random_addr_check(NULL);
}