Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp257 dns.addMapping(r.host_name, r.type, r.addr); in StartDns()
479 constexpr char host_name[] = "host.example.com."; in TEST_F() local
489 {"e.example.com.", ns_type::ns_t_cname, host_name}, in TEST_F()
490 {host_name, ns_type::ns_t_a, "1.2.3.3"}, in TEST_F()
491 {host_name, ns_type::ns_t_aaaa, "2001:db8::42"}, in TEST_F()
503 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
521 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
717 constexpr char host_name[] = "howdy.example.com."; in TEST_F() local
720 {host_name, ns_type::ns_t_a, "1.2.3.4"}, in TEST_F()
721 {host_name, ns_type::ns_t_aaaa, "::1.2.3.4"}, in TEST_F()
[all …]
Dresolv_unit_test.cpp56 std::string host_name; // host name member
123 dns.addMappingDnsHeader(m.host_name, m.type, m.header); in StartDns()
481 constexpr char host_name[] = "sawadee.example.com."; in TEST_F() local
549 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
550 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
576 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
622 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
644 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
652 int rv = resolv_getaddrinfo(host_name, nullptr, &hints, &mNetcontext, &result, &event); in TEST_F()
659 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
[all …]
Dresolv_private_dns_test.cpp284 dns.addMapping(r.host_name, r.type, r.addr); in SetUp()
285 dot_backend.addMapping(r.host_name, r.type, r.addr); in SetUp()
286 doh_backend.addMapping(r.host_name, r.type, r.addr); in SetUp()
295 void sendQueryAndCheckResult(const char* host_name = kQueryHostname) { in sendQueryAndCheckResult() argument
297 ScopedAddrinfo result = safe_getaddrinfo(host_name, nullptr, &hints); in sendQueryAndCheckResult()
463 constexpr char host_name[] = "hello.local."; in TEST_P() local
474 {host_name, ns_type::ns_t_a, kQueryAnswerA}, in TEST_P()
475 {host_name, ns_type::ns_t_aaaa, kQueryAnswerAAAA}, in TEST_P()
479 dns.addMapping(r.host_name, r.type, r.addr); in TEST_P()
480 dot_backend.addMapping(r.host_name, r.type, r.addr); in TEST_P()
[all …]
Dresolv_test_utils.h157 std::string host_name; // host name member
/packages/modules/DnsResolver/tests/fuzzer/
Dresolv_fuzzer_utils.cpp33 dns.addMapping(r.host_name, r.type, r.addr); in StartDns()
/packages/modules/Bluetooth/system/gd/docs/testing/
Dcert_test.md149 -R 8899:127.0.0.1:8899 <host_name>