Changeset View
Changeset View
Standalone View
Standalone View
libs/pigment/tests/TestKisSwatchGroup.h
- This file was added.
1 | #ifndef TESTKISSWATCHGROUP_H | ||||
---|---|---|---|---|---|
2 | #define TESTKISSWATCHGROUP_H | ||||
3 | | ||||
4 | #include <QHash> | ||||
5 | #include <QPair> | ||||
6 | | ||||
7 | #include <KisSwatchGroup.h> | ||||
8 | | ||||
9 | class TestKisSwatchGroup : public QObject | ||||
10 | { | ||||
11 | Q_OBJECT | ||||
12 | private Q_SLOTS: | ||||
13 | void testAddingOneEntry(); | ||||
14 | void testAddingMultipleEntries(); | ||||
15 | void testReplaceEntries(); | ||||
16 | void testRemoveEntries(); | ||||
17 | void testChangeColumnNumber(); | ||||
18 | void testAddEntry(); | ||||
19 | private: | ||||
20 | KisSwatchGroup g; | ||||
21 | QHash<QPair<int, int>, KisSwatch> testSwatches; | ||||
22 | }; | ||||
23 | | ||||
24 | | ||||
25 | #endif /* TESTKISSWATCHGROUP_H */ |