ut_qtcontacts_common: Help valgrind to detect leaks even with deferred delete.
authorMurray Cumming <murrayc@murrayc.com>
Fri, 11 Jun 2010 11:00:49 +0000 (13:00 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Thu, 17 Jun 2010 07:40:39 +0000 (09:40 +0200)
commit388951e43c138d4b628ac7606361844fdfe94d7c
tree877e00b3ce7f511ebd3c6e57ab4ef3a927c4b7cd
parent1c22c32515e1a6373d04c459a5ec9bac4f7c9f55
ut_qtcontacts_common: Help valgrind to detect leaks even with deferred delete.

RevBy: people-review
Details:
* tests/ut_qtcontacts_common/ut_qtcontacts_common.cpp: Process all
pending events, including DeferredDelete, to really delete
everything to stop valgrind from reporting false leaks, because
QTest does not do this.
tests/ut_qtcontacts_common/ut_qtcontacts_common.cpp