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

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2010-06-21
0007  * Description : Test for SimpleTreeModel.
0008  *
0009  * SPDX-FileCopyrightText: 2010      by Michael G. Hansen <mike at mghansen dot de>
0010  * SPDX-FileCopyrightText: 2017-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_SIMPLETREEMODEL_UTEST_H
0017 #define DIGIKAM_SIMPLETREEMODEL_UTEST_H
0018 
0019 // Qt includes
0020 
0021 #include <QTest>
0022 
0023 class TestSimpleTreeModel : public QObject
0024 {
0025     Q_OBJECT
0026 
0027 public:
0028 
0029     explicit TestSimpleTreeModel(QObject* const parent = nullptr)
0030         : QObject(parent)
0031     {
0032     }
0033 
0034 private Q_SLOTS:
0035 
0036     void testNoOp();
0037     void testModel1();
0038 };
0039 
0040 #endif // DIGIKAM_SIMPLETREEMODEL_UTEST_H
0041