Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp736 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 …]
Dresolv_unit_test.cpp472 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()
Dresolv_gold_test.cpp247 EXPECT_EQ(GetNumQueries(dns, name.c_str()), queries); in VerifyResolver()
385 EXPECT_EQ(GetNumQueries(dns, kHelloExampleCom), 2U); in TEST_F()
Dresolv_test_utils.h184 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