blob: 1c25f635347f326fa49e5f5ea6c19ef2de505a82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
// Copyright (C) 2016 The Qt Company Ltd.
// Copyright (C) 2016 Intel Corporation.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef TST_QCOREAPPLICATION_H
#define TST_QCOREAPPLICATION_H
#include <QtCore/QtCore>
class tst_QCoreApplication: public QObject
{
Q_OBJECT
private slots:
void sendEventsOnProcessEvents(); // this must be the first test
void getSetCheck();
void qAppName();
void qAppVersion();
void argc();
void postEvent();
void removePostedEvents();
#if QT_CONFIG(thread)
void deliverInDefinedOrder();
#endif
void applicationPid();
#ifdef QT_BUILD_INTERNAL
void globalPostedEventsCount();
#endif
void processEventsAlwaysSendsPostedEvents();
#ifdef Q_OS_WIN
void sendPostedEventsInNativeLoop();
#endif
void quit();
void reexec();
void execAfterExit();
void eventLoopExecAfterExit();
void customEventDispatcher();
void testQuitLock();
void QTBUG31606_QEventDestructorDeadLock();
void applicationEventFilters_mainThread();
void applicationEventFilters_auxThread();
void threadedEventDelivery_data();
void threadedEventDelivery();
void testTrWithPercantegeAtTheEnd();
#if QT_CONFIG(library)
void addRemoveLibPaths();
#endif
void theMainThread();
void testDeleteLaterFromBeforeOutermostEventLoop();
void setIndividualAttributes_data();
void setIndividualAttributes();
void setMultipleAttributes();
};
#endif // TST_QCOREAPPLICATION_H
|