mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-11 03:30:05 +00:00
Merge pull request #520 from sjanc/static_check
nimble/test: Assert os_mbuf operations in GATT tests X-Original-Commit: 489c73d835b7580841bd2c420df65d29a769073f
This commit is contained in:
@@ -555,6 +555,7 @@ ble_att_svr_test_misc_verify_tx_read_type_rsp(
|
||||
ble_hs_test_util_tx_all();
|
||||
|
||||
om = ble_hs_test_util_prev_tx_dequeue_pullup();
|
||||
TEST_ASSERT(om);
|
||||
|
||||
ble_att_read_type_rsp_parse(om->om_data, om->om_len, &rsp);
|
||||
|
||||
@@ -615,6 +616,8 @@ ble_att_svr_test_misc_verify_tx_exec_write_rsp(void)
|
||||
ble_hs_test_util_tx_all();
|
||||
|
||||
om = ble_hs_test_util_prev_tx_dequeue_pullup();
|
||||
TEST_ASSERT(om);
|
||||
|
||||
ble_att_exec_write_rsp_parse(om->om_data, om->om_len);
|
||||
}
|
||||
|
||||
@@ -743,6 +746,7 @@ ble_att_svr_test_misc_verify_tx_indicate_rsp(void)
|
||||
ble_hs_test_util_tx_all();
|
||||
|
||||
om = ble_hs_test_util_prev_tx_dequeue_pullup();
|
||||
TEST_ASSERT(om);
|
||||
|
||||
ble_att_indicate_rsp_parse(om->om_data, om->om_len);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user