Searched refs:GetNumQueriesForProtocol (Results 1 – 4 of 4) sorted by relevance
| /packages/modules/DnsResolver/tests/ |
| D | resolv_test_utils.cpp | 117 size_t GetNumQueriesForProtocol(const test::DNSResponder& dns, const int protocol, in GetNumQueriesForProtocol() function
|
| D | resolv_unit_test.cpp | 1331 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom), 1U); in TEST_F() 1332 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F() 1371 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom), 2U); in TEST_F() 1372 EXPECT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom), 2U); in TEST_F()
|
| D | resolv_test_utils.h | 381 size_t GetNumQueriesForProtocol(const test::DNSResponder& dns, const int protocol,
|
| D | resolv_integration_test.cpp | 5444 EXPECT_EQ(1U, GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom)); in TEST_F() 5445 EXPECT_EQ(0U, GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom)); in TEST_F() 5504 ASSERT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom), 1U); in TEST_F() 5505 ASSERT_EQ(GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F() 5506 ASSERT_EQ(GetNumQueriesForProtocol(dns2, IPPROTO_UDP, kHelloExampleCom), config.numQueries); in TEST_F() 5507 ASSERT_EQ(GetNumQueriesForProtocol(dns2, IPPROTO_TCP, kHelloExampleCom), 1U); in TEST_F() 6111 EXPECT_EQ(1U, GetNumQueriesForProtocol(dns, IPPROTO_UDP, kHelloExampleCom)); in TEST_P() 6112 EXPECT_EQ(1U, GetNumQueriesForProtocol(dns, IPPROTO_TCP, kHelloExampleCom)); in TEST_P()
|