Skip to content

Commit 551b9af

Browse files
erbr-otaescolar
authored andcommitted
Bluetooth: controller: adding unittest for Central CIS Create
Adding unittests for basic Central CIS Create functionality Signed-off-by: Erik Brockhoff <[email protected]>
1 parent 1de8a76 commit 551b9af

File tree

4 files changed

+385
-15
lines changed

4 files changed

+385
-15
lines changed

tests/bluetooth/controller/common/src/helper_pdu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,8 +1213,8 @@ void helper_pdu_verify_cis_ind(const char *file, uint32_t line, struct pdu_data
12131213
zassert_mem_equal(pdu->llctrl.cis_ind.cis_sync_delay, p->cis_sync_delay,
12141214
sizeof(p->cis_sync_delay),
12151215
"cis_sync_delay mismatch.\nCalled at %s:%d\n", file, line);
1216-
1217-
pdu->llctrl.cis_ind.conn_event_count = p->conn_event_count;
1216+
zassert_equal(pdu->llctrl.cis_ind.conn_event_count, p->conn_event_count,
1217+
"conn_event_count mismatch.\nCalled at %s:%d\n", file, line);
12181218
}
12191219

12201220
void helper_pdu_verify_cis_terminate_ind(const char *file, uint32_t line, struct pdu_data *pdu,

0 commit comments

Comments
 (0)