{"id":1178,"url":"https://patchwork.libcamera.org/api/patches/1178/?format=json","web_url":"https://patchwork.libcamera.org/patch/1178/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20190508165814.26201-2-niklas.soderlund@ragnatech.se>","date":"2019-05-08T16:58:10","name":"[libcamera-devel,1/5] test: v4l2_device: Order class sections","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"df2428cead1431e9510613eb228e9d52afad2629","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/1178/mbox/","series":[{"id":301,"url":"https://patchwork.libcamera.org/api/series/301/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=301","date":"2019-05-08T16:58:09","name":"test: v4l2_device: Cleanups and a small speed increase","version":1,"mbox":"https://patchwork.libcamera.org/series/301/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/1178/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/1178/checks/","tags":{},"headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net\n\t[195.74.38.229])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8F45A60E59\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  8 May 2019 18:58:30 +0200 (CEST)","from localhost.localdomain (unknown [79.138.136.66])\n\tby bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA\n\tid 806ae0dc-71b2-11e9-81fd-0050569116f7;\n\tWed, 08 May 2019 18:58:28 +0200 (CEST)"],"X-Halon-ID":"806ae0dc-71b2-11e9-81fd-0050569116f7","Authorized-sender":"niklas@soderlund.pp.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed,  8 May 2019 18:58:10 +0200","Message-Id":"<20190508165814.26201-2-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.21.0","In-Reply-To":"<20190508165814.26201-1-niklas.soderlund@ragnatech.se>","References":"<20190508165814.26201-1-niklas.soderlund@ragnatech.se>","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 1/5] test: v4l2_device: Order class\n\tsections","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Wed, 08 May 2019 16:58:30 -0000"},"content":"Order the sections of a class public, protected and private. There is no\nfunctional change only restructuring of existing code to align with the\nstyle of other tests.\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n---\n test/v4l2_device/buffer_sharing.cpp | 16 ++++++++--------\n 1 file changed, 8 insertions(+), 8 deletions(-)","diff":"diff --git a/test/v4l2_device/buffer_sharing.cpp b/test/v4l2_device/buffer_sharing.cpp\nindex 45b07fc4905b826e..09695239ee4b9e80 100644\n--- a/test/v4l2_device/buffer_sharing.cpp\n+++ b/test/v4l2_device/buffer_sharing.cpp\n@@ -27,14 +27,6 @@ public:\n \t{\n \t}\n \n-private:\n-\tconst unsigned int bufferCount = 4;\n-\n-\tV4L2Device *output_;\n-\n-\tunsigned int framesCaptured_;\n-\tunsigned int framesOutput_;\n-\n protected:\n \tint init()\n \t{\n@@ -182,6 +174,14 @@ protected:\n \n \t\tV4L2DeviceTest::cleanup();\n \t}\n+\n+private:\n+\tconst unsigned int bufferCount = 4;\n+\n+\tV4L2Device *output_;\n+\n+\tunsigned int framesCaptured_;\n+\tunsigned int framesOutput_;\n };\n \n TEST_REGISTER(BufferSharingTest);\n","prefixes":["libcamera-devel","1/5"]}