From 60e1b833fcbfe330b229b2f603436d589497b12c Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Tue, 28 Sep 2021 19:57:12 +0300 Subject: Android: mark test case for isSeekable() as QEXPECT_FAIL Note a bug ticket for the fail and continue. Task-number: QTBUG-96952 Pick-to: 6.2 Change-Id: Id5951deb8e9360b53619813e15b0edf9ab8fe1b7 Reviewed-by: Samuel Mira Reviewed-by: Lars Knoll --- tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp | 3 +++ 1 file changed, 3 insertions(+) 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()); -- cgit v1.2.3