qt5base-lts/tests/auto
Jarek Kobus 6ca50b79bc Fix tst_QElapsedTimer::elapsed() flaky test
Instead of using imprecise QTest::qSleep() to estimate the
elapsed time, we trigger a single shot PreciseTimer and
gather all the data in lambda. We wait for lambda to be
executed - we give it twice as much time as is in theory
needed. Afterwards we verify all the data collected in lambda.

Task-number: QTBUG-82903
Change-Id: I0147b7cd2aaf4bf58a216caff167d2db8712541a
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-09-15 21:07:00 +02:00
..
cmake CMake: Fix configuration of CMake tests in-build-tree 2020-07-20 18:12:23 +02:00
concurrent Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
corelib Fix tst_QElapsedTimer::elapsed() flaky test 2020-09-15 21:07:00 +02:00
dbus Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
gui Fix tests to build in a no-widgets configuration 2020-09-15 15:55:47 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network Schannel: Properly handle request for certificate 2020-09-14 17:14:00 +02:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Purge Q_{STDLIB,COMPILER}_UNICODE_STRINGS 2020-09-14 09:47:51 +02:00
printsupport Fix compiler warnings about missing overrides 2020-09-13 21:03:31 +02:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql Interbase: Handle EXECUTE BLOCK statements correctly 2020-09-13 16:39:06 +02:00
testlib Rename QLibraryInfo::location() to path() 2020-09-12 23:35:56 +02:00
tools Rename QLibraryInfo::location() to path() 2020-09-12 23:35:56 +02:00
widgets QStyleSheetStyle: Fix push button hit testing with padding 2020-09-15 11:32:09 +02:00
xml Remove the SAX parser from QtXml 2020-09-15 08:12:20 +02:00
.prev_CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
auto.pro CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00