diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-02-13 17:03:00 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-02-13 17:27:33 +0000 |
commit | ff4e8823992cba2c599d26add3087cc28410fc27 (patch) | |
tree | 431ed6065ce82a0dc7006ba0abb3a414daf34332 /test/v4l2_device/v4l2_device_test.cpp | |
parent | 819eb422b39afbfb618ed3b1618cf03bebec1abd (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/v4l2_device_test.cpp')
-rw-r--r-- | test/v4l2_device/v4l2_device_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/v4l2_device/v4l2_device_test.cpp b/test/v4l2_device/v4l2_device_test.cpp index a2a7ba82..2bdf8cfe 100644 --- a/test/v4l2_device/v4l2_device_test.cpp +++ b/test/v4l2_device/v4l2_device_test.cpp @@ -52,16 +52,16 @@ int V4L2DeviceTest::init() if (!entity) return TestSkip; - dev_ = new V4L2Device(entity); - if (!dev_) + capture_ = new V4L2Device(entity); + if (!capture_) return TestFail; - return dev_->open(); + return capture_->open(); } void V4L2DeviceTest::cleanup() { media_->release(); - delete dev_; + delete capture_; }; |