qt5base-lts/tests/auto
Timur Pocheptsov 73b9242d7e tst_QSslSocket::qtbug18498_peek() - fix several problems
It all started from the compiler's warnings about 'this' captured but
not used in lambdas. While fixing this it was noticed that 'client' socket
has a lifetime longer than the test case itself (the socket has a parent,
which is tst_QSslSocket object). The 'server' socket was simply leaked.
So there is no guarantee that some of them (or both) later, after the
test failed in one of QVERIFY, for example, does not emit 'encrypted'
upon receiving more data; this will result: in reading/writing from/to
invalid memory location (captured local 'encryptedCount') and/or probably
exiting event loop when it's not expected to do so.

Change-Id: I51de0493d989a5ba36de2cef58d35526c0e26cda
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2018-06-28 03:28:38 +00:00
..
android
bic/data Add binary compatibility files for 5.11 for QtBase 2018-06-05 06:00:28 +00:00
cmake Remove CMake code for CMake < 3.1 2018-03-24 22:31:18 +00:00
compilerwarnings/data
concurrent Merge remote-tracking branch 'origin/5.11' into dev 2018-02-16 08:54:58 +01:00
corelib QRegularExpression: fix compiler warning in test 2018-06-27 17:52:45 +00:00
dbus tests/auto/dbus: Avoid unconditional qWait()s 2018-04-12 05:49:07 +00:00
gui winrt: Fix/blacklist failing text related auto tests 2018-06-22 05:02:42 +00:00
guiapplauncher
installed_cmake
network tst_QSslSocket::qtbug18498_peek() - fix several problems 2018-06-28 03:28:38 +00:00
opengl tst_QGL: Use qWaitForWindowExposed() 2018-04-11 06:05:46 +00:00
other Add ObjectMode coordinate mode to QGradient 2018-06-22 10:42:33 +00:00
printsupport Merge remote-tracking branch 'origin/5.11' into dev 2018-05-03 14:50:22 +02:00
shared
sql MySQL: Handle TIME types as a string to allow the full range of data 2018-06-06 11:14:03 +00:00
testlib Improve std::tuple handling in tests 2018-06-03 20:26:38 +00:00
tools qmake: make argument validation of built-ins data driven 2018-06-27 17:23:57 +00:00
widgets winrt: tst_qdoublespinbox: Remove QEXPECT_FAIL for editingFinished 2018-06-26 10:56:28 +00:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h