Winrt: tst_qthread: Added QEXPECT_FAIL where needed
Change-Id: I88d98421978e0f5c55af8647f3f74c265b45bd37 Reviewed-by: Andrew Knight <andrew.knight@digia.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
This commit is contained in:
parent
c6af0a504f
commit
ffb92a5691
@ -869,6 +869,9 @@ void tst_QThread::adoptedThreadFinished()
|
|||||||
nativeThread.join();
|
nativeThread.join();
|
||||||
|
|
||||||
QTestEventLoop::instance().enterLoop(5);
|
QTestEventLoop::instance().enterLoop(5);
|
||||||
|
#if defined(Q_OS_WINRT)
|
||||||
|
QEXPECT_FAIL("", "QTBUG-31397: Known not to work on WinRT", Abort);
|
||||||
|
#endif
|
||||||
QVERIFY(!QTestEventLoop::instance().timeout());
|
QVERIFY(!QTestEventLoop::instance().timeout());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -884,6 +887,9 @@ void tst_QThread::adoptedThreadExecFinished()
|
|||||||
nativeThread.join();
|
nativeThread.join();
|
||||||
|
|
||||||
QTestEventLoop::instance().enterLoop(5);
|
QTestEventLoop::instance().enterLoop(5);
|
||||||
|
#if defined(Q_OS_WINRT)
|
||||||
|
QEXPECT_FAIL("", "QTBUG-31397: Known not to work on WinRT", Abort);
|
||||||
|
#endif
|
||||||
QVERIFY(!QTestEventLoop::instance().timeout());
|
QVERIFY(!QTestEventLoop::instance().timeout());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -920,6 +926,9 @@ void tst_QThread::adoptMultipleThreads()
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTestEventLoop::instance().enterLoop(5);
|
QTestEventLoop::instance().enterLoop(5);
|
||||||
|
#if defined(Q_OS_WINRT)
|
||||||
|
QEXPECT_FAIL("", "QTBUG-31397: Known not to work on WinRT", Abort);
|
||||||
|
#endif
|
||||||
QVERIFY(!QTestEventLoop::instance().timeout());
|
QVERIFY(!QTestEventLoop::instance().timeout());
|
||||||
QCOMPARE(recorder.activationCount.load(), numThreads);
|
QCOMPARE(recorder.activationCount.load(), numThreads);
|
||||||
}
|
}
|
||||||
@ -962,6 +971,9 @@ void tst_QThread::adoptMultipleThreadsOverlap()
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTestEventLoop::instance().enterLoop(5);
|
QTestEventLoop::instance().enterLoop(5);
|
||||||
|
#if defined(Q_OS_WINRT)
|
||||||
|
QEXPECT_FAIL("", "QTBUG-31397: Known not to work on WinRT", Abort);
|
||||||
|
#endif
|
||||||
QVERIFY(!QTestEventLoop::instance().timeout());
|
QVERIFY(!QTestEventLoop::instance().timeout());
|
||||||
QCOMPARE(recorder.activationCount.load(), numThreads);
|
QCOMPARE(recorder.activationCount.load(), numThreads);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user