Skip to content

tests: Bluetooth: CAP: Add unittest for bt_cap_handover_[un]register#94084

Draft
Thalley wants to merge 4 commits intozephyrproject-rtos:mainfrom
Thalley:cap_handover_callback_tests
Draft

tests: Bluetooth: CAP: Add unittest for bt_cap_handover_[un]register#94084
Thalley wants to merge 4 commits intozephyrproject-rtos:mainfrom
Thalley:cap_handover_callback_tests

Conversation

@Thalley
Copy link
Copy Markdown
Contributor

@Thalley Thalley commented Aug 4, 2025

Add unittests for the bt_cap_handover_register_cb and bt_cap_handover_unregister_cb functions.

@Thalley Thalley force-pushed the cap_handover_callback_tests branch 2 times, most recently from 1869bd7 to 4b3afa4 Compare August 4, 2025 14:52
@Thalley
Copy link
Copy Markdown
Contributor Author

Thalley commented Aug 4, 2025

Depends on #91170

@Thalley Thalley force-pushed the cap_handover_callback_tests branch from 4b3afa4 to 25dfa73 Compare August 15, 2025 08:35
@Thalley Thalley force-pushed the cap_handover_callback_tests branch from 25dfa73 to 24fd0f3 Compare September 1, 2025 15:22
@Thalley Thalley force-pushed the cap_handover_callback_tests branch 3 times, most recently from 2c5a112 to 7cda385 Compare September 9, 2025 12:45
@Thalley Thalley force-pushed the cap_handover_callback_tests branch from 7cda385 to ec8eaab Compare September 17, 2025 09:24
@Thalley Thalley force-pushed the cap_handover_callback_tests branch 2 times, most recently from 8dc24b3 to 3face8e Compare September 30, 2025 15:26
@Thalley Thalley force-pushed the cap_handover_callback_tests branch from 3face8e to d258135 Compare October 13, 2025 12:07
@Thalley Thalley force-pushed the cap_handover_callback_tests branch from d258135 to ce0a6a7 Compare November 5, 2025 12:33
@Thalley Thalley force-pushed the cap_handover_callback_tests branch from ce0a6a7 to 4a9f24c Compare November 28, 2025 12:13
@Thalley Thalley force-pushed the cap_handover_callback_tests branch from 4a9f24c to 665256e Compare December 8, 2025 13:50
@Thalley Thalley force-pushed the cap_handover_callback_tests branch from 665256e to 53cc78e Compare January 6, 2026 10:13
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jan 6, 2026

@Thalley Thalley force-pushed the cap_handover_callback_tests branch 2 times, most recently from 9cfced1 to d47ca03 Compare February 17, 2026 09:35
@Thalley Thalley force-pushed the cap_handover_callback_tests branch from d47ca03 to 265f43a Compare March 2, 2026 13:04
@Thalley Thalley force-pushed the cap_handover_callback_tests branch 2 times, most recently from ba810e0 to 41ce947 Compare March 23, 2026 13:08
@Thalley Thalley force-pushed the cap_handover_callback_tests branch 2 times, most recently from fc33304 to 4152dda Compare April 15, 2026 15:26
@sonarqubecloud
Copy link
Copy Markdown

@Thalley Thalley force-pushed the cap_handover_callback_tests branch from 4152dda to bb4ba24 Compare April 24, 2026 12:51
Thalley added 3 commits April 27, 2026 16:42
Adds unittests for the handover from unicast to broadcast
APIs.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Minor change to valid_unicast_to_broadcast_metadata to break
the loop earlier if the unique_metadata_cnt is already too
large.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Add a LOG_DBG for all aborts so that it is easier
to determine the exact reason for an aborted CAP
procedure.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Add unittests for the bt_cap_handover_register_cb
and bt_cap_handover_unregister_cb functions.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
@Thalley Thalley force-pushed the cap_handover_callback_tests branch from bb4ba24 to 6d818f0 Compare April 27, 2026 14:45
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant