diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-06-05 10:28:16 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2020-06-17 14:47:52 +0000 |
commit | 969a724352dfe3250efb871c70f9482d7b780165 (patch) | |
tree | 06b27357c617e90804b1f3644bacb3775fd807fe /tests/auto/cursor | |
parent | 602bffd346f0427e0ee3a928af5c404d806ef3b6 (diff) |
QQuickApplicationHelper: don't use QTest macros outside test functions
This has no effect.
Task-number: QTBUG-66320
Pick-to: 5.15 5.12
Change-Id: Ie6efb26243178c4044ac0bc721c21ad89769c982
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/cursor')
-rw-r--r-- | tests/auto/cursor/tst_cursor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/cursor/tst_cursor.cpp b/tests/auto/cursor/tst_cursor.cpp index 2491a972..ed5db5b1 100644 --- a/tests/auto/cursor/tst_cursor.cpp +++ b/tests/auto/cursor/tst_cursor.cpp @@ -182,6 +182,7 @@ void tst_cursor::scrollBar() // Ensure that the mouse cursor has the correct shape when over a scrollbar // which is itself over a text area with IBeamCursor. QQuickApplicationHelper helper(this, QStringLiteral("scrollbar.qml")); + QVERIFY2(helper.ready, helper.failureMessage()); QQuickApplicationWindow *window = helper.appWindow; window->show(); QVERIFY(QTest::qWaitForWindowActive(window)); |