diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-02-07 00:16:22 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-03-07 18:19:43 +0100 |
commit | b1d0136192b7451788dee79c865dede02438f96e (patch) | |
tree | 6a06215adb28bb9fa3d82ce92d14c335cd2333dc /tests/auto/quickcontrols2/qquickiconimage/tst_qquickiconimage.cpp | |
parent | 3849e0de268bc8c579769b7770b98a07c2c21d0c (diff) |
Enable passing tests that were skipped on offscreen
grabWindow is now implemented for the offscreen plugin, so a large
number of tests relying on that functionality don't need to be skipped
any longer.
Change-Id: I85bfc9e4b327389055041b6187a54f88d9cf81d2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quickcontrols2/qquickiconimage/tst_qquickiconimage.cpp')
-rw-r--r-- | tests/auto/quickcontrols2/qquickiconimage/tst_qquickiconimage.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/auto/quickcontrols2/qquickiconimage/tst_qquickiconimage.cpp b/tests/auto/quickcontrols2/qquickiconimage/tst_qquickiconimage.cpp index c35f8420f7..8c5c8780c9 100644 --- a/tests/auto/quickcontrols2/qquickiconimage/tst_qquickiconimage.cpp +++ b/tests/auto/quickcontrols2/qquickiconimage/tst_qquickiconimage.cpp @@ -410,9 +410,6 @@ void tst_qquickiconimage::color() { SKIP_IF_DPR_TOO_HIGH(); - if (QGuiApplication::platformName() == QLatin1String("offscreen")) - QSKIP("grabToImage() doesn't work on the \"offscreen\" platform plugin (QTBUG-63185)"); - QQuickView view(testFileUrl("color.qml")); QCOMPARE(view.status(), QQuickView::Ready); view.show(); @@ -468,9 +465,6 @@ void tst_qquickiconimage::fileSelectors() { SKIP_IF_DPR_TOO_HIGH(); - if (QGuiApplication::platformName() == QLatin1String("offscreen")) - QSKIP("grabToImage() doesn't work on the \"offscreen\" platform plugin (QTBUG-63185)"); - QQuickView view; QScopedPointer<QQmlFileSelector> fileSelector(new QQmlFileSelector(view.engine())); fileSelector->setExtraSelectors(QStringList() << "testselector"); @@ -513,9 +507,6 @@ public: // don't crash (QTBUG-63959) void tst_qquickiconimage::imageProvider() { - if (QGuiApplication::platformName() == QLatin1String("offscreen")) - QSKIP("grabToImage() doesn't work on the \"offscreen\" platform plugin (QTBUG-63185)"); - QQuickView view; view.engine()->addImageProvider("provider", new TestImageProvider); view.setSource(testFileUrl("imageProvider.qml")); @@ -545,9 +536,6 @@ void tst_qquickiconimage::imageProvider() */ void tst_qquickiconimage::translucentColors() { - if (QGuiApplication::platformName() == QLatin1String("offscreen")) - QSKIP("grabToImage() doesn't work on the \"offscreen\" platform plugin (QTBUG-63185)"); - // Doesn't reproduce with QQuickView. QQmlApplicationEngine engine; engine.load(testFileUrl("translucentColors.qml")); |