File indexing completed on 2024-04-28 08:42:30

0001 /*
0002     SPDX-FileCopyrightText: 2011 Michal Malek <michalm@jabster.pl>
0003     SPDX-FileCopyrightText: 1998-2009 Sebastian Trueg <trueg@k3b.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef K3B_DATA_PROJECT_MODEL_TEST_H
0009 #define K3B_DATA_PROJECT_MODEL_TEST_H
0010 
0011 #include <QObject>
0012 #include <QPointer>
0013 
0014 namespace K3b { class DataDoc; }
0015 
0016 class DataProjectModelTest : public QObject
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     DataProjectModelTest();
0022 
0023 private slots:
0024     void init(); // executed before each test function
0025     void cleanp(); // executed after each test function
0026     void testCreate();
0027     void testAdd();
0028     void testRemove();
0029 
0030 private:
0031     QPointer<K3b::DataDoc> m_doc;
0032 };
0033 
0034 #endif // K3B_DATA_PROJECT_MODEL_TEST_H