qt6-bb10/tests/auto
Alexandru Croitor fb55e1e71e Sql: Fix heap-user-after-free for globally initialized db objects
Becaues the database objects were created as globals, there was a
possible use-after-free issue when deleting the objects on application
exit.

Move the initialization of the database objects into static variables
inside the test constructor.

As a drive-by, also add one missing test to the CMake projects.

Fixes: QTBUG-85357
Change-Id: I2c8f2c5daee96bb9d1d21dae37950a2da5ffdf27
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-07-01 10:03:57 +02:00
..
cmake Remove the openglextensions module 2020-06-10 09:35:04 +02:00
concurrent Use QList instead of QVector in concurrent tests 2020-06-22 16:46:01 +02:00
corelib Use QList instead of QVector in corelib docs 2020-06-29 18:00:13 +02:00
dbus Use QList instead of QVector in dbus tests 2020-06-25 07:54:33 +02:00
gui Let QScreen::grabWindow's winId parameter default to 0 and add test 2020-07-01 07:09:24 +02:00
guiapplauncher
installed_cmake
network Move QAlertLevel and QAlertType enums into the namespace QSsl 2020-06-29 17:08:13 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other Use QList instead of QVector in other tests 2020-06-25 10:14:24 +02:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Sql: Fix heap-user-after-free for globally initialized db objects 2020-07-01 10:03:57 +02:00
testlib Use QList instead of QVector in testlib tests 2020-06-25 10:13:58 +02:00
tools CMake: Fix tst_qmake not to hang and re-enable it 2020-06-26 22:14:09 +02:00
widgets QFileDialog: remove deprecated mode QFileDialog::DirectoryOnly 2020-06-26 22:40:34 +02:00
xml Remove QByteArray's methods taking QString and their uses 2020-06-25 09:54:16 +02:00
.prev_CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
auto.pro Remove winrt 2020-06-06 20:25:49 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00