Home
last modified time | relevance | path

Searched refs:kHelloExampleCom (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_gold_test.cpp290 int rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F()
300 rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F()
318 int rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F()
350 rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F()
359 dns.addMapping(kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4); in TEST_F()
360 dns.addMapping(kHelloExampleCom, ns_type::ns_t_aaaa, kHelloExampleComAddrV6); in TEST_F()
376 resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontextTls, &res, &event); in TEST_F()
379 EXPECT_EQ(GetNumQueries(dns, kHelloExampleCom), 2U); in TEST_F()
Dresolv_integration_test.cpp374 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, "1.2.3.3"}}); in TEST_F()
385 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, kHelloExampleCom)); in TEST_F()
399 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F()
452 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F()
453 {"a.example.com.", ns_type::ns_t_cname, kHelloExampleCom}, in TEST_F()
691 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, "1.2.3.5"}}); in TEST_F()
697 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
722 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, "1.2.3.5"}}); in TEST_F()
832 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F()
859 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F()
[all …]
Dresolv_test_utils.h92 static constexpr char kHelloExampleCom[] = "hello.example.com."; variable
175 {kHelloExampleCom, ns_type::ns_t_cname, kCnameA},
/packages/modules/DnsResolver/
Dresolv_unit_test.cpp977 StartDns(dns, {MakeDnsMessage(kHelloExampleCom, ns_type::ns_t_a, {"1.2.3.1", "1.2.3.2"}), in TEST_F()
978 MakeDnsMessage(kHelloExampleCom, ns_type::ns_t_aaaa, in TEST_F()
998 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
1001 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
1005 EXPECT_EQ(0U, GetNumQueries(dns, kHelloExampleCom)); // no query because of the cache in TEST_F()
1103 dns.addMapping(kHelloExampleCom, ns_type::ns_t_cname, kCnameA); in TEST_F()
1136 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom), 1U); in TEST_F()
1137 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F()
Dresolv_callback_unit_test.cpp148 dns.addMapping(kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4); in TEST_F()