chromium/remoting/protocol/webrtc_video_track_source_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/protocol/webrtc_video_track_source.h"

#include <memory>
#include <utility>

#include "base/functional/callback_helpers.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
#include "third_party/webrtc/rtc_base/ref_counted_object.h"

Field;
InSequence;
Property;
BasicDesktopFrame;
DesktopSize;
VideoFrame;

namespace remoting::protocol {

namespace {

class MockVideoSink : public rtc::VideoSinkInterface<VideoFrame> {};

}  // namespace

class WebrtcVideoTrackSourceTest : public testing::Test {};

TEST_F(WebrtcVideoTrackSourceTest, AddSinkTriggersCallback) {}

TEST_F(WebrtcVideoTrackSourceTest, CapturedFrameSentToAddedSink) {}

TEST_F(WebrtcVideoTrackSourceTest, FramesHaveIncrementingIds) {}

}  // namespace remoting::protocol