Home
last modified time | relevance | path

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

/external/chromium_org/net/dns/
Dmock_mdns_socket_factory.cc15 MockMDnsDatagramServerSocket::MockMDnsDatagramServerSocket( in MockMDnsDatagramServerSocket() function in net::MockMDnsDatagramServerSocket
20 MockMDnsDatagramServerSocket::~MockMDnsDatagramServerSocket() { in ~MockMDnsDatagramServerSocket()
23 int MockMDnsDatagramServerSocket::SendTo(IOBuffer* buf, int buf_len, in SendTo()
30 int MockMDnsDatagramServerSocket::GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
35 void MockMDnsDatagramServerSocket::SetResponsePacket( in SetResponsePacket()
40 int MockMDnsDatagramServerSocket::HandleRecvNow( in HandleRecvNow()
49 int MockMDnsDatagramServerSocket::HandleRecvLater( in HandleRecvLater()
72 scoped_ptr<testing::NiceMock<MockMDnsDatagramServerSocket> > new_socket( in CreateSocket()
73 new testing::NiceMock<MockMDnsDatagramServerSocket>(address_family)); in CreateSocket()
Dmock_mdns_socket_factory.h15 class MockMDnsDatagramServerSocket : public DatagramServerSocket {
17 explicit MockMDnsDatagramServerSocket(AddressFamily address_family);
18 ~MockMDnsDatagramServerSocket();
Dmdns_client_unittest.cc1048 socket_ipv4_ = new MockMDnsDatagramServerSocket(ADDRESS_FAMILY_IPV4); in SetUp()
1049 socket_ipv6_ = new MockMDnsDatagramServerSocket(ADDRESS_FAMILY_IPV6); in SetUp()
1060 MockMDnsDatagramServerSocket* socket_ipv4_;
1061 MockMDnsDatagramServerSocket* socket_ipv6_;
1076 Invoke(socket_ipv6_, &MockMDnsDatagramServerSocket::HandleRecvNow)) in TEST_F()
1092 Invoke(socket_ipv6_, &MockMDnsDatagramServerSocket::HandleRecvLater)) in TEST_F()