forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -1154,5 +1154,5 @@ void tst_CppSelectionChanger::testWholeDocumentSelection()
|
||||
QVERIFY(!result);
|
||||
}
|
||||
|
||||
QTEST_MAIN(tst_CppSelectionChanger)
|
||||
QTEST_GUILESS_MAIN(tst_CppSelectionChanger)
|
||||
#include "tst_cppselectionchangertest.moc"
|
||||
|
||||
Reference in New Issue
Block a user