Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2355 const hostent* h_result = nullptr; in TEST_F() local
2360 h_result = gethostbyname(host_name); in TEST_F()
2363 ASSERT_FALSE(h_result == nullptr); in TEST_F()
2364 ASSERT_EQ(4, h_result->h_length); in TEST_F()
2365 ASSERT_FALSE(h_result->h_addr_list[0] == nullptr); in TEST_F()
2366 EXPECT_EQ(ADDR4, ToString(h_result)); in TEST_F()
2367 EXPECT_TRUE(h_result->h_addr_list[1] == nullptr); in TEST_F()
3177 const hostent* h_result = gethostbyname(host_name); in TEST_F() local
3180 ASSERT_TRUE(h_result != nullptr); in TEST_F()
3181 ASSERT_EQ(4, h_result->h_length); in TEST_F()
[all …]