diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-10-16 14:14:50 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2014-10-19 13:17:46 +0200 |
commit | 14ea26f708d383831c82cd565f976ed39347f0ba (patch) | |
tree | 7e4817ff0bb38b0d664afd0406db1d72b1e4aa7a | |
parent | ef1027b8242e8e65e15c382d017cd2b75dbf72ff (diff) |
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>
-rw-r--r-- | tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp b/tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp index 1f1777f3b4..f4c267e321 100644 --- a/tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp +++ b/tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp @@ -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" |