#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "media/capture/video/video_capture_device_info.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/video_capture/public/cpp/mock_producer.h"
#include "services/video_capture/public/cpp/mock_video_frame_handler.h"
#include "services/video_capture/public/mojom/video_frame_handler.mojom.h"
#include "services/video_capture/shared_memory_virtual_device_mojo_adapter.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
Invoke;
Mock;
namespace video_capture {
namespace {
const std::string kTestDeviceId = …;
const std::string kTestDeviceName = …;
const gfx::Size kTestFrameSize = …;
const media::VideoPixelFormat kTestPixelFormat = …;
}
class VirtualDeviceTest : public ::testing::Test { … };
TEST_F(VirtualDeviceTest, OnFrameReadyInBufferWithoutReceiver) { … }
TEST_F(VirtualDeviceTest, OnFrameReadyInBufferWithReceiver) { … }
}