Lines Matching refs:dnsPair

7448         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()
7788 const Result<DnsServerPair> dnsPair = network.addIpv4Dns(); in TEST_F() local
7789 ASSERT_RESULT_OK(dnsPair); in TEST_F()
7790 StartDns(*dnsPair->dnsServer, {{host_name, ns_type::ns_t_a, "192.0.2.0"}, in TEST_F()
7800 EXPECT_EQ(GetNumQueriesForType(*dnsPair->dnsServer, ns_type::ns_t_a, host_name), 1U); in TEST_F()
7801 EXPECT_EQ(GetNumQueriesForType(*dnsPair->dnsServer, ns_type::ns_t_aaaa, host_name), 0U); in TEST_F()
7804 dnsPair->dnsServer->clearQueries(); in TEST_F()
7819 EXPECT_EQ(GetNumQueriesForType(*dnsPair->dnsServer, ns_type::ns_t_a, host_name), 1U); in TEST_F()
7820 EXPECT_EQ(GetNumQueriesForType(*dnsPair->dnsServer, ns_type::ns_t_aaaa, host_name), 1U); in TEST_F()
7842 const Result<DnsServerPair> dnsPair = network.addIpv4Dns(); in TEST_F() local
7843 ASSERT_RESULT_OK(dnsPair); in TEST_F()
7844 StartDns(*dnsPair->dnsServer, {}); in TEST_F()
7864 EXPECT_EQ(GetNumQueriesForType(*dnsPair->dnsServer, ns_type::ns_t_a, host_name), 0U); in TEST_F()
7865 EXPECT_EQ(GetNumQueriesForType(*dnsPair->dnsServer, ns_type::ns_t_aaaa, host_name), 0U); in TEST_F()