diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-02-05 19:35:32 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-02-09 14:02:57 +0100 |
commit | 0a9f3ce3c87b6c54e7492f9e263f9e84c0cb62d0 (patch) | |
tree | 59da22fabd0ba6482dca3704dd10fbb4689f5329 /src/gui/kernel/qopenglcontext_platform.h | |
parent | 0477c78a04b8e3cf4ff606561c6538f016576056 (diff) |
Make time sensitive QScrollBar test fault tolerant
The auto-repeat timer of QScrollBar kicks in after 50ms, so if the test
takes too long and the timer fires during the qWait call or during event
delivery, then we might get multiple valueChanged emissions.
Detect that scenario and allow the test to XFAIL if things take
a significant time (more than 40ms vs the expected 1ms).
Pick-to: 6.3 6.2
Change-Id: Ie90aadc62372397db695fd2b34fe1f5252ce8d37
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/gui/kernel/qopenglcontext_platform.h')
0 files changed, 0 insertions, 0 deletions