summaryrefslogtreecommitdiff
path: root/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-06-10 12:21:30 +0200
committerEike Ziller <eike.ziller@qt.io>2022-06-13 06:06:44 +0000
commit737877984d7a2c2570daf0adf8015208944cc129 (patch)
tree4614ef0c491c6aea9081199f4ea2178c929e4634 /tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp
parente2e5d67bc3880146e722bf6b9d10bbd5c9fd5776 (diff)
downloadqt-creator-737877984d7a2c2570daf0adf8015208944cc129.tar.gz
Use QTEST_GUILESS_MAIN where applicable
instead of QTEST_MAIN. Reduces the initialization that is done by the Qt test applications, and can also reduce interference with normal OS operations like the current window loosing focus. Change-Id: If88f289281aa1c8703ac7d4dbe0799d067c16588 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp')
-rw-r--r--tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp b/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp
index d160768c5f..142b8ef4db 100644
--- a/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp
+++ b/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp
@@ -319,6 +319,6 @@ void tst_PointerAlgorithm::takeOrDefault()
}
}
-QTEST_MAIN(tst_PointerAlgorithm)
+QTEST_GUILESS_MAIN(tst_PointerAlgorithm)
#include "tst_pointeralgorithm.moc"