Testlib: Fix qml objects not deleted in TestCase
authorCaroline Chao <caroline.chao@digia.com>
Wed, 10 Apr 2013 09:32:10 +0000 (11:32 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 11 Apr 2013 14:09:10 +0000 (16:09 +0200)
commit7fe2b4a4d9b2c082d08c9380bbcce46ed7527585
treefe6d4dd9c6ec513fa6dca50e935629ef3c5cee73
parent818b6af3a643dcbfc7bb2c5a40eae8f5cb6900b6
Testlib: Fix qml objects not deleted in TestCase

After destroy() been called in the test function.

wait(0) is used to call processEvents().

Task-number: QTBUG-30523

Change-Id: I208f213e2de6b530dd0965b301d046aee0182d9b
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
src/imports/testlib/TestCase.qml
tests/auto/qmltest/selftests/tst_destroy.qml [new file with mode: 0644]