File indexing completed on 2025-01-05 03:58:14
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2010-06-27 0007 * Description : an unit-test to test XMP sidecar creation with DMetadata 0008 * 0009 * SPDX-FileCopyrightText: 2010 by Jakob Malm <jakob dot malm at gmail dot com> 0010 * SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_CREATE_XMP_SIDECAR_UTEST_H 0017 #define DIGIKAM_CREATE_XMP_SIDECAR_UTEST_H 0018 0019 // Local includes 0020 0021 #include "abstractunittest.h" 0022 #include "metaenginesettingscontainer.h" 0023 #include "dmetadatasettingscontainer.h" 0024 0025 class CreateXmpSidecarTest : public AbstractUnitTest 0026 { 0027 Q_OBJECT 0028 0029 public: 0030 0031 explicit CreateXmpSidecarTest(QObject* const parent = nullptr); 0032 0033 private: 0034 0035 void createXmpSidecar(const QString& file, 0036 const MetaEngineSettingsContainer& settings); 0037 0038 private Q_SLOTS: 0039 0040 void testCreateXmpSidecar(); 0041 }; 0042 0043 #endif // DIGIKAM_CREATE_XMP_SIDECAR_UTEST_H