Searched refs:GetNumQueries (Results 1 – 5 of 5) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 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() [all …]
|
D | resolv_gold_test.cpp | 247 EXPECT_EQ(GetNumQueries(dns, name.c_str()), queries); in VerifyResolver() 379 EXPECT_EQ(GetNumQueries(dns, kHelloExampleCom), 2U); in TEST_F()
|
D | resolv_test_utils.h | 183 size_t GetNumQueries(const test::DNSResponder& dns, const char* name);
|
D | resolv_test_utils.cpp | 106 size_t GetNumQueries(const test::DNSResponder& dns, const char* name) { in GetNumQueries() function
|
/packages/modules/DnsResolver/ |
D | resolv_unit_test.cpp | 470 EXPECT_LE(1U, GetNumQueries(dns, v4_host_name)); in TEST_F() 571 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F() 998 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F() 1001 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F() 1005 EXPECT_EQ(0U, GetNumQueries(dns, kHelloExampleCom)); // no query because of the cache in TEST_F() 1219 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F() 1281 EXPECT_LE(1U, GetNumQueries(dns, v4_host_name)); in TEST_F()
|