blob: a997ce854174c3e06069539d59143ea5ed4d06fd [file] [log] [blame]
stefan@webrtc.org7e9315b2013-12-04 10:24:261/*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Mirko Bonadei92ea95e2017-09-15 04:47:3111#ifndef TEST_MOCK_TRANSPORT_H_
12#define TEST_MOCK_TRANSPORT_H_
stefan@webrtc.org7e9315b2013-12-04 10:24:2613
Mirko Bonadei92ea95e2017-09-15 04:47:3114#include "api/call/transport.h"
15#include "test/gmock.h"
stefan@webrtc.org7e9315b2013-12-04 10:24:2616
17namespace webrtc {
18
pbos2d566682015-09-28 16:59:3119class MockTransport : public Transport {
stefan@webrtc.org7e9315b2013-12-04 10:24:2620 public:
Danil Chapovalovdd7e2842018-03-09 15:37:0321 MockTransport();
22 ~MockTransport();
23
Tim Na9526c552020-02-20 19:53:1324 MOCK_METHOD(bool,
25 SendRtp,
Harald Alvestrandd43af912023-08-15 11:41:4526 (rtc::ArrayView<const uint8_t>, const PacketOptions&),
Tim Na9526c552020-02-20 19:53:1327 (override));
Harald Alvestrandd43af912023-08-15 11:41:4528 MOCK_METHOD(bool, SendRtcp, (rtc::ArrayView<const uint8_t>), (override));
stefan@webrtc.org7e9315b2013-12-04 10:24:2629};
Tim Na9526c552020-02-20 19:53:1330
stefan@webrtc.org7e9315b2013-12-04 10:24:2631} // namespace webrtc
Tim Na9526c552020-02-20 19:53:1332
Mirko Bonadei92ea95e2017-09-15 04:47:3133#endif // TEST_MOCK_TRANSPORT_H_