summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp b/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp
index cd0a0d03d9..221d818c6b 100644
--- a/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp
+++ b/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp
@@ -1158,6 +1158,10 @@ void tst_QTimer::bindTimer()
QCOMPARE(timer.interval(), 10);
interval = 100;
QCOMPARE(timer.interval(), 100);
+ timer.setInterval(50);
+ QCOMPARE(timer.interval(), 50);
+ interval = 30;
+ QCOMPARE(timer.interval(), 50);
// timerType property
QCOMPARE(timer.timerType(), Qt::CoarseTimer);