Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp943 test::DNSResponder mdnsv6("::1", test::kDefaultMdnsListenService); in TEST_F() local
945 mdnsv6.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
947 ASSERT_TRUE(mdnsv6.startServer()); in TEST_F()
963 mdnsv6.clearQueries(); in TEST_F()
976 EXPECT_EQ(1U, GetNumQueries(mdnsv6, host_name)); in TEST_F()
986 EXPECT_EQ(1U, GetNumQueries(mdnsv6, host_name)); in TEST_F()
999 test::DNSResponder mdnsv6("::1", test::kDefaultMdnsListenService); in TEST_F() local
1001 ASSERT_TRUE(mdnsv6.startServer()); in TEST_F()
1004 mdnsv6.clearQueries(); in TEST_F()
1017 mdnsv6.addMapping(illegalHostname, ns_type::ns_t_aaaa, v6addr); in TEST_F()
[all …]
Dresolv_integration_test.cpp6444 test::DNSResponder mdnsv6("::1", test::kDefaultMdnsListenService); in TEST_F() local
6445 mdnsv6.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
6448 ASSERT_TRUE(mdnsv6.startServer()); in TEST_F()
6450 mdnsv6.clearQueries(); in TEST_F()
6477 test::DNSResponder& mdns = config.ai_family == AF_INET ? mdnsv4 : mdnsv6; in TEST_F()
6541 test::DNSResponder mdnsv6("::1", test::kDefaultMdnsListenService); in TEST_F() local
6543 mdnsv6.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
6545 ASSERT_TRUE(mdnsv6.startServer()); in TEST_F()
6572 test::DNSResponder& mdns = config.ai_family == AF_INET ? mdnsv4 : mdnsv6; in TEST_F()
6614 test::DNSResponder mdnsv6("::1", test::kDefaultMdnsListenService); in TEST_F() local
[all …]
Dresolv_private_dns_test.cpp466 test::DNSResponder mdnsv6("::1", test::kDefaultMdnsListenService, static_cast<ns_rcode>(-1)); in TEST_P() local
469 mdnsv6.setResponseProbability(0.0); in TEST_P()
471 ASSERT_TRUE(mdnsv6.startServer()); in TEST_P()
506 EXPECT_EQ(1U, GetNumQueries(mdnsv6, host_name)); in TEST_P()
519 mdnsv6.clearQueries(); in TEST_P()
523 EXPECT_EQ(1U, GetNumQueries(mdnsv6, host_name)); in TEST_P()