qt5base-lts/tests/auto/corelib
Thiago Macieira b9394b48c1 tst_QCoreApplication: ensure that theMainThread has expected states
The expected states are:
- nothing sets theMainThread before main()
- theMainThread is reset when the last QObject (the QCoreApplication in
  the test) is destroyed

The GUI version of this test appears to leak a lot of QObjects. By the
time this function runs, theMainThread's QThreadData still has a
refcount of 66 on Linux/XCB. The Windows non-GUI version also
failed. Neither situation was investigated to see why objects are
getting leaked.

Pick-to: 6.5
Change-Id: Idd5e1bb52be047d7b4fffffd17507d9e6ef08743
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-04-26 04:55:47 -03:00
..
animation tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
global Short live q20::to_address! 2023-03-31 13:10:12 +01:00
io tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
ipc tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
itemmodels Remove unused variables 2023-04-19 12:55:02 +02:00
kernel tst_QCoreApplication: ensure that theMainThread has expected states 2023-04-26 04:55:47 -03:00
mimetypes mimetypes/: port to qsizetype 2023-04-15 17:21:10 +02:00
platform tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
plugin QPluginLoader: don't instantiante multiple, identical instances 2023-04-05 00:29:16 -07:00
serialization tst_qxmlstream: remove dependency on QtXml 2023-04-25 16:53:34 +02:00
text tst_qstringapisymmetry: silence a GCC warning 2023-04-08 13:21:24 +02:00
thread Rid of 'special case' markers 2023-04-13 18:30:58 +02:00
time QDate: use more constexpr vars instead of plain numbers 2023-04-22 20:04:30 +02:00
tools Remove unused variables 2023-04-19 12:55:02 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00