forked from qt-creator/qt-creator
Async: Disable onResultReady test
To be enabled again when QTBUG-119169 is fixed. Task-number: QTBUG-119169 Change-Id: I0a889faf3726d53ced11cecfc7c569f6aaa6ffd5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -392,6 +392,8 @@ public:
|
|||||||
|
|
||||||
void tst_Async::onResultReady()
|
void tst_Async::onResultReady()
|
||||||
{
|
{
|
||||||
|
// TODO: Re-enable when QTBUG-119169 is fixed.
|
||||||
|
#if 0
|
||||||
{ // lambda
|
{ // lambda
|
||||||
QObject context;
|
QObject context;
|
||||||
QFuture<QString> f = Utils::asyncRun([](QPromise<QString> &fi) {
|
QFuture<QString> f = Utils::asyncRun([](QPromise<QString> &fi) {
|
||||||
@@ -425,6 +427,7 @@ void tst_Async::onResultReady()
|
|||||||
QCOMPARE(count, 2);
|
QCOMPARE(count, 2);
|
||||||
QCOMPARE(obj.value, QString("there"));
|
QCOMPARE(obj.value, QString("there"));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
{ // member
|
{ // member
|
||||||
QFuture<QString> f = Utils::asyncRun([] { return QString("Hi"); });
|
QFuture<QString> f = Utils::asyncRun([] { return QString("Hi"); });
|
||||||
ObjWithProperty obj;
|
ObjWithProperty obj;
|
||||||
|
Reference in New Issue
Block a user