Searched refs:host_name (Results 1 – 1 of 1) sorted by relevance
/system/netd/tests/ |
D | netd_test.cpp | 275 const char* host_name = "hello.example.com."; in TEST_F() local 278 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F() 293 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name)); in TEST_F() 374 const char* host_name = "howdy.example.com."; in TEST_F() local 377 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 378 dns.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); in TEST_F() 383 dns2.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 384 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); in TEST_F() 394 size_t found = GetNumQueries(dns, host_name); in TEST_F() 409 found = GetNumQueries(dns, host_name); in TEST_F() [all …]
|