Home
last modified time | relevance | path

Searched refs:decode_tests (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.5.0/tests/net/lib/mqtt_sn_packet/src/
Dmqtt_sn_packet.c99 static struct mqtt_sn_decode_test decode_tests[] = { variable
293 for (size_t i = 0; i < ARRAY_SIZE(decode_tests); i++) { in ZTEST()
294 TC_PRINT("%s - test %zu: %s\n", __func__, i, decode_tests[i].name); in ZTEST()
295 LOG_HEXDUMP_DBG(decode_tests[i].data, decode_tests[i].datasz, "Test data"); in ZTEST()
300 net_buf_simple_init_with_data(&msg, decode_tests[i].data, decode_tests[i].datasz); in ZTEST()
306 LOG_HEXDUMP_DBG(&decode_tests[i].expected, sizeof(param), "Expected data"); in ZTEST()
307 zassert_mem_equal(&param, &decode_tests[i].expected, sizeof(param), "in test %zu", in ZTEST()