From patchwork Tue Jan 14 18:22:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 22567 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id CBB83C3301 for ; Tue, 14 Jan 2025 18:22:22 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8933B6854C; Tue, 14 Jan 2025 19:22:22 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=protonmail.com header.i=@protonmail.com header.b="ys2mpOZw"; dkim-atps=neutral Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 813EE6854C for ; Tue, 14 Jan 2025 19:22:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1736878939; x=1737138139; bh=0rY4KHEuGtq2y0k1dwL7rGGG5orpcUyUEQkaWHddg3w=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=ys2mpOZwE/zayQHEXpwbAkWffHbHA5I4sbh1sEzZfqvdW957j7qdoKpuPv9WcfiP0 xxJ2prSxYidCzrQ279RplEIGiBcNemXDG0p0ki+AV1uB3ig43ocJL2kM8d8zqnPO8U STHnoTLu+RCxnkA6lN+gmXhjD3Y5RKwBRxQxJZU1kgIihJYjWFXu/HJfmJWTBglXSY 16noLQh+VXY+fudU3zlTEKgNs8oGWasqPKj7C2EGO+Fk9joWlZa6I1nAtfBtdND2aQ xa5gt0car4gMGgDXWG2DEKgesmrvBg/saM+aZgDLEn/Y+UEaaWYMZ2Sp9Arhv0dPf7 1dUXe6IyCKeRQ== Date: Tue, 14 Jan 2025 18:22:17 +0000 To: libcamera-devel@lists.libcamera.org From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= Cc: Jacopo Mondi , Paul Elder Subject: [RFC PATCH v2 06/16] apps: lc-compliance: Put tests into anonymous namespace Message-ID: <20250114182143.1773762-7-pobrn@protonmail.com> In-Reply-To: <20250114182143.1773762-1-pobrn@protonmail.com> References: <20250114182143.1773762-1-pobrn@protonmail.com> Feedback-ID: 20568564:user:proton X-Pm-Message-ID: 44f9a8a737ff09879c188a6b2e681b818006bc53 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" There is no reason for these symbols to be global. Signed-off-by: Barnabás Pőcze Reviewed-by: Jacopo Mondi Reviewed-by: Paul Elder --- src/apps/lc-compliance/tests/capture_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apps/lc-compliance/tests/capture_test.cpp b/src/apps/lc-compliance/tests/capture_test.cpp index ad3a1da2f..db196a949 100644 --- a/src/apps/lc-compliance/tests/capture_test.cpp +++ b/src/apps/lc-compliance/tests/capture_test.cpp @@ -14,6 +14,8 @@ #include "environment.h" +namespace { + using namespace libcamera; const std::vector NUMREQUESTS = { 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 }; @@ -134,3 +136,5 @@ INSTANTIATE_TEST_SUITE_P(CaptureTests, testing::Combine(testing::ValuesIn(ROLES), testing::ValuesIn(NUMREQUESTS)), SingleStream::nameParameters); + +} /* namespace */