Home
last modified time | relevance | path

Searched refs:GetNumQueries (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp654 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 …]
Dresolv_gold_test.cpp247 EXPECT_EQ(GetNumQueries(dns, name.c_str()), queries); in VerifyResolver()
379 EXPECT_EQ(GetNumQueries(dns, kHelloExampleCom), 2U); in TEST_F()
Dresolv_test_utils.h183 size_t GetNumQueries(const test::DNSResponder& dns, const char* name);
Dresolv_test_utils.cpp106 size_t GetNumQueries(const test::DNSResponder& dns, const char* name) { in GetNumQueries() function
/packages/modules/DnsResolver/
Dresolv_unit_test.cpp470 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()