Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp7448 const Result<DnsServerPair> dnsPair = in TEST_F() local
7450 ASSERT_RESULT_OK(dnsPair); in TEST_F()
7451 StartDns(*dnsPair->dnsServer, {{host_name, ns_type::ns_t_a, "192.0.2.0"}, in TEST_F()
7474 EXPECT_EQ(GetNumQueries(*dnsPair->dnsServer, host_name), expectedQueries); in TEST_F()
7486 const Result<DnsServerPair> dnsPair = network->addIpv4Dns(); in TEST_F() local
7487 ASSERT_RESULT_OK(dnsPair); in TEST_F()
7490 dnsPair->dnsServer->setResponseProbability(0.0); in TEST_F()
7491 dnsPair->dnsServer->setErrorRcode(static_cast<ns_rcode>(-1)); in TEST_F()
7492 StartDns(*dnsPair->dnsServer, {}); in TEST_F()
7509 const auto condition = [&]() { return GetNumQueries(*dnsPair->dnsServer, host_name) == 1U; }; in TEST_F()
[all …]