Improve reliability of tst_qqmlcomponent::onDestructionLookup auto test on Windows
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 12 Aug 2013 09:55:53 +0000 (11:55 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 12 Aug 2013 11:29:27 +0000 (13:29 +0200)
commit42dc821dd68cc63aa8300f2678639dbaacda1057
tree4934e5f63f12e40aa750736cdb9eaa88127771af
parent57a70efe4c54bbfc8109933503c45cc43127c6ad
Improve reliability of tst_qqmlcomponent::onDestructionLookup auto test on Windows

The test relies on exact garbage collection, which we can't offer anymore.
But we can use the same tricks as in qqmlecmascript to improve the changes
of a successful collect significantly.

Change-Id: I7b3d7eca7a9bdb551a01a5a3da80549196c45f23
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
tests/auto/qml/qqmlcomponent/data/onDestructionLookup.qml
tests/auto/qml/qqmlcomponent/tst_qqmlcomponent.cpp