Lines Matching refs:GetNumQueries
193 size_t GetNumQueries(const test::DNSResponder& dns, const char* name) const { in GetNumQueries() function in ResolverTest
587 size_t found = GetNumQueries(dns, host_name); in TEST_F()
598 found = GetNumQueries(dns, host_name); in TEST_F()
612 found = GetNumQueries(dns, host_name); in TEST_F()
613 size_t found2 = GetNumQueries(dns2, host_name); in TEST_F()
631 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
696 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F()
708 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F()
729 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F()
730 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F()
731 EXPECT_EQ(1U, GetNumQueries(dns3, host_name_normal)); in TEST_F()
880 EXPECT_EQ(0U, GetNumQueries(dns0, host_name)); in TEST_F()
881 EXPECT_EQ(1U, GetNumQueries(dns1, host_name)); in TEST_F()
914 EXPECT_EQ(1U, GetNumQueries(dns0, host_name1)); in TEST_F()
915 EXPECT_EQ(1U, GetNumQueries(dns1, host_name1)); in TEST_F()
923 EXPECT_EQ(4U, GetNumQueries(dns0, host_name2)); in TEST_F()
924 EXPECT_EQ(4U, GetNumQueries(dns1, host_name2)); in TEST_F()
1040 EXPECT_EQ(1U, GetNumQueries(dns, host_name1)); in TEST_F()
1051 EXPECT_EQ(1U, GetNumQueries(dns, host_name2)); in TEST_F()
1152 size_t found = GetNumQueries(dns3, kHelloExampleCom); in TEST_F()
1571 size_t found = GetNumQueries(dns, host_name); in TEST_F()
1695 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
1707 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
1744 EXPECT_EQ(0U, GetNumQueries(dns, host_name)); in TEST_F()
1856 EXPECT_EQ(2U, GetNumQueries(dns, host_name)); in TEST_F()
1873 EXPECT_EQ(2U, GetNumQueries(dns, host_name)); in TEST_F()
2074 EXPECT_EQ(3U, GetNumQueries(dns, host_name)); in TEST_F()
2084 EXPECT_EQ(4U, GetNumQueries(dns, host_name)); in TEST_F()
2099 EXPECT_EQ(6U, GetNumQueries(dns, host_name)); in TEST_F()
2108 EXPECT_EQ(6U, GetNumQueries(dns, host_name)); in TEST_F()
2125 EXPECT_EQ(2U, GetNumQueries(dns, host_name)); in TEST_F()
2138 EXPECT_EQ(2U, GetNumQueries(dns, host_name)); in TEST_F()
2147 EXPECT_EQ(1U, GetNumQueries(dns, another_host_name)); in TEST_F()
2155 EXPECT_EQ(2U, GetNumQueries(dns, another_host_name)); in TEST_F()
2162 EXPECT_EQ(3U, GetNumQueries(dns, another_host_name)); in TEST_F()
2169 EXPECT_EQ(4U, GetNumQueries(dns, another_host_name)); in TEST_F()
2206 EXPECT_EQ(2U, GetNumQueries(dns0, host_name) + GetNumQueries(dns1, host_name)); in TEST_F()
2222 EXPECT_EQ(4U, GetNumQueries(dns0, host_name)); in TEST_F()
2223 EXPECT_EQ(4U, GetNumQueries(dns1, host_name)); in TEST_F()
2267 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
2295 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
2411 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
2428 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
2433 EXPECT_EQ(0U, GetNumQueries(dns, host_name)); in TEST_F()
2469 EXPECT_EQ(1U, GetNumQueries(dns, host_name1)); in TEST_F()
2476 EXPECT_EQ(1U, GetNumQueries(dns, host_name2)); in TEST_F()
2502 EXPECT_EQ(0U, GetNumQueries(dns, host_name1)); in TEST_F()
2509 EXPECT_EQ(0U, GetNumQueries(dns, host_name2)); in TEST_F()
2538 EXPECT_EQ(3U, GetNumQueries(dns, host_name)); in TEST_F()
2553 EXPECT_EQ(2U, GetNumQueries(dns, host_name)); in TEST_F()
2590 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
2617 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
2648 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
2706 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
2714 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
2747 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
2755 EXPECT_LE(2U, GetNumQueries(dns, host_name2)); in TEST_F()
2916 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6_nomapping)); // PTR record not exist in TEST_F()
2917 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v4)); // PTR record exist in TEST_F()
2933 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6_synthesis)); in TEST_F()
2962 EXPECT_EQ(0U, GetNumQueries(dns, host_name)); in TEST_F()
3031 if (config.flag == NI_NAMEREQD) EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v4)); in TEST_F()
3038 if (config.flag == NI_NAMEREQD) EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6)); in TEST_F()
3117 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6_synthesis)); in TEST_F()
3119 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6_nomapping)); // PTR record not exist. in TEST_F()
3120 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v4)); // PTR record exist. in TEST_F()
3155 EXPECT_EQ(0U, GetNumQueries(dns, host_name)); in TEST_F()
3182 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
3209 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
3217 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
3271 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
3305 EXPECT_EQ(1U, GetNumQueries(dns, dns64_name)); in TEST_F()
3324 EXPECT_EQ(1U, GetNumQueries(dns, dns64_name)); in TEST_F()