1 /*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7 #include "bs_bt_utils.h"
8 #include "bstests.h"
9
10 void central(void);
11 void peripheral_unpair_in_sec_cb(void);
12 void peripheral_disconnect_in_sec_cb(void);
13
14 static const struct bst_test_instance test_to_add[] = {
15 {
16 .test_id = "central",
17 .test_main_f = central,
18 },
19 {
20 .test_id = "peripheral_unpair_in_sec_cb",
21 .test_main_f = peripheral_unpair_in_sec_cb,
22 },
23 {
24 .test_id = "peripheral_disconnect_in_sec_cb",
25 .test_main_f = peripheral_disconnect_in_sec_cb,
26 },
27 BSTEST_END_MARKER,
28 };
29
install(struct bst_test_list * tests)30 static struct bst_test_list *install(struct bst_test_list *tests)
31 {
32 return bst_add_tests(tests, test_to_add);
33 };
34
35 bst_test_install_t test_installers[] = {install, NULL};
36
main(void)37 int main(void)
38 {
39 bst_main();
40 return 0;
41 }
42