Changeset View
Changeset View
Standalone View
Standalone View
autotests/QueueTests.cpp
1 | /* -*- C++ -*- | ||||
---|---|---|---|---|---|
2 | This file contains a testsuite for the queueing behaviour in ThreadWeaver. | ||||
3 | | ||||
4 | SPDX-FileCopyrightText: 2005-2013 Mirko Boehm <mirko@kde.org> | ||||
5 | | ||||
6 | SPDX-License-Identifier: LGPL-2.0-or-later | ||||
7 | */ | ||||
8 | | ||||
1 | #include "QueueTests.h" | 9 | #include "QueueTests.h" | ||
2 | 10 | | |||
3 | #include <QChar> | 11 | #include <QChar> | ||
4 | 12 | | |||
5 | #include <QObject> | 13 | #include <QObject> | ||
6 | #include <QThread> | 14 | #include <QThread> | ||
7 | #include <QDebug> | 15 | #include <QDebug> | ||
8 | #include <QTest> | 16 | #include <QTest> | ||
9 | 17 | | |||
10 | #include "AppendCharacterJob.h" | 18 | #include "AppendCharacterJob.h" | ||
11 | 19 | | |||
12 | #include <ThreadWeaver/Queueing> | 20 | #include <ThreadWeaver/Queueing> | ||
13 | /* -*- C++ -*- | | |||
14 | | ||||
15 | This file contains a testsuite for the queueing behaviour in ThreadWeaver. | | |||
16 | | ||||
17 | $ Author: Mirko Boehm $ | | |||
18 | $ Copyright: (C) 2005-2013 Mirko Boehm $ | | |||
19 | $ Contact: mirko@kde.org | | |||
20 | https://www.kde.org | | |||
21 | http://creative-destruction.me $ | | |||
22 | | ||||
23 | This library is free software; you can redistribute it and/or | | |||
24 | modify it under the terms of the GNU Library General Public | | |||
25 | License as published by the Free Software Foundation; either | | |||
26 | version 2 of the License, or (at your option) any later version. | | |||
27 | | ||||
28 | This library is distributed in the hope that it will be useful, | | |||
29 | but WITHOUT ANY WARRANTY; without even the implied warranty of | | |||
30 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | |||
31 | Library General Public License for more details. | | |||
32 | | ||||
33 | You should have received a copy of the GNU Library General Public License | | |||
34 | along with this library; see the file COPYING.LIB. If not, write to | | |||
35 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | | |||
36 | Boston, MA 02110-1301, USA. | | |||
37 | | ||||
38 | */ | | |||
39 | | ||||
40 | #include <ThreadWeaver/Job> | 21 | #include <ThreadWeaver/Job> | ||
41 | #include <ThreadWeaver/State> | 22 | #include <ThreadWeaver/State> | ||
42 | #include <ThreadWeaver/QueuePolicy> | 23 | #include <ThreadWeaver/QueuePolicy> | ||
43 | #include <ThreadWeaver/Sequence> | 24 | #include <ThreadWeaver/Sequence> | ||
44 | #include <ThreadWeaver/Collection> | 25 | #include <ThreadWeaver/Collection> | ||
45 | #include <ThreadWeaver/DebuggingAids> | 26 | #include <ThreadWeaver/DebuggingAids> | ||
46 | #include <ThreadWeaver/DependencyPolicy> | 27 | #include <ThreadWeaver/DependencyPolicy> | ||
47 | #include <ThreadWeaver/ResourceRestrictionPolicy> | 28 | #include <ThreadWeaver/ResourceRestrictionPolicy> | ||
▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines |