summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-26 04:29:19 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-28 23:50:06 (GMT)
commit078ff776e37aebe5b7e88e4b4f21da1158fac3c7 (patch)
treed3e4a466b6d7df796cfd5031760b53c210d3635e /tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp
parent921d6882caa4f4be78c747493295d3bdd3f1f673 (diff)
downloadQt-078ff776e37aebe5b7e88e4b4f21da1158fac3c7.zip
Qt-078ff776e37aebe5b7e88e4b4f21da1158fac3c7.tar.gz
Qt-078ff776e37aebe5b7e88e4b4f21da1158fac3c7.tar.bz2
Autotest tweaks.
Diffstat (limited to 'tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp b/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp
index bbf7421..c1bf2b8 100644
--- a/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp
+++ b/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp
@@ -156,6 +156,9 @@ void tst_qdeclarativeimage::imageSource()
QDeclarativeImage *obj = qobject_cast<QDeclarativeImage*>(component.create());
QVERIFY(obj != 0);
+ if (async)
+ QVERIFY(obj->asynchronous() == true);
+
if (remote || async)
TRY_WAIT(obj->status() == QDeclarativeImage::Loading);