Debian Codegraph @

src/tests/itempinnedtests.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 ItemPinnedTests final : public QObject
11 {
12 Q_OBJECT
13 public:
14 explicit ItemPinnedTests(const TestInterfacePtr &test, QObject *parent = nullptr);
15
16 private slots:
17 void initTestCase();
18 void cleanupTestCase();
19 void init();
20 void cleanup();
21
22 void isPinned();
23 void pin();
24 void pinMultiple();
25 void unpin();
26 void unpinMultiple();
27
28 void removePinnedThrows();
29
30 void pinToRow();
31
32 void fullTab();
33
34 void keepPinnedIfMaxItemsChanges();
35
36 void noDuplicateWhenAllPinned();
37
38 private:
39 TestInterfacePtr m_test;
40 };