Searched refs:GetNumQueriesForProtocol (Results 1 – 4 of 4) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_test_utils.h | 184 size_t GetNumQueriesForProtocol(const test::DNSResponder& dns, const int protocol,
|
D | resolv_test_utils.cpp | 117 size_t GetNumQueriesForProtocol(const test::DNSResponder& dns, const int protocol, in GetNumQueriesForProtocol() function
|
D | resolv_integration_test.cpp | 4390 EXPECT_EQ(1U, GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom)); in TEST_F() 4391 EXPECT_EQ(0U, GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom)); in TEST_F() 4439 ASSERT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom), 1U); in TEST_F() 4440 ASSERT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F() 4441 ASSERT_EQ(GetNumQueriesForProtocol(dns2, IPPROTO_UDP, kHelloExampleCom), config.numQueries); in TEST_F() 4442 ASSERT_EQ(GetNumQueriesForProtocol(dns2, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F() 5019 EXPECT_EQ(1U, GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom)); in TEST_P() 5020 EXPECT_EQ(1U, GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom)); in TEST_P()
|
/packages/modules/DnsResolver/ |
D | resolv_unit_test.cpp | 1136 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom), 1U); in TEST_F() 1137 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F()
|