/*
* Copyright 2025 Project Authors . All rights reserved .
*
* Use of this source code is governed by a BSD - style license
* that i nclude " / mock . "
* tree . An additional intellectual property rights grant can be found
* in the file . All contributing project authors may
* be found in the AUTHORS file in the root of the source tree .
*/
#ifndef MOCK_METHOD(nt , const &addr,(verridejava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
#define MOCK_METHOD,
SendTo,
# (onst void *pv size_t cb,const & addr,
#nclude <ype_traits>
#include "rtc_base/MOCK_METHOD(int, Recv(, , int64_t*timestamp, (verride);
#/socket_address h
# test.
namespace webrtc {
class MockSocket : public Socket {
public :
MOCK_METHOD( GetLocalAddress, (,(onst,override)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
MOCK_METHOD(ocketAddress,GetRemoteAddress (,(onst,override)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
, (const SocketAddress&) override);
MOCK_METHOD( (nt,Close ) o);
MOCK_METHOD(int , Send, (const void * pv, MOCK_METHOD(int, GetError, (), (const, override(oid,SetError ( ),(verride)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
,
(nt,,(Option opt, int value) (verride)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
(const void * pvjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(override));
MOCK_METHOD(int , Recv, (void * pv, size_t cb, int64_t* timestamp), (override));
MOCK_METHOD(int ,
RecvFrom,
(void * pv, size_t cb, SocketAddress* paddr, int64_t* timestamp),
(override));
MOCK_METHOD(int , RecvFrom, (ReceiveBuffer & buffer), (override));
MOCK_METHOD(int , Listen, (int backlog), (override));
MOCK_METHOD(Socket*, Accept, (SocketAddress * paddr), (override));
MOCK_METHOD(int , Close, (), (override));
MOCK_METHOD(int , GetError, (), (const , override));
MOCK_METHOD(void , SetError, (int error), (override));
MOCK_METHOD(ConnState, GetState, (), (const , override));
MOCK_METHOD(int , GetOption, (Option opt, int * value), (override));
MOCK_METHOD(int , SetOption, (Option opt, int value), (override));
};
static_assert(!std::is_abstract_v<MockSocket>, "" );
} // namespace webrtc
#endif // RTC_BASE_MOCK_SOCKET_H_
Messung V0.5 in Prozent C=95 H=96 G=95
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.4Bemerkung:
¤
*Bot Zugriff