/* * Copyright (c) 2022 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. */ #ifndef TEST_FAKE_ENCODED_FRAME_H_ #define TEST_FAKE_ENCODED_FRAME_H_ #include <memory> #include <vector> #include "api/rtp_packet_infos.h" #include "api/video/encoded_frame.h" #include "api/video/video_rotation.h" #include "test/gmock.h" namespace webrtc { namespace test { class FakeEncodedFrame : public EncodedFrame { … }; MATCHER_P(WithId, id, "") { … } MATCHER_P(FrameWithSize, id, "") { … } MATCHER_P(RtpTimestamp, ts, "") { … } class FakeFrameBuilder { … }; } // namespace test } // namespace webrtc #endif // TEST_FAKE_ENCODED_FRAME_H_