Remove obsolete code from QTimer test.
The removed code was for Windows versions <= 2000, which are not supported by Qt5. Change-Id: I779ffb8427035b7eb97d8d0af403d03065bc779c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
b28a690c8f
commit
30266d8015
@ -228,10 +228,7 @@ void tst_QTimer::livelock()
|
||||
QTRY_COMPARE(tester.timeoutsForFirst, 1);
|
||||
QCOMPARE(tester.timeoutsForExtra, 0);
|
||||
QTRY_COMPARE(tester.timeoutsForSecond, 1);
|
||||
#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
|
||||
if (QSysInfo::WindowsVersion < QSysInfo::WV_XP)
|
||||
QEXPECT_FAIL("non-zero timer", "Multimedia timers are not available on Windows 2000", Continue);
|
||||
#elif defined(Q_OS_WINCE)
|
||||
#if defined(Q_OS_WINCE)
|
||||
QEXPECT_FAIL("non-zero timer", "Windows CE devices often too slow", Continue);
|
||||
#endif
|
||||
QVERIFY(tester.postEventAtRightTime);
|
||||
|
Loading…
Reference in New Issue
Block a user