Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/lib/http_server/core/src/
Dmain.c1425 struct http_header *hdrs = request_headers_clone.headers; in ZTEST() local
1435 zassert_not_equal(hdrs[0].name, NULL, "First header name is NULL"); in ZTEST()
1436 zassert_not_equal(hdrs[0].value, NULL, "First header value is NULL"); in ZTEST()
1437 zassert_not_equal(hdrs[1].name, NULL, "Second header name is NULL"); in ZTEST()
1438 zassert_not_equal(hdrs[1].value, NULL, "Second header value is NULL"); in ZTEST()
1440 ret = strcmp(hdrs[0].name, "User-Agent"); in ZTEST()
1442 ret = strcmp(hdrs[0].value, "curl/7.68.0"); in ZTEST()
1444 ret = strcmp(hdrs[1].name, "Test-Header"); in ZTEST()
1446 ret = strcmp(hdrs[1].value, "test_value"); in ZTEST()
1459 struct http_header *hdrs = request_headers_clone.headers; in ZTEST() local
[all …]