Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_stress_test.cpp78 const auto resolvInfo = mDnsClient.getResolverInfo(); in RunGetAddrInfoStressTest() local
79 ASSERT_RESULT_OK(resolvInfo); in RunGetAddrInfoStressTest()
80 EXPECT_EQ(0, resolvInfo.value().waitForPendingReqTimeoutCount); in RunGetAddrInfoStressTest()
Dresolv_integration_test.cpp338 const auto resolvInfo = mDnsClient.getResolverInfo(); in expectStatsFromGetResolverInfo() local
339 if (!resolvInfo.ok()) { in expectStatsFromGetResolverInfo()
340 ADD_FAILURE() << resolvInfo.error().message(); in expectStatsFromGetResolverInfo()
343 const std::vector<std::string>& res_servers = resolvInfo.value().dnsServers; in expectStatsFromGetResolverInfo()
344 const std::vector<ResolverStats>& res_stats = resolvInfo.value().stats; in expectStatsFromGetResolverInfo()
697 const auto resolvInfo = mDnsClient.getResolverInfo(); in TEST_F() local
698 ASSERT_RESULT_OK(resolvInfo); in TEST_F()
699 EXPECT_EQ(servers.size(), resolvInfo.value().dnsServers.size()); in TEST_F()
700 EXPECT_EQ(domains.size(), resolvInfo.value().domains.size()); in TEST_F()
701 EXPECT_TRUE(resolvInfo.value().dotServers.empty()); in TEST_F()
[all …]