Debian Codegraph @

src/libs/widgets/tests/KoProgressUpdater_test.h

raw
1 /*
2 * SPDX-FileCopyrightText: 2007 Boudewijn Rempt boud @valdyas.org
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7 #ifndef KOPROGRESSUPDATER_TEST_H
8 #define KOPROGRESSUPDATER_TEST_H
9
10 #include <QObject>
11 #include <ThreadWeaver/Job>
12
13 class KoProgressUpdaterTest : public QObject
14 {
15 Q_OBJECT
16
17 public Q_SLOTS:
18
19 void jobDone(ThreadWeaver::JobPointer);
20
21 private Q_SLOTS:
22
23 void testCreation();
24 void testSimpleProgress();
25 void testSubUpdaters();
26 void testThreadedSubUpdaters();
27 void testSimpleThreadedProgress();
28 void testRecursiveProgress();
29 void testThreadedRecursiveProgress();
30 void testFromWeaver();
31
32 private:
33
34 int jobsdone;
35 };
36 #endif