Searched refs:kHelloExampleCom (Results 1 – 5 of 5) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_gold_test.cpp | 294 int rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F() 304 rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F() 322 int rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F() 354 rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F() 363 dns.addMapping(kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4); in TEST_F() 364 dns.addMapping(kHelloExampleCom, ns_type::ns_t_aaaa, kHelloExampleComAddrV6); in TEST_F() 382 resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontextTls, &res, &event); in TEST_F() 385 EXPECT_EQ(GetNumQueries(dns, kHelloExampleCom), 2U); in TEST_F()
|
D | resolv_unit_test.cpp | 979 StartDns(dns, {MakeDnsMessage(kHelloExampleCom, ns_type::ns_t_a, {"1.2.3.1", "1.2.3.2"}), in TEST_F() 980 MakeDnsMessage(kHelloExampleCom, ns_type::ns_t_aaaa, in TEST_F() 1000 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F() 1003 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F() 1007 EXPECT_EQ(0U, GetNumQueries(dns, kHelloExampleCom)); // no query because of the cache in TEST_F() 1105 dns.addMapping(kHelloExampleCom, ns_type::ns_t_cname, kCnameA); in TEST_F() 1138 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom), 1U); in TEST_F() 1139 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F() 1163 dns.addMapping(kHelloExampleCom, ns_type::ns_t_cname, nameList[0]); in TEST_F() 1178 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom), 2U); in TEST_F() [all …]
|
D | resolv_integration_test.cpp | 443 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, "1.2.3.3"}}); in TEST_F() 454 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, kHelloExampleCom)); in TEST_F() 481 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F() 534 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F() 535 {"a.example.com.", ns_type::ns_t_cname, kHelloExampleCom}, in TEST_F() 773 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, "1.2.3.5"}}); in TEST_F() 779 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F() 804 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, "1.2.3.5"}}); in TEST_F() 914 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F() 941 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F() [all …]
|
D | resolv_test_utils.h | 93 static constexpr char kHelloExampleCom[] = "hello.example.com."; variable 176 {kHelloExampleCom, ns_type::ns_t_cname, kCnameA},
|
D | resolv_callback_unit_test.cpp | 148 dns.addMapping(kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4); in TEST_F()
|