Searched refs:GetNumQueries (Results 1 – 5 of 5) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 736 size_t found = GetNumQueries(dns, host_name); in TEST_F() 747 found = GetNumQueries(dns, host_name); in TEST_F() 760 found = GetNumQueries(dns, host_name); in TEST_F() 761 size_t found2 = GetNumQueries(dns2, host_name); in TEST_F() 779 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F() 862 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F() 874 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F() 896 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F() 897 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F() 898 EXPECT_EQ(1U, GetNumQueries(dns3, host_name_normal)); in TEST_F() [all …]
|
D | resolv_unit_test.cpp | 472 EXPECT_LE(1U, GetNumQueries(dns, v4_host_name)); in TEST_F() 573 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F() 1000 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F() 1003 EXPECT_EQ(1U, GetNumQueries(dns, kHelloExampleCom)); in TEST_F() 1007 EXPECT_EQ(0U, GetNumQueries(dns, kHelloExampleCom)); // no query because of the cache in TEST_F() 1259 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F() 1321 EXPECT_LE(1U, GetNumQueries(dns, v4_host_name)); in TEST_F()
|
D | resolv_gold_test.cpp | 247 EXPECT_EQ(GetNumQueries(dns, name.c_str()), queries); in VerifyResolver() 385 EXPECT_EQ(GetNumQueries(dns, kHelloExampleCom), 2U); in TEST_F()
|
D | resolv_test_utils.h | 184 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
|