Lines Matching refs:GetNumQueries

654     size_t found = GetNumQueries(dns, host_name);  in TEST_F()
665 found = GetNumQueries(dns, host_name); in TEST_F()
678 found = GetNumQueries(dns, host_name); in TEST_F()
679 size_t found2 = GetNumQueries(dns2, host_name); in TEST_F()
697 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
780 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F()
792 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F()
814 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F()
815 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F()
816 EXPECT_EQ(1U, GetNumQueries(dns3, host_name_normal)); in TEST_F()
965 EXPECT_EQ(0U, GetNumQueries(dns0, host_name)); in TEST_F()
966 EXPECT_EQ(1U, GetNumQueries(dns1, host_name)); in TEST_F()
1011 EXPECT_EQ(1U, GetNumQueries(dns0, host_name1)); in TEST_F()
1012 EXPECT_EQ(1U, GetNumQueries(dns1, host_name1)); in TEST_F()
1021 EXPECT_EQ(1U, GetNumQueries(dns0, host_name2)); in TEST_F()
1022 EXPECT_EQ(1U, GetNumQueries(dns1, host_name2)); in TEST_F()
1201 EXPECT_EQ(4U, GetNumQueries(dns, hostname)); in TEST_F()
1273 EXPECT_EQ(2U, GetNumQueries(dns, config.name.c_str())); in TEST_F()
1278 GetNumQueries(dns, config.name.c_str())); in TEST_F()
1309 EXPECT_EQ(0U, GetNumQueries(dns, hostnameV4V6)); in TEST_F()
1316 EXPECT_EQ(2U, GetNumQueries(dns, hostnameV4V6)); in TEST_F()
1366 EXPECT_EQ(1U, GetNumQueries(dns, host_name1)); in TEST_F()
1377 EXPECT_EQ(1U, GetNumQueries(dns, host_name2)); in TEST_F()
1440 EXPECT_EQ(1U, GetNumQueries(dns, host_name1)); in TEST_F()
1457 EXPECT_EQ(1U, GetNumQueries(dns, host_name2)); in TEST_F()
1555 size_t found = GetNumQueries(dns3, kHelloExampleCom); in TEST_F()
1866 size_t found = GetNumQueries(dns, host_name); in TEST_F()
1990 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
2002 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
2034 EXPECT_EQ(0U, GetNumQueries(dns, host_name)); in TEST_F()
2146 EXPECT_EQ(2U, GetNumQueries(dns, host_name)); in TEST_F()
2163 EXPECT_EQ(2U, GetNumQueries(dns, host_name)); in TEST_F()
2370 EXPECT_EQ(3U, GetNumQueries(dns, host_name1)); in TEST_F()
2381 EXPECT_EQ(4U, GetNumQueries(dns, host_name1)); in TEST_F()
2391 EXPECT_EQ(5U, GetNumQueries(dns, host_name1)); in TEST_F()
2406 EXPECT_EQ(7U, GetNumQueries(dns, host_name1)); in TEST_F()
2414 EXPECT_EQ(7U, GetNumQueries(dns, host_name1)); in TEST_F()
2431 EXPECT_EQ(2U, GetNumQueries(dns, host_name2)); in TEST_F()
2444 EXPECT_EQ(2U, GetNumQueries(dns, host_name2)); in TEST_F()
2453 EXPECT_EQ(1U, GetNumQueries(dns, host_name3)); in TEST_F()
2461 EXPECT_EQ(2U, GetNumQueries(dns, host_name3)); in TEST_F()
2468 EXPECT_EQ(3U, GetNumQueries(dns, host_name3)); in TEST_F()
2475 EXPECT_EQ(4U, GetNumQueries(dns, host_name3)); in TEST_F()
2500 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
2513 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
2521 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
2560 EXPECT_EQ(2U, GetNumQueries(dns0, host_name) + GetNumQueries(dns1, host_name)); in TEST_F()
2578 EXPECT_EQ(4U, GetNumQueries(dns0, host_name)); in TEST_F()
2579 EXPECT_EQ(4U, GetNumQueries(dns1, host_name)); in TEST_F()
2623 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
2651 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
2809 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
2829 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
2835 EXPECT_EQ(0U, GetNumQueries(dns, host_name)); in TEST_F()
2875 EXPECT_EQ(1U, GetNumQueries(dns, host_name1)); in TEST_F()
2882 EXPECT_EQ(1U, GetNumQueries(dns, host_name2)); in TEST_F()
2907 EXPECT_EQ(0U, GetNumQueries(dns, host_name1)); in TEST_F()
2914 EXPECT_EQ(0U, GetNumQueries(dns, host_name2)); in TEST_F()
2943 EXPECT_EQ(3U, GetNumQueries(dns, host_name)); in TEST_F()
2958 EXPECT_EQ(2U, GetNumQueries(dns, host_name)); in TEST_F()
2995 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
3022 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
3053 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
3113 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
3121 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
3154 EXPECT_LE(2U, GetNumQueries(dns, host_name)); in TEST_F()
3162 EXPECT_LE(2U, GetNumQueries(dns, host_name2)); in TEST_F()
3325 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6_nomapping)); // PTR record not exist in TEST_F()
3326 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v4)); // PTR record exist in TEST_F()
3342 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6_synthesis)); in TEST_F()
3371 EXPECT_EQ(0U, GetNumQueries(dns, host_name)); in TEST_F()
3474 if (config.flag == NI_NAMEREQD) EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v4)); in TEST_F()
3481 if (config.flag == NI_NAMEREQD) EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6)); in TEST_F()
3562 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6_synthesis)); in TEST_F()
3564 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v6_nomapping)); // PTR record not exist. in TEST_F()
3565 EXPECT_LE(1U, GetNumQueries(dns, ptr_addr_v4)); // PTR record exist. in TEST_F()
3601 EXPECT_EQ(0U, GetNumQueries(dns, host_name)); in TEST_F()
3662 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
3689 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
3697 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
3752 EXPECT_LE(1U, GetNumQueries(dns, host_name)); in TEST_F()
3786 EXPECT_EQ(1U, GetNumQueries(dns, dns64_name)) << dns.dumpQueries(); in TEST_F()
3806 EXPECT_EQ(1U, GetNumQueries(dns, dns64_name)) << dns.dumpQueries(); in TEST_F()
4239 EXPECT_EQ(1U, GetNumQueries(dns, hostname1)); in TEST_F()
4254 EXPECT_EQ(1U, GetNumQueries(dns, hostname2)); in TEST_F()
4327 while (GetNumQueries(dns1, kHelloExampleCom) == 0) { in TEST_F()
4354 EXPECT_EQ(0U, GetNumQueries(dns2, kHelloExampleCom)); in TEST_F()
4486 EXPECT_EQ(GetNumQueries(dns, hostname), 1U); in TEST_F()
4534 EXPECT_EQ(GetNumQueries(dns, hostname), 1U); in TEST_F()
4795 if (verifyNumQueries) EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in VerifyQueryHelloExampleComV4()
5099 EXPECT_EQ(2U, GetNumQueries(neverRespondDns, host_name)); in TEST_F()
5136 EXPECT_EQ(2U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
5145 EXPECT_EQ(0U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F()
5421 EXPECT_EQ(GetNumQueries(dnsPair->dnsServer, host_name), expectedQueries); in TEST_F()
5460 const auto condition = [&]() { return GetNumQueries(dnsPair->dnsServer, host_name) == 1U; }; in TEST_F()
5503 EXPECT_EQ(GetNumQueries(dnsPair1->dnsServer, host_name), 1U); in TEST_F()
5504 EXPECT_EQ(GetNumQueries(dnsPair2->dnsServer, host_name), 1U); in TEST_F()
5513 EXPECT_EQ(GetNumQueries(dnsPair1->dnsServer, host_name), 2U); in TEST_F()
5514 EXPECT_EQ(GetNumQueries(dnsPair2->dnsServer, host_name), 1U); in TEST_F()