qt5base-lts/tests/auto
Marc Mutz ad1555be7f Plug remaining leaks in tests/auto/widgets/util
In tst_QCompleter, two completers were leaked because they
had no parent and setCompleter() calls don't reparent.

Fixed by giving them parents.

In tst_QUndo*, fix lots of leaked QActions by storing them
in a QScopedPointer. There were some half-hearted attempts
to clean them up with manual deletes, but I ported these to
scoped pointers, too, to make the code more robust in the
face of failures.

This fixes the remaining errors in GCC 6.1 Linux ASan runs of
tests/auto/widgets/util.

Change-Id: Icc5248cc9cf4514540915924df1c4d9e09c071fa
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-10-02 11:28:23 +00:00
..
android Fix typo in test results report for android 2015-07-28 21:16:19 +00:00
bic/data Data files for binary compatibility tests updated for Qt 5.6 2016-09-30 10:55:59 +00:00
cmake Enable cmake auto tests for -no-gui 2016-03-30 07:16:50 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Fix problem with exception reporting in QFuture::waitForResult() 2016-08-23 14:55:49 +00:00
corelib QObject test: check that throwing from a child's constructor works 2016-09-26 04:47:06 +00:00
dbus Fix race condition in tst_QDBusConnection::pendingCallWhenDisconnected 2016-06-06 11:39:53 +00:00
gui Fix crash when doing many text layouts with superscript/subscript 2016-09-29 12:43:19 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake
network QSslSocket: respect read buffer's max size (SecureTransport) 2016-09-27 10:27:58 +00:00
opengl Merge remote-tracking branch 'origin/5.6.1' into 5.6 2016-06-02 06:01:25 +02:00
other Extend tested formats in lancelot 2016-09-27 17:26:03 +00:00
printsupport QMacPrintEngine: Really set the printer resolution 2016-02-25 18:42:47 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql Never return char variants when reading prepared MySQL statements 2016-09-12 12:47:08 +00:00
testlib Major re-write of generate_expected_output.py 2016-08-29 18:02:35 +00:00
tools uic: generate translate calls with Q_NULLPTR instead of 0 2016-09-03 05:07:50 +00:00
widgets Plug remaining leaks in tests/auto/widgets/util 2016-10-02 11:28:23 +00:00
xml Fix test for sandboxed platforms 2016-09-23 17:06:26 +00:00
auto.pro Enable cmake auto tests for -no-gui 2016-03-30 07:16:50 +00:00
network-settings.h tst_QTcpSocket, tst_QUdpSocket: Improve diagnostics. 2016-05-02 19:20:33 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00