• Home
  • Raw
  • Download

Lines Matching refs:domain_

140     EXPECT_CALL(probe_manager_, IsDomainClaimed(domain_))  in TestUniqueRecordRegistrationWorkflow()
146 auto records = publisher_.GetRecords(domain_, type, DnsClass::kIN); in TestUniqueRecordRegistrationWorkflow()
160 CheckPublishedRecords(domain_, type, {record}); in TestUniqueRecordRegistrationWorkflow()
161 EXPECT_TRUE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow()
167 CheckPublishedRecords(domain_, type, {record}); in TestUniqueRecordRegistrationWorkflow()
168 EXPECT_TRUE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow()
174 CheckPublishedRecords(domain_, type, {record}); in TestUniqueRecordRegistrationWorkflow()
175 EXPECT_TRUE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow()
185 CheckPublishedRecords(domain_, type, {record2}); in TestUniqueRecordRegistrationWorkflow()
186 EXPECT_TRUE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow()
196 CheckPublishedRecords(domain_, type, {record, record2}); in TestUniqueRecordRegistrationWorkflow()
197 EXPECT_TRUE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow()
207 CheckPublishedRecords(domain_, type, {record}); in TestUniqueRecordRegistrationWorkflow()
208 EXPECT_TRUE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow()
214 CheckPublishedRecords(domain_, type, {record}); in TestUniqueRecordRegistrationWorkflow()
215 EXPECT_TRUE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow()
225 CheckPublishedRecords(domain_, type, {}); in TestUniqueRecordRegistrationWorkflow()
226 EXPECT_FALSE(publisher_.IsNonPtrRecordPresent(domain_)); in TestUniqueRecordRegistrationWorkflow()
237 DomainName domain_{"instance", "_googlecast", "_tcp", "local"}; member in openscreen::discovery::MdnsPublisherTest
242 const MdnsRecord record1 = GetFakeARecord(domain_); in TEST_F()
244 GetFakeARecord(domain_, std::chrono::seconds(1000)); in TEST_F()
249 const MdnsRecord record1 = GetFakeAAAARecord(domain_); in TEST_F()
251 GetFakeAAAARecord(domain_, std::chrono::seconds(1000)); in TEST_F()
256 const MdnsRecord record1 = GetFakeTxtRecord(domain_); in TEST_F()
258 GetFakeTxtRecord(domain_, std::chrono::seconds(1000)); in TEST_F()
263 const MdnsRecord record1 = GetFakeSrvRecord(domain_); in TEST_F()
265 GetFakeSrvRecord(domain_, std::chrono::seconds(1000)); in TEST_F()
270 const MdnsRecord record = GetFakePtrRecord(domain_); in TEST_F()
272 GetFakePtrRecord(domain_, std::chrono::seconds(1000)); in TEST_F()
274 EXPECT_CALL(probe_manager_, IsDomainClaimed(domain_)) in TEST_F()
281 auto records = publisher_.GetRecords(domain_, type, DnsClass::kIN); in TEST_F()
349 EXPECT_CALL(probe_manager_, IsDomainClaimed(domain_)) in TEST_F()
351 EXPECT_FALSE(publisher_.RegisterRecord(GetFakePtrRecord(domain_)).ok()); in TEST_F()
352 EXPECT_FALSE(publisher_.RegisterRecord(GetFakeSrvRecord(domain_)).ok()); in TEST_F()
353 EXPECT_FALSE(publisher_.RegisterRecord(GetFakeTxtRecord(domain_)).ok()); in TEST_F()
354 EXPECT_FALSE(publisher_.RegisterRecord(GetFakeARecord(domain_)).ok()); in TEST_F()
355 EXPECT_FALSE(publisher_.RegisterRecord(GetFakeAAAARecord(domain_)).ok()); in TEST_F()
359 EXPECT_CALL(probe_manager_, IsDomainClaimed(domain_)) in TEST_F()
365 const MdnsRecord record = GetFakeARecord(domain_); in TEST_F()