qt5base-lts/tests/auto
Friedemann Kleint 19e295b330 tst_QWaitCondition: Prevent test functions from interfering with each other.
Introduce a base class for the threads that ensures termination in the
destructor to ensure all QThreads instantiated on the stack are terminated.
This should reduce crashes since the test thread classes have pointers
to stack variables of the test slots.

Set object names on the threads for better diagnostics.

Decouple wakeOne()/wakeAll() that impact each other via the static count
variables of the thread class by introducing a base class WakeThreadBase
keeping a pointer to an QAtomicInt count variable on the stack instead
(similar to the existing pointers to the mutexes, etc).

Task-number: QTBUG-49653
Change-Id: I73537386bf36019efa81e8e24ba9af92506f7794
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
2015-11-26 15:50:36 +00:00
..
android Fix typo in test results report for android 2015-07-28 21:16:19 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake CMake: Fix regression with quoted OPTIONS parameter 2015-03-11 07:31:33 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Tests: Replace Q[TRY]_VERIFY(v == true|false) by QVERIFY(v)|QVERIFY(!v). 2015-07-27 12:09:19 +00:00
corelib tst_QWaitCondition: Prevent test functions from interfering with each other. 2015-11-26 15:50:36 +00:00
dbus Tests: Always verify whether QTemporaryDir/File creation succeeded. 2015-09-28 15:05:43 +00:00
gui tst_QImageReader: Fix file handling. 2015-11-24 15:30:04 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network tst_QNetworkReply: Fix repetitive invocation of cleanup(). 2015-11-24 15:38:18 +00:00
opengl tests/auto/opengl: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-24 21:23:34 +00:00
other tst_compiler: check more cases for RVALUE_REFS 2015-11-22 12:26:20 +00:00
printsupport Fix tst_QPrinter::doubleSidedPrinting() test and remove from blacklist 2015-11-06 18:44:04 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql QSqlQueryModel::clear(): Call begin/endResetModel(). 2015-11-19 07:24:13 +00:00
testlib Testlib: Output function / total time along with crash dump. 2015-10-13 16:38:43 +00:00
tools Ignore stuff created during testing 2015-11-25 13:17:01 +00:00
widgets Support mixing native child widgets with texture-based ones 2015-11-19 13:56:52 +00:00
xml Fix QDomNamedNodeMap::item crash with negative index 2015-10-29 08:05:45 +00:00
auto.pro Silence warnings about missing dbus-send command not found 2015-09-22 21:19:04 +00:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +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