2016-11-30 07:51:13 -08:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
2017-09-15 06:47:31 +02:00
|
|
|
#ifndef MODULES_RTP_RTCP_MOCKS_MOCK_RTCP_RTT_STATS_H_
|
|
|
|
|
#define MODULES_RTP_RTCP_MOCKS_MOCK_RTCP_RTT_STATS_H_
|
2016-11-30 07:51:13 -08:00
|
|
|
|
2017-09-15 06:47:31 +02:00
|
|
|
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
|
|
|
|
|
#include "test/gmock.h"
|
2016-11-30 07:51:13 -08:00
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
|
|
|
|
class MockRtcpRttStats : public RtcpRttStats {
|
|
|
|
|
public:
|
2020-05-07 20:43:21 +02:00
|
|
|
MOCK_METHOD(void, OnRttUpdate, (int64_t rtt), (override));
|
2020-05-26 19:18:17 +02:00
|
|
|
MOCK_METHOD(int64_t, LastProcessedRtt, (), (const, override));
|
2016-11-30 07:51:13 -08:00
|
|
|
};
|
|
|
|
|
} // namespace webrtc
|
2017-09-15 06:47:31 +02:00
|
|
|
#endif // MODULES_RTP_RTCP_MOCKS_MOCK_RTCP_RTT_STATS_H_
|