diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-26 04:29:19 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-28 23:50:06 (GMT) |
commit | 078ff776e37aebe5b7e88e4b4f21da1158fac3c7 (patch) | |
tree | d3e4a466b6d7df796cfd5031760b53c210d3635e /tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp | |
parent | 921d6882caa4f4be78c747493295d3bdd3f1f673 (diff) | |
download | Qt-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.cpp | 3 |
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); |