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/stream_on_off.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/v4l2_device/stream_on_off.cpp') diff --git a/test/v4l2_device/stream_on_off.cpp b/test/v4l2_device/stream_on_off.cpp index 861d8d69..ea1b3f5b 100644 --- a/test/v4l2_device/stream_on_off.cpp +++ b/test/v4l2_device/stream_on_off.cpp @@ -16,15 +16,15 @@ protected: pool_.createBuffers(bufferCount); - int ret = dev_->exportBuffers(&pool_); + int ret = capture_->exportBuffers(&pool_); if (ret) return TestFail; - ret = dev_->streamOn(); + ret = capture_->streamOn(); if (ret) return TestFail; - ret = dev_->streamOff(); + ret = capture_->streamOff(); if (ret) return TestFail; -- cgit v1.2.1