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.cpp259 dns.addMapping(r.host_name, r.type, r.addr); in StartDns()
476 constexpr char host_name[] = "host.example.com."; in TEST_F() local
486 {"e.example.com.", ns_type::ns_t_cname, host_name}, in TEST_F()
487 {host_name, ns_type::ns_t_a, "1.2.3.3"}, in TEST_F()
488 {host_name, ns_type::ns_t_aaaa, "2001:db8::42"}, in TEST_F()
500 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
518 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
719 constexpr char host_name[] = "howdy.example.com."; in TEST_F() local
722 {host_name, ns_type::ns_t_a, "1.2.3.4"}, in TEST_F()
723 {host_name, ns_type::ns_t_aaaa, "::1.2.3.4"}, in TEST_F()
[all …]
Dresolv_unit_test.cpp55 std::string host_name; // host name member
120 dns.addMappingDnsHeader(m.host_name, m.type, m.header); in StartDns()
478 constexpr char host_name[] = "sawadee.example.com."; in TEST_F() local
546 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
547 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
573 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
619 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
641 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
649 int rv = resolv_getaddrinfo(host_name, nullptr, &hints, &mNetcontext, &result, &event); in TEST_F()
656 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
[all …]
Dresolv_test_utils.h78 std::string host_name; // host name member