diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-09-30 17:00:24 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-10-02 16:28:48 +0200 |
commit | 10e6c7edc7aa5ed563ae55602c5f6aef9846cfce (patch) | |
tree | d3c0859519a54bc77a67d81d148b2f3786c2303d | |
parent | cb173de493b3b70bad88e138bf1fe2c1ef7990d2 (diff) |
Remove obsolete autotest case
...that would fail (threaded render loop only) - if the CI would run
these tests, that is. What this case relies on went away from the
threaded loop weeks ago
Change-Id: Ia6087241d497e945a10a8f22d73468e557f251a7
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
-rw-r--r-- | tests/auto/quick/qquickwindow/tst_qquickwindow.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp index 43dfcdb8a4..a92488105e 100644 --- a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp +++ b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp @@ -411,7 +411,6 @@ private slots: void mouseFiltering(); void headless(); void destroyShowWithoutHide(); - void noUpdateWhenNothingChanges(); void touchEvent_basic(); void touchEvent_propagation(); @@ -1676,33 +1675,6 @@ void tst_qquickwindow::destroyShowWithoutHide() qPrintable(errorMessage)); } -void tst_qquickwindow::noUpdateWhenNothingChanges() -{ - QQuickWindow window; - window.setTitle(QTest::currentTestFunction()); - window.setGeometry(100, 100, 300, 200); - - QQuickRectangle rect(window.contentItem()); - - window.showNormal(); - QVERIFY(QTest::qWaitForWindowExposed(&window)); - // Many platforms are broken in the sense that that they follow up - // the initial expose with a second expose or more. Let these go - // through before we let the test continue. - QTest::qWait(100); - if (QQuickWindowPrivate::get(&window)->context->thread() == QGuiApplication::instance()->thread()) { - QSKIP("Only threaded renderloop implements this feature"); - return; - } - - QSignalSpy spy(&window, SIGNAL(frameSwapped())); - rect.update(); - // Wait a while and verify that no more frameSwapped come our way. - QTest::qWait(100); - - QCOMPARE(spy.size(), 0); -} - void tst_qquickwindow::focusObject() { QQmlEngine engine; |