Make tst_qqmlincubator::chainedAsynchronousIfNested more robust
authorSimon Hausmann <simon.hausmann@digia.com>
Wed, 5 Mar 2014 09:25:02 +0000 (10:25 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 5 Mar 2014 14:01:07 +0000 (15:01 +0100)
commita7269f0b343e0c0a1b0ec774c5abc57f347d5c77
treedd1319aebb02d1e5456a4cc5b4a97cc6c53d0e97
parent247f6a34d161f10c4f6d5d516b8bfb7043ca78a2
Make tst_qqmlincubator::chainedAsynchronousIfNested more robust

Don't rely on the exact number of instructions executed in the VME to
determine the loading state of the incubator. With the simpler object
creator that's not based on instructions we might end up creating objects
in less steps, so make the test work with both.

Change-Id: If8a3628cac97251036c9b2cd8f26e75eca1d39ed
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
tests/auto/qml/qqmlincubator/tst_qqmlincubator.cpp