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 | 800 static const char expected_response[] = in ZTEST() local 814 test_read_data(&offset, sizeof(expected_response) - 1); in ZTEST() 815 zassert_mem_equal(buf, expected_response, sizeof(expected_response) - 1, in ZTEST() 912 static const char expected_response[] = "HTTP/1.1 200\r\n" in common_verify_http1_dynamic_post() local 928 test_read_data(&offset, sizeof(expected_response) - 1); in common_verify_http1_dynamic_post() 929 zassert_mem_equal(buf, expected_response, sizeof(expected_response) - 1, in common_verify_http1_dynamic_post() 1020 static const char expected_response[] = "HTTP/1.1 200\r\n" in ZTEST() local 1037 test_read_data(&offset, sizeof(expected_response) - 1); in ZTEST() 1038 zassert_mem_equal(buf, expected_response, sizeof(expected_response) - 1, in ZTEST() 1152 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()
|