Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp942 test::DNSResponder mdnsv4("127.0.0.3", test::kDefaultMdnsListenService); in TEST_F() local
944 mdnsv4.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
946 ASSERT_TRUE(mdnsv4.startServer()); in TEST_F()
962 mdnsv4.clearQueries(); in TEST_F()
975 EXPECT_EQ(1U, GetNumQueries(mdnsv4, host_name)); in TEST_F()
981 EXPECT_EQ(1U, GetNumQueries(mdnsv4, host_name)); in TEST_F()
998 test::DNSResponder mdnsv4("127.0.0.3", test::kDefaultMdnsListenService); in TEST_F() local
1000 ASSERT_TRUE(mdnsv4.startServer()); in TEST_F()
1003 mdnsv4.clearQueries(); in TEST_F()
1016 mdnsv4.addMapping(illegalHostname, ns_type::ns_t_a, v4addr); in TEST_F()
[all …]
Dresolv_integration_test.cpp6442 test::DNSResponder mdnsv4("127.0.0.3", test::kDefaultMdnsListenService); in TEST_F() local
6443 mdnsv4.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
6447 ASSERT_TRUE(mdnsv4.startServer()); in TEST_F()
6449 mdnsv4.clearQueries(); in TEST_F()
6477 test::DNSResponder& mdns = config.ai_family == AF_INET ? mdnsv4 : mdnsv6; in TEST_F()
6495 EXPECT_EQ(0U, GetNumQueries(mdnsv4, "hello.local.")); in TEST_F()
6540 test::DNSResponder mdnsv4("127.0.0.3", test::kDefaultMdnsListenService); in TEST_F() local
6542 mdnsv4.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
6544 ASSERT_TRUE(mdnsv4.startServer()); in TEST_F()
6572 test::DNSResponder& mdns = config.ai_family == AF_INET ? mdnsv4 : mdnsv6; in TEST_F()
[all …]
Dresolv_private_dns_test.cpp464 test::DNSResponder mdnsv4("127.0.0.3", test::kDefaultMdnsListenService, in TEST_P() local
468 mdnsv4.setResponseProbability(0.0); in TEST_P()
470 ASSERT_TRUE(mdnsv4.startServer()); in TEST_P()
505 EXPECT_EQ(1U, GetNumQueries(mdnsv4, host_name)); in TEST_P()
518 mdnsv4.clearQueries(); in TEST_P()
522 EXPECT_EQ(1U, GetNumQueries(mdnsv4, host_name)); in TEST_P()