qt6-bb10/tests/auto/widgets/dialogs
Marc Mutz e70e168abb Plug leaks in tst_QWizard
This completely over-engineered piece of code has a hierarchy of
Operation subclasses encapsulating but three actual operations
on a QWizard.

Because these operations and their containers were all allocated
on the heap, but never deleted, asan went crazy and reported over
50 leaks (not the record so far, but a (distant) second).

Since these collections are passed through addColumn/QFETCH, too,
it's nearly impossible to track their lifetimes. So instead of
trying, delegate that to the runtime, ie. pack the Operation
objects into QSharedPointer and pass around those instead.

Change-Id: I8a0fe7a60cd30aed618667affaa030e80cf2b1ac
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
2016-10-22 10:20:22 +00:00
..
qcolordialog tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qdialog tst_QDialog: Instantiate test dialog on the stack. 2016-02-29 15:04:40 +00:00
qerrormessage Update copyright headers 2015-02-11 06:49:51 +00:00
qfiledialog QFileSystemModel: create nodes with correct QFileInfos 2016-05-10 20:51:15 +00:00
qfiledialog2 QFileDialog test: make the right subwidget visible 2015-12-10 22:26:01 +00:00
qfilesystemmodel tst_QFileSystemModel: Remove Win32LongFileName(). 2016-06-08 04:09:48 +00:00
qfontdialog Work around QFont bug in QFontDialog test 2016-05-13 21:08:07 +00:00
qinputdialog Update copyright headers 2015-02-11 06:49:51 +00:00
qmessagebox QMessageBox test: Refactor closing dialogs. 2015-11-05 13:53:50 +00:00
qprogressdialog Blacklist and skip various tests that are flakey 2015-06-14 10:50:45 +00:00
qsidebar Update copyright headers 2015-02-11 06:49:51 +00:00
qwizard Plug leaks in tst_QWizard 2016-10-22 10:20:22 +00:00
dialogs.pro Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00