summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/painting
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-05-06 11:43:18 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-05-31 21:20:41 +0200
commitfb8a88b05cd3f7663efaa9c5c5cf8143a1f2b66f (patch)
treef04a99ed538eb61f6765455b88bc350cfaab87ed /tests/auto/gui/painting
parent5adaa8d868b6718e07035152351b14449cea95d3 (diff)
Use a precise timer in QTestEventLoop if timeout is sub-second
QTestEventLoop is used by QSignalSpy::wait. If tests want to verify that a signal gets emitted within a second or less, we should use a precise timer to reduce the chance of timer imprecision breaking the test. Change-Id: I2a2ca3bbdcaf032288f1fdc2aecc6afd05a6c76c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/gui/painting')
0 files changed, 0 insertions, 0 deletions