mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 17:15:07 +03:00
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>
This commit is contained in:
parent
819eb422b3
commit
ff4e882399
6 changed files with 21 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue