Home
last modified time | relevance | path

Searched refs:GetNumQueriesForType (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h187 size_t GetNumQueriesForType(const test::DNSResponder& dns, ns_type type, const char* name);
Dresolv_test_utils.cpp129 size_t GetNumQueriesForType(const test::DNSResponder& dns, ns_type type, const char* name) { in GetNumQueriesForType() function
Dresolv_integration_test.cpp448 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, nonexistent_host_name)); in TEST_F()
454 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, kHelloExampleCom)); in TEST_F()
586 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, name_ip6_dot)) << dns.dumpQueries(); in TEST_F()
587 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, name_ip6_fqdn)) << dns.dumpQueries(); in TEST_F()
679 return total + GetNumQueriesForType(*d, ns_type::ns_t_a, mapping.entry.c_str()); in TEST_F()
1029 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name)); in TEST_F()
1784 EXPECT_EQ(0U, GetNumQueriesForType(dns3, ns_type::ns_t_aaaa, fqdn_with_search_domain)); in TEST_F()
1785 EXPECT_EQ(1U, GetNumQueriesForType(dns3, ns_type::ns_t_a, fqdn_with_search_domain)); in TEST_F()
2148 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name)); in TEST_F()
2981 EXPECT_EQ(0U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name)); in TEST_F()
[all …]