#include "media/capture/video/linux/video_capture_device_factory_v4l2.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "media/capture/video/linux/fake_device_provider.h"
#include "media/capture/video/linux/fake_v4l2_impl.h"
#include "media/capture/video/mock_video_capture_device_client.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
InvokeWithoutArgs;
namespace media {
class VideoCaptureDeviceFactoryV4L2Test
: public ::testing::TestWithParam<VideoCaptureDeviceDescriptor> { … };
TEST_P(VideoCaptureDeviceFactoryV4L2Test, EnumerateSingleFakeV4L2DeviceUsing) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(VideoCaptureDeviceFactoryV4L2Test,
ReceiveFramesFromSinglePlaneFakeDevice) { … }
}