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()
|
||||
{
|
||||
// TODO: Re-enable when QTBUG-119169 is fixed.
|
||||
#if 0
|
||||
{ // lambda
|
||||
QObject context;
|
||||
QFuture<QString> f = Utils::asyncRun([](QPromise<QString> &fi) {
|
||||
@@ -425,6 +427,7 @@ void tst_Async::onResultReady()
|
||||
QCOMPARE(count, 2);
|
||||
QCOMPARE(obj.value, QString("there"));
|
||||
}
|
||||
#endif
|
||||
{ // member
|
||||
QFuture<QString> f = Utils::asyncRun([] { return QString("Hi"); });
|
||||
ObjWithProperty obj;
|
||||
|
Reference in New Issue
Block a user