From 659d80886e32253d230e5a5b407b21aa83654700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 20 Jul 2018 12:56:29 +0200 Subject: tst_qquickwindow::constantUpdatesOnWindow: Verify that window was exposed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3b621254eb8b18e01b023363809c101ce3132f9d Reviewed-by: Simon Hausmann Reviewed-by: Tor Arne Vestbø --- tests/auto/quick/qquickwindow/tst_qquickwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/quick/qquickwindow/tst_qquickwindow.cpp') diff --git a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp index 381da76fa3..e0f1207ebe 100644 --- a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp +++ b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp @@ -547,7 +547,7 @@ void tst_qquickwindow::constantUpdatesOnWindow_data() window.setTitle(QTest::currentTestFunction()); window.setGeometry(100, 100, 300, 200); window.show(); - QTest::qWaitForWindowExposed(&window); + QVERIFY(QTest::qWaitForWindowExposed(&window)); const bool threaded = QQuickWindowPrivate::get(&window)->context->thread() != QGuiApplication::instance()->thread(); if (threaded) { QTest::newRow("blocked, beforeRender") << true << QByteArray(SIGNAL(beforeRendering())); -- cgit v1.2.3