Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStatsTest.cpp390 const IPSockAddr server4 = IPSockAddr::toIPSockAddr("2001:db8:cafe:d00d::2", 53); in TEST_F() local
396 EXPECT_TRUE(mDnsStats.setServers({server1, server2, server3, server4}, PROTO_UDP)); in TEST_F()
397 EXPECT_TRUE(mDnsStats.setServers({server1, server2, server3, server4}, PROTO_DOT)); in TEST_F()
399 testing::ElementsAreArray({server1, server2, server3, server4})); in TEST_F()
404 testing::ElementsAreArray({server2, server3, server4, server1})); in TEST_F()
409 testing::ElementsAreArray({server2, server4, server3, server1})); in TEST_F()
415 testing::ElementsAreArray({server4, server2, server3, server1})); in TEST_F()
418 EXPECT_TRUE(mDnsStats.addStats(server4, makeDnsQueryEvent(PROTO_DOT, NS_R_NO_ERROR, 10ms))); in TEST_F()
420 testing::ElementsAreArray({server4, server2, server3, server1})); in TEST_F()
423 EXPECT_TRUE(mDnsStats.addStats(server4, makeDnsQueryEvent(PROTO_UDP, NS_R_NO_ERROR, 500000ms))); in TEST_F()
[all …]