diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-03-16 09:25:08 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-21 21:18:44 +0000 |
commit | 46f66d2b76c9f22d70d7923de3c19d88870700a2 (patch) | |
tree | 29cc42cfe8546e3869ae00b68ca68c7e9b0c900a | |
parent | 33a1f0030c2cc1550df8fa5da0cadb150f7d5e84 (diff) |
DebugTranslationService: Do not show a window in the test
The test works fine with the window hidden. Trying to show it gives
problems in the CI. We also want to avoid showing windows in non-GUI
tests as far as possible.
Fixes: QTBUG-101738
Change-Id: I206f74f940e6ba7ac6346c85459b896387ab85a5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
(cherry picked from commit 08d0fb39b9872650e1395d8d6c0289bc119027c8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp b/tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp index ddb9657000..6d9be9deab 100644 --- a/tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp +++ b/tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp @@ -72,8 +72,6 @@ private slots: m_view.setSource((testFileUrl(QMLFILE))); QTRY_VERIFY2(m_view.status() == QQuickView::Ready, "Failed to load QML file"); - m_view.show(); - QVERIFY(QTest::qWaitForWindowActive(&m_view)); initQtHooks(); QVERIFY(hooks->qt_qmlDebugEnableService(qPrintable(QQmlDebugTranslationServiceImpl::s_key))); } |