summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtimer
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-05-15 17:43:57 +0200
committeraxis <qt-info@nokia.com>2009-05-19 16:16:51 +0200
commitdbf64e86f37384a991153335ca4c1528cf44295a (patch)
tree7a156e75177e79f623efba9ee50b7e087bb312d8 /tests/auto/qtimer
parent1a1f4a8b3c8850d7abe4dda5b85b850094cf7a6a (diff)
Changed the way that Qt handles active objects.
The change was done in order to get a more round-robin type of event handling, at least for Qt active objects. With this change, each object will only execute once within each call to processEvents, like other platforms. This is required for certain tests using Open C, because some of the function calls in that library take much longer than their desktop counterparts. Therefore the timer expires before the previous timer handler was finished and the test gets stuck executing the same timer over and over. By returning from processEvents after one iteration, we prevent this. RevBy: Aleksandar Sasha Babic AutoTest: Passed
Diffstat (limited to 'tests/auto/qtimer')
-rw-r--r--tests/auto/qtimer/tst_qtimer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/qtimer/tst_qtimer.cpp b/tests/auto/qtimer/tst_qtimer.cpp
index 39144af0f7..0051a9b1e2 100644
--- a/tests/auto/qtimer/tst_qtimer.cpp
+++ b/tests/auto/qtimer/tst_qtimer.cpp
@@ -528,9 +528,6 @@ void tst_QTimer::timerFiresOnlyOncePerProcessEvents()
QCoreApplication::processEvents(QEventLoop::WaitForMoreEvents);
}
-#ifdef Q_OS_SYMBIAN
- QEXPECT_FAIL("non-zero timer", "Will be fixed in next commit", Abort);
-#endif
QCOMPARE(longSlot.count, 1);
}