summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Moskal <bartlomiej.moskal@qt.io>2023-04-04 14:13:52 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-04-13 05:25:24 +0000
commit02f4b33e8f344988473a6ef5d8485a9f8a1e67a6 (patch)
tree75cbecb22552321f1ffb471dd0472f2e01b412bc
parent0069566ed86fdf282f9af57b59972eff289628ca (diff)
downloadqtmultimedia-02f4b33e8f344988473a6ef5d8485a9f8a1e67a6.tar.gz
Android-tests: Remove QEXPECT_FAIL from tst_qmediaplayerbackend
Android is using now ffmpeg backend by default. That is why all QEXPECT_FAIL macros can be removed from tst_qmediaplayerbackend. All of them were related to android-backend (QTBUG-96952). For FFmpeg this QEXPECT_FAIL is not valid. Task-number: QTBUG-112173 Change-Id: Ic36f8de9852d501837e3459ae8cdb133545075c1 Reviewed-by: Lars Knoll <lars@knoll.priv.no> (cherry picked from commit 74e5bf5dae4e23f24e1e50fd78465bad7bbfed61) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
index 170f5d680..27c15c3c3 100644
--- a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
+++ b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
@@ -1520,9 +1520,6 @@ void tst_QMediaPlayerBackend::isSeekable()
TestVideoSink surface(false);
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());
@@ -1536,9 +1533,6 @@ void tst_QMediaPlayerBackend::positionAfterSeek()
TestVideoSink surface(false);
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_COMPARE(player.mediaStatus(), QMediaPlayer::LoadedMedia);
@@ -1563,9 +1557,6 @@ void tst_QMediaPlayerBackend::videoDimensions()
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(videoDimensionTestFile);
QTRY_COMPARE(player.mediaStatus(), QMediaPlayer::LoadedMedia);
@@ -1585,9 +1576,6 @@ 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());