Home | History | Annotate | Download | only in tests

Lines Matching refs:host_name

275     const char* host_name = "hello.example.com.";
278 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3");
293 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name));
374 const char* host_name = "howdy.example.com.";
377 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4");
378 dns.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4");
383 dns2.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4");
384 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4");
394 size_t found = GetNumQueries(dns, host_name);
409 found = GetNumQueries(dns, host_name);
427 found = GetNumQueries(dns, host_name);
428 size_t found2 = GetNumQueries(dns2, host_name);
450 const char* host_name = "hola.example.com.";
453 dns.addMapping(host_name
462 EXPECT_EQ(1U, GetNumQueries(dns, host_name));
474 const char* host_name = "nihao.example2.com.";
477 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3");
484 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name));
499 const char* host_name = "ohayou.example.com.";
504 dns0.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::5");
505 dns1.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::6");
537 EXPECT_EQ(0U, GetNumQueries(dns0, host_name));
538 EXPECT_EQ(1U, GetNumQueries(dns1, host_name));
550 const char* host_name = "konbanha.example.com.";
557 dns0.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::5");
558 dns1.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::6");
559 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::7");