Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp224 dns.addMapping(r.host_name, r.type, r.addr); in StartDns()
394 constexpr char host_name[] = "host.example.com."; in TEST_F() local
404 {"e.example.com.", ns_type::ns_t_cname, host_name}, in TEST_F()
405 {host_name, ns_type::ns_t_a, "1.2.3.3"}, in TEST_F()
406 {host_name, ns_type::ns_t_aaaa, "2001:db8::42"}, in TEST_F()
418 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
436 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
637 constexpr char host_name[] = "howdy.example.com."; in TEST_F() local
640 {host_name, ns_type::ns_t_a, "1.2.3.4"}, in TEST_F()
641 {host_name, ns_type::ns_t_aaaa, "::1.2.3.4"}, in TEST_F()
[all …]
Dresolv_test_utils.h78 std::string host_name; // host name member
/packages/modules/DnsResolver/
Dresolv_unit_test.cpp55 std::string host_name; // host name member
120 dns.addMappingDnsHeader(m.host_name, m.type, m.header); in StartDns()
476 constexpr char host_name[] = "sawadee.example.com."; in TEST_F() local
544 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
545 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
571 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
617 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
639 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
647 int rv = resolv_getaddrinfo(host_name, nullptr, &hints, &mNetcontext, &result, &event); in TEST_F()
654 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
[all …]