tst_QMimeData: test doesn't require QGuiApplication
Makes the test execute faster (not that it's slow in any way) and more importantly gets rid of the QGuiApplication-induced 3rd-party library leaks reported by asan and/or valgrind. Change-Id: I94b505f15b4db577a2807b0b81464e19ce7e7cab Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
ef1027b824
commit
14ea26f708
@ -327,5 +327,5 @@ void tst_QMimeData::setUrls() const
|
||||
QCOMPARE(mimeData.hasText(), false);
|
||||
}
|
||||
|
||||
QTEST_MAIN(tst_QMimeData)
|
||||
QTEST_APPLESS_MAIN(tst_QMimeData)
|
||||
#include "tst_qmimedata.moc"
|
||||
|
Loading…
Reference in New Issue
Block a user