aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Buhr <andreas@andreasbuhr.de>2022-04-14 14:25:40 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-04-19 19:54:31 +0000
commitf6ab2b2a651fa6311b1191f5c17e3cf7d00517ab (patch)
tree7a1cfd71bfd7c1ff9cd3155c7c81fd413314a27c
parent85bcbdacc857a3175904787fe72104f92e2ea0d9 (diff)
Fix tst_qquickanimations on Android
Task-number: QTBUG-101865 Change-Id: Id67b10e67b33947851cd20860bb147f51419b580 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit 84a2b1240ec9fb66f27abcdee8a1276368c41e4f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/quick/qquickanimations/tst_qquickanimations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp b/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp
index e2bac5ee39..924672d8b5 100644
--- a/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp
+++ b/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp
@@ -1899,7 +1899,7 @@ void tst_qquickanimations::opacityAnimationFromZero()
void tst_qquickanimations::alwaysRunToEndInSequentialAnimationBug()
{
- QQuickView view(QUrl::fromLocalFile("data/alwaysRunToEndInSequentialAnimationBug.qml"));
+ QQuickView view(testFileUrl("alwaysRunToEndInSequentialAnimationBug.qml"));
view.show();
QVERIFY(QTest::qWaitForWindowExposed(&view));
@@ -2001,7 +2001,7 @@ void tst_qquickanimations::alwaysRunToEndInSequentialAnimationBug()
void tst_qquickanimations::cleanupWhenRenderThreadStops()
{
- QQuickView view(QUrl::fromLocalFile("data/cleanupWhenRenderThreadStops.qml"));
+ QQuickView view(testFileUrl("cleanupWhenRenderThreadStops.qml"));
view.show();
view.setPersistentGraphics(false);
view.setPersistentSceneGraph(false);