diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2015-10-07 15:44:22 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2015-10-08 05:51:26 +0000 |
commit | d47a557bd8af545ad39a9bd848d17a0c5c779ee4 (patch) | |
tree | fa23719b4719174d5c7ddbe6007a3aa444b527ef /src/plugins/sensors/generic/main.cpp | |
parent | 27d8477d00aef6508ff2a9b9cc722daf254f6b42 (diff) | |
download | qtsensors-d47a557bd8af545ad39a9bd848d17a0c5c779ee4.tar.gz |
Stabilze some tests in Tst_qsensorgestureTest
tst_recognizer() and tst_sensor_gesture_multi() fail in some cases.
It happens because QTestRecognizer is emiting the "detected" signal
every 10 ms and QTRY_COMPARE internally calls QTest::qWait(50).
Thus it may happen that QTestRecognizer will emit the "detected"
signal several times before the comparison.
So increase the timeout for the timer in QTestRecognizer from 10 ms
to 100 ms.
Change-Id: I48b2b9455113db832f277abd05cc016bda5718cc
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/plugins/sensors/generic/main.cpp')
0 files changed, 0 insertions, 0 deletions