From ff4e8823992cba2c599d26add3087cc28410fc27 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Wed, 13 Feb 2019 17:03:00 +0000 Subject: test: v4l2_device: Rename dev_ to capture_ Change the variable name globally throughout the tests. Repair the V4L2DeviceTest constructor style, as checkstyle complained. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- test/v4l2_device/double_open.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/v4l2_device/double_open.cpp') diff --git a/test/v4l2_device/double_open.cpp b/test/v4l2_device/double_open.cpp index ca2b2014..7ec80a60 100644 --- a/test/v4l2_device/double_open.cpp +++ b/test/v4l2_device/double_open.cpp @@ -22,10 +22,10 @@ protected: * Expect failure: The device has already been opened by the * V4L2DeviceTest base class */ - ret = dev_->open(); + ret = capture_->open(); if (!ret) { std::cout << "Double open erroneously succeeded" << std::endl; - dev_->close(); + capture_->close(); return TestFail; } -- cgit v1.2.1