[Video Capture Linux] Add FakeV4L2Impl and a simple first test case
Adds a class FakeV4L2Impl for replacing the actual V4L2 Apis in unit testing. Adds a simple first test case for enumerating a single fake device. This CL is part of a series, see Design Doc at https://docs.google.com/document/d/1ihGDZloUGdDpZ5XfmiI3AcqsSxOP9kOe5GxXOTqpHW4/edit?usp=sharing Test: capture_unittests --gtest_filter=VideoCaptureDeviceFactoryLinuxTest Bug: 768887 Change-Id: I7db4bed17453c4636158b9660ad1a5da4d74781c Reviewed-on: https://chromium-review.googlesource.com/1123021 Commit-Queue: Christian Fremerey <chfremer@chromium.org> Reviewed-by:Emircan Uysaler <emircan@chromium.org> Cr-Commit-Position: refs/heads/master@{#576138}
Showing
Please register or sign in to comment