#include "remoting/host/mojo_video_capturer_list.h"
#include "base/memory/scoped_refptr.h"
#include "base/test/task_environment.h"
#include "remoting/base/auto_thread_task_runner.h"
#include "remoting/host/host_mock_objects.h"
#include "remoting/protocol/fake_desktop_capturer.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
FakeDesktopCapturer;
_;
Return;
namespace {
class MockCapturerEventHandler : public mojom::VideoCapturerEventHandler { … };
}
class MojoVideoCapturerListTest : public testing::Test { … };
mojom::CreateVideoCapturerResultPtr
MojoVideoCapturerListTest::CreateVideoCapturer(webrtc::ScreenId id) { … }
TEST_F(MojoVideoCapturerListTest, ExerciseOneCapturer) { … }
TEST_F(MojoVideoCapturerListTest, NonEmptyAfterCapturerCreated) { … }
TEST_F(MojoVideoCapturerListTest, DisconnectingEndpointRemovesCapturer) { … }
}