blob: 07bf437f8faf8fb0309154e3ea95b8c0f5fd9782 [file] [log] [blame]
/*
* Copyright (c) 2023 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "bs_bt_utils.h"
#include "bstests.h"
void central(void);
void peripheral_unpair_in_sec_cb(void);
void peripheral_disconnect_in_sec_cb(void);
static const struct bst_test_instance test_to_add[] = {
{
.test_id = "central",
.test_post_init_f = test_init,
.test_tick_f = test_tick,
.test_main_f = central,
},
{
.test_id = "peripheral_unpair_in_sec_cb",
.test_post_init_f = test_init,
.test_tick_f = test_tick,
.test_main_f = peripheral_unpair_in_sec_cb,
},
{
.test_id = "peripheral_disconnect_in_sec_cb",
.test_post_init_f = test_init,
.test_tick_f = test_tick,
.test_main_f = peripheral_disconnect_in_sec_cb,
},
BSTEST_END_MARKER,
};
static struct bst_test_list *install(struct bst_test_list *tests)
{
return bst_add_tests(tests, test_to_add);
};
bst_test_install_t test_installers[] = {install, NULL};
int main(void)
{
bst_main();
return 0;
}