Searched refs:FakeUdpSocket (Results 1 – 13 of 13) sorted by relevance
11 FakeUdpSocket::FakeUdpSocket(TaskRunner* task_runner, in FakeUdpSocket() function in openscreen::FakeUdpSocket16 FakeUdpSocket::~FakeUdpSocket() = default;18 bool FakeUdpSocket::IsIPv4() const { in IsIPv4()22 bool FakeUdpSocket::IsIPv6() const { in IsIPv6()26 IPEndpoint FakeUdpSocket::GetLocalEndpoint() const { in GetLocalEndpoint()30 void FakeUdpSocket::Bind() { in Bind()35 void FakeUdpSocket::SetMulticastOutboundInterface( in SetMulticastOutboundInterface()42 void FakeUdpSocket::JoinMulticastGroup(const IPAddress& address, in JoinMulticastGroup()49 void FakeUdpSocket::SetDscp(DscpMode mode) { in SetDscp()54 void FakeUdpSocket::MockReceivePacket(UdpPacket packet) { in MockReceivePacket()[all …]
20 class FakeUdpSocket : public UdpSocket {34 explicit FakeUdpSocket(TaskRunner* task_runner = nullptr,37 ~FakeUdpSocket() override;
22 testing::StrictMock<FakeUdpSocket::MockClient> client; in TEST()40 testing::StrictMock<FakeUdpSocket::MockClient> client; in TEST()
83 std::unique_ptr<FakeUdpSocket> client_socket_;84 std::unique_ptr<FakeUdpSocket> server_socket_;
31 std::make_unique<FakeUdpSocket>(task_runner_, fake_client_factory.get()); in FakeQuicBridge()40 std::make_unique<FakeUdpSocket>(task_runner_, fake_server_factory.get()); in FakeQuicBridge()
48 FakeUdpSocket socket; in TEST()103 FakeUdpSocket socket; in TEST()
156 FakeUdpSocket::MockClient socket_client; in TEST_F()157 FakeUdpSocket socket(nullptr, &socket_client); in TEST_F()
80 FakeUdpSocket socket_;
176 FakeUdpSocket socket_;
178 FakeUdpSocket socket_;
231 FakeUdpSocket socket_;
214 FakeUdpSocket socket_;
110 FakeUdpSocket::MockClient client; in TEST()121 FakeUdpSocket::MockClient client; in TEST()