Searched refs:expected_response (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_echo/src/ |
D | main.c | 27 static const uint8_t expected_response[] = { variable 58 zassert_equal(sizeof(expected_response), nb->len, in ZTEST() 59 "Expected to receive %d bytes but got %d\n", sizeof(expected_response), in ZTEST() 62 zassert_mem_equal(expected_response, nb->data, nb->len, in ZTEST()
|
/Zephyr-latest/tests/net/lib/http_server/core/src/ |
D | main.c | 819 static const char expected_response[] = in ZTEST() local 833 test_read_data(&offset, sizeof(expected_response) - 1); in ZTEST() 834 zassert_mem_equal(buf, expected_response, sizeof(expected_response) - 1, in ZTEST() 931 static const char expected_response[] = "HTTP/1.1 200\r\n" in common_verify_http1_dynamic_post() local 947 test_read_data(&offset, sizeof(expected_response) - 1); in common_verify_http1_dynamic_post() 948 zassert_mem_equal(buf, expected_response, sizeof(expected_response) - 1, in common_verify_http1_dynamic_post() 1039 static const char expected_response[] = "HTTP/1.1 200\r\n" in ZTEST() local 1056 test_read_data(&offset, sizeof(expected_response) - 1); in ZTEST() 1057 zassert_mem_equal(buf, expected_response, sizeof(expected_response) - 1, in ZTEST() 1171 static const char expected_response[] = "HTTP/1.1 200\r\n" in ZTEST() local [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/ |
D | main.c | 54 static const uint8_t expected_response[] = { variable 249 zassert_equal(sizeof(expected_response), nb->len, in ZTEST() 250 "Expected to receive %d bytes but got %d\n", sizeof(expected_response), in ZTEST() 253 zassert_mem_equal(expected_response, nb->data, nb->len, in ZTEST() 287 zassert_equal(sizeof(expected_response), nb->len, in ZTEST() 288 "Expected to receive %d bytes but got %d\n", sizeof(expected_response), in ZTEST() 291 zassert_mem_equal(expected_response, nb->data, nb->len, in ZTEST()
|