summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-09-28 19:57:12 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-09-30 09:41:50 +0000
commit52740765908e299c7ec1112687b575112653cca3 (patch)
treef9da5f2fa9ad077f19cf4c68735edfeae31520b0 /tests
parenta60866b278b1fb9ff89cd731468e7423a5905108 (diff)
Android: mark test case for isSeekable() as QEXPECT_FAIL
Note a bug ticket for the fail and continue. Task-number: QTBUG-96952 Change-Id: Id5951deb8e9360b53619813e15b0edf9ab8fe1b7 Reviewed-by: Samuel Mira <samuel.mira@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 60e1b833fcbfe330b229b2f603436d589497b12c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
index ae371b026..fd6c89a33 100644
--- a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
+++ b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
@@ -1169,6 +1169,9 @@ void tst_QMediaPlayerBackend::position()
TestVideoSink surface(true);
QMediaPlayer player;
player.setVideoOutput(&surface);
+#ifdef Q_OS_ANDROID
+ QEXPECT_FAIL("", "On Android isSeekable() is always set to true due to QTBUG-96952", Continue);
+#endif
QVERIFY(!player.isSeekable());
player.setSource(localVideoFile);
QTRY_VERIFY(player.isSeekable());