Debian Codegraph @

src/tests/itemtagstests.h

raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #pragma once
4
5
6 #include "tests/testinterface.h"
7
8 #include <QObject>
9
10 class ItemTagsTests final : public QObject
11 {
12 Q_OBJECT
13 public:
14 explicit ItemTagsTests(const TestInterfacePtr &test, QObject *parent = nullptr);
15
16 static QStringList testTags();
17
18 private slots:
19 void initTestCase();
20 void cleanupTestCase();
21 void init();
22 void cleanup();
23
24 void userTags();
25 void tag();
26 void untag();
27 void clearTags();
28 void searchTags();
29
30 void tagSelected();
31 void untagSelected();
32
33 private:
34 TestInterfacePtr m_test;
35 };