File indexing completed on 2025-01-05 03:58:01

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2009-08-01
0007  * Description : a test for the CameraNameHelper
0008  *
0009  * SPDX-FileCopyrightText: 2009 by Andi Clemens <andi dot clemens at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_CAMERA_NAME_HELPER_UTEST_H
0016 #define DIGIKAM_CAMERA_NAME_HELPER_UTEST_H
0017 
0018 // Qt includes
0019 
0020 #include <QObject>
0021 
0022 class CameraNameHelperTest : public QObject
0023 {
0024     Q_OBJECT
0025 
0026 public:
0027 
0028     explicit CameraNameHelperTest(QObject* const parent = nullptr)
0029         : QObject(parent)
0030     {
0031     }
0032 
0033 private Q_SLOTS:
0034 
0035     void testCreateCameraName();
0036     void testCreateCameraName_data();
0037 
0038     void testSameDevices();
0039     void testSameDevices_data();
0040 
0041     void testCameraName_data();
0042     void testCameraName();
0043 
0044     void testCameraNameAutoDetected_data();
0045     void testCameraNameAutoDetected();
0046 };
0047 
0048 #endif // DIGIKAM_CAMERA_NAME_HELPER_UTEST_H