Searched refs:host_name_deferred (Results 1 – 1 of 1) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 854 const char* host_name_deferred = "hello.example.com."; in TEST_F() local 859 dns1.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 860 dns2.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 880 ScopedAddrinfo result = safe_getaddrinfo(host_name_deferred, nullptr, &hints); in TEST_F() 883 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F() 889 EXPECT_TRUE(PollForCondition([&]() { return GetNumQueries(dns1, host_name_deferred); })); in TEST_F() 897 ScopedAddrinfo result = safe_getaddrinfo(host_name_deferred, nullptr, &hints); in TEST_F() 899 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F() 916 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F() 917 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F()
|