qquicktest: Wait for the view to finish loading
authorDaiwei Li <daiweili@suitabletech.com>
Fri, 23 Jan 2015 22:42:33 +0000 (14:42 -0800)
committerDaiwei Li <daiweili@suitabletech.com>
Tue, 3 Feb 2015 02:04:40 +0000 (02:04 +0000)
commit81b876b7177cf0d55b7c009342e501bfa900175c
tree11546fa5d7e25e066bc03a72f7058c8c7d2bc628
parent5df747fc5300f9c7e1da0fb86bab68209c921c9c
qquicktest: Wait for the view to finish loading

Tests can be skipped if the view is still loading by the time we get
to the end of the loop. There is a case where the window is active
but the QML hasn't been loaded.

Change-Id: I4e8346ee547653810458d042925d673748c1fec8
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
src/qmltest/quicktest.cpp