test: v4l2_device: Allow each test to specify which device and entity to test
Prepare for different tests which implements V4L2DeviceTest to specify which media device and entity they wish to test. There is no functional changes, all tests still use vivid to perform there tests. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -18,7 +18,7 @@ class CaptureAsyncTest : public V4L2DeviceTest
|
||||
{
|
||||
public:
|
||||
CaptureAsyncTest()
|
||||
: frames(0){};
|
||||
: V4L2DeviceTest("vivid", "vivid-000-vid-cap"), frames(0) {}
|
||||
|
||||
void receiveBuffer(Buffer *buffer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user