class InstanceResponderTest

Defined at line 45 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

Public Methods

void InstanceResponderTest ()

Defined at line 47 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

Protected Methods

DnsName service_full_name ()

Defined at line 50 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

DnsName instance_full_name ()

Defined at line 52 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

void ExpectNoReportSuccessCall ()

Expects that the agent has not called |ReportSuccess|.

Defined at line 57 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

void ExpectNoGetPublicationCall ()

Expects that the agent has not called |GetPublication|.

Defined at line 60 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

fit::function<void (std::unique_ptr<Mdns::Publication>)> ExpectGetPublicationCall (PublicationCause publication_cause, const DnsLabel & subtype, const std::vector<inet::SocketAddress> & source_addresses)

Expects that the agent has called |GetPublication| with the given parameters. Returns the

callback passed to |GetPublication|.

Defined at line 124 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

void ExpectNoOther ()

Expects that nothing else has happened.

Defined at line 138 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

void ExpectAnnouncements (Media media, IpVersions ip_versions, const DnsName & host_full_name, const std::vector<inet::IpAddress> & addresses, inet::IpPort port)

Expects a sequence of announcements made after startup.

Defined at line 144 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

void ExpectAnnouncement (Media media, IpVersions ip_versions, const DnsName & host_full_name, const std::vector<inet::IpAddress> & addresses, inet::IpPort port)

Expects a single announcement (a 'GetPublication' call and subsequent publication).

Defined at line 158 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

void ExpectPublication (Media media, IpVersions ip_versions, const DnsName & host_full_name, const std::vector<inet::IpAddress> & addresses, inet::IpPort port)

Expects a single multicast publication.

Defined at line 171 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

void ExpectPublication (ReplyAddress reply_address, const DnsLabel & subtype, const DnsName & host_full_name, const std::vector<inet::IpAddress> & addresses, inet::IpPort port, MdnsResourceSection ptr_section, MdnsResourceSection srv_section, MdnsResourceSection txt_section)

Expects a single publication to the given reply address and subtype.

Defined at line 179 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc

ReplyAddress MulticastReply (Media media, IpVersions ip_versions)

Defined at line 167 of file ../../src/connectivity/network/mdns/service/test/instance_responder_test.cc