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:
Szymon Janc
2017-09-01 15:24:32 +02:00
committed by GitHub
+4
View File
@@ -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);
}