summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBartlomiej Moskal <bartlomiej.moskal@qt.io>2023-04-04 14:14:23 +0200
committerLars Knoll <lars@knoll.priv.no>2023-04-14 07:39:03 +0000
commit519dbbc4cfa8edbfc9817fd53de649b7280d62ee (patch)
treea6c32ec6c920bce40ba125f246ed730f61db786b /tests
parent50286c028e46658977d5cd080331bdca591ccc59 (diff)
Android-Tests: Skip few tests from tst_qmediaplayerbackend
There is known issue with creating hardware frame context for video renderer (QTBUG-108446). Because of that, frame.toImage() method returns invalid qImage object. Tests should be skipped until QTBUG-108446 is fixed. Task-number: QTBUG-112173 Task-number: QTBUG-108446 Pick-to: 6.5 Change-Id: Ia6d0d5dd2b005e3312d94d1dbe62f0b6d173217a Reviewed-by: Artem Dyomin <artem.dyomin@qt.io> Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
index 4e0e1695b..a19ff44a8 100644
--- a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
+++ b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
@@ -846,6 +846,9 @@ void tst_QMediaPlayerBackend::initialVolume()
void tst_QMediaPlayerBackend::seekPauseSeek()
{
+#ifdef Q_OS_ANDROID
+ QSKIP("frame.toImage will return null image because of QTBUG-108446");
+#endif
if (localVideoFile.isEmpty())
QSKIP("No supported video file");
@@ -1212,6 +1215,9 @@ It findSimilarColor(It it, It end, QRgb color)
void tst_QMediaPlayerBackend::multipleSeekStressTest()
{
+#ifdef Q_OS_ANDROID
+ QSKIP("frame.toImage will return null image because of QTBUG-108446");
+#endif
if (localVideoFile3ColorsWithSound.isEmpty())
QSKIP("Video format is not supported");
@@ -1308,6 +1314,9 @@ void tst_QMediaPlayerBackend::multipleSeekStressTest()
void tst_QMediaPlayerBackend::playbackRateChanging()
{
+#ifdef Q_OS_ANDROID
+ QSKIP("frame.toImage will return null image because of QTBUG-108446");
+#endif
if (localVideoFile3ColorsWithSound.isEmpty())
QSKIP("Video format is not supported");