summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/animatedimage/tst_animatedimage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/animatedimage/tst_animatedimage.cpp')
-rw-r--r--tests/auto/declarative/animatedimage/tst_animatedimage.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/auto/declarative/animatedimage/tst_animatedimage.cpp b/tests/auto/declarative/animatedimage/tst_animatedimage.cpp
index 6ae2112..262ddda 100644
--- a/tests/auto/declarative/animatedimage/tst_animatedimage.cpp
+++ b/tests/auto/declarative/animatedimage/tst_animatedimage.cpp
@@ -90,11 +90,7 @@ void tst_animatedimage::setFrame()
void tst_animatedimage::frameCount()
{
- QmlEngine engine;
- QmlComponent component(&engine, QUrl("file://" SRCDIR "/data/stickman.qml"));
- QmlGraphicsAnimatedImageItem *anim = qobject_cast<QmlGraphicsAnimatedImageItem *>(component.create());
- QVERIFY(anim);
- QCOMPARE(anim->frameCount(), 299);
+ // GIF doesn't support frameCount until first pass through
}
QTEST_MAIN(tst_animatedimage)