• Home
  • Raw
  • Download

Lines Matching refs:kHelloExampleCom

437     StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, "1.2.3.3"}});  in TEST_F()
448 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, kHelloExampleCom)); in TEST_F()
475 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F()
528 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F()
529 {"a.example.com.", ns_type::ns_t_cname, kHelloExampleCom}, in TEST_F()
762 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, "1.2.3.5"}}); in TEST_F()
768 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
812 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, "1.2.3.5"}}); in TEST_F()
926 ScopedAddrinfo result = safe_getaddrinfo(kHelloExampleCom, nullptr, &hints); in TEST_F()
953 result = safe_getaddrinfo(kHelloExampleCom, nullptr, &hints); in TEST_F()
982 ScopedAddrinfo result = safe_getaddrinfo(kHelloExampleCom, nullptr, &hints); in TEST_F()
1006 result = safe_getaddrinfo(kHelloExampleCom, nullptr, &hints); in TEST_F()
1039 ScopedAddrinfo result = safe_getaddrinfo(kHelloExampleCom, nullptr, &hints); in TEST_F()
1065 result = safe_getaddrinfo(kHelloExampleCom, nullptr, &hints); in TEST_F()
1095 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F()
1122 {kHelloExampleCom, ns_type::ns_t_cname, "a.example.com."}, in TEST_F()
1140 {kHelloExampleCom, ns_type::ns_t_cname, ".!#?"}, in TEST_F()
1678 {kHelloExampleComAddrV4, kHelloExampleCom}, in TEST_F()
1679 {kHelloExampleComAddrV6_GUA, kHelloExampleCom}, in TEST_F()
1680 {kHelloExampleComAddrV6_IPV4COMPAT, kHelloExampleCom}, in TEST_F()
1681 {kHelloExampleComAddrV6_TEREDO, kHelloExampleCom}, in TEST_F()
1695 ScopedAddrinfo result = safe_getaddrinfo(kHelloExampleCom, nullptr, &hints); in TEST_F()
1704 EXPECT_EQ(0U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
1707 result = safe_getaddrinfo(kHelloExampleCom, nullptr, &hints); in TEST_F()
1729 EXPECT_EQ(0U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
1931 dns3.addMapping(kHelloExampleCom, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
1940 size_t found = GetNumQueries(dns3, kHelloExampleCom); in TEST_F()
3322 ScopedAddrinfo result = safe_getaddrinfo(kHelloExampleCom, nullptr, &hints); in TEST_F()
3756 {"1.0/25.2.0.192.in-addr.arpa.", ns_type::ns_t_ptr, kHelloExampleCom}, in TEST_F()
3760 {"1.0-127.3.0.192.in-addr.arpa.", ns_type::ns_t_ptr, kHelloExampleCom}, in TEST_F()
3968 {"1.0/25.2.0.192.in-addr.arpa.", ns_type::ns_t_ptr, kHelloExampleCom}, in TEST_F()
3972 {"1.0-127.3.0.192.in-addr.arpa.", ns_type::ns_t_ptr, kHelloExampleCom}, in TEST_F()
4939 dns1.addMapping(kHelloExampleCom, ns_type::ns_t_aaaa, kHelloExampleComAddrV6); in TEST_F()
4940 dns2.addMapping(kHelloExampleCom, ns_type::ns_t_aaaa, kHelloExampleComAddrV6); in TEST_F()
4975 int fd = resNetworkQuery(TEST_NETID, kHelloExampleCom, ns_c_in, ns_t_aaaa, in TEST_F()
5233 dns1.addMapping(kHelloExampleCom, ns_type::ns_t_aaaa, kHelloExampleComAddrV6); in TEST_F()
5234 dns2.addMapping(kHelloExampleCom, ns_type::ns_t_aaaa, kHelloExampleComAddrV6); in TEST_F()
5291 int fd = resNetworkQuery(TEST_NETID, kHelloExampleCom, ns_c_in, ns_t_aaaa, in TEST_F()
5306 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4}}); in TEST_F()
5310 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, kHelloExampleCom)); in TEST_F()
5323 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, kHelloExampleCom)); in TEST_F()
5329 EXPECT_EQ(2U, GetNumQueriesForType(dns, ns_type::ns_t_a, kHelloExampleCom)); in TEST_F()
5338 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4}}); in TEST_F()
5365 StartDns(dns1, {{kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4}}); in TEST_F()
5366 StartDns(dns2, {{kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4}}); in TEST_F()
5381 while (GetNumQueries(dns1, kHelloExampleCom) == 0) { in TEST_F()
5392 EXPECT_EQ(1U, GetNumQueriesForType(dns2, ns_type::ns_t_a, kHelloExampleCom)); in TEST_F()
5408 EXPECT_EQ(0U, GetNumQueries(dns2, kHelloExampleCom)); in TEST_F()
5415 StartDns(dns, {{kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4}}); in TEST_F()
5444 EXPECT_EQ(1U, GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom)); in TEST_F()
5445 EXPECT_EQ(0U, GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom)); in TEST_F()
5504 ASSERT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom), 1U); in TEST_F()
5505 ASSERT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F()
5506 ASSERT_EQ(GetNumQueriesForProtocol(dns2, IPPROTO_UDP, kHelloExampleCom), config.numQueries); in TEST_F()
5507 ASSERT_EQ(GetNumQueriesForProtocol(dns2, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F()
5887 if (verifyNumQueries) EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in VerifyQueryHelloExampleComV4()
5929 .qname = {.name = kHelloExampleCom}, in TEST_P()
5937 .name = {.name = kHelloExampleCom}, in TEST_P()
5947 .name = {.name = kHelloExampleCom}, in TEST_P()
5967 dns.addMappingDnsHeader(kHelloExampleCom, ns_type::ns_t_a, header); in TEST_P()
6111 EXPECT_EQ(1U, GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom)); in TEST_P()
6112 EXPECT_EQ(1U, GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom)); in TEST_P()
6225 {kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4}, in TEST_F()
6226 {kHelloExampleCom, ns_type::ns_t_aaaa, kHelloExampleComAddrV6}, in TEST_F()
6245 auto [result, timeTakenMs] = safe_getaddrinfo_time_taken(kHelloExampleCom, nullptr, hints); in TEST_F()
6252 EXPECT_EQ(2U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
6256 std::tie(result, timeTakenMs) = safe_getaddrinfo_time_taken(kHelloExampleCom, nullptr, hints); in TEST_F()
6261 EXPECT_EQ(0U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
6313 StartDns(dns1, {{kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4}}); in TEST_F()
6314 StartDns(dns2, {{kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4}}); in TEST_F()
6315 StartDns(dns3, {{kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4}}); in TEST_F()
6345 int fd = resNetworkQuery(TEST_NETID, kHelloExampleCom, ns_c_in, ns_t_a, in TEST_F()