summaryrefslogtreecommitdiff
path: root/test/v4l2_device/double_open.cpp
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-02-13 17:03:00 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2019-02-13 17:27:33 +0000
commitff4e8823992cba2c599d26add3087cc28410fc27 (patch)
tree431ed6065ce82a0dc7006ba0abb3a414daf34332 /test/v4l2_device/double_open.cpp
parent819eb422b39afbfb618ed3b1618cf03bebec1abd (diff)
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/v4l2_device/double_open.cpp')
-rw-r--r--test/v4l2_device/double_open.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}