diff options
author | Janne Anttila <janne.anttila@digia.com> | 2012-10-19 09:57:30 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-19 13:25:32 +0200 |
commit | d6f5e77800d450422b740f9da751b072f8bbb25c (patch) | |
tree | f172fc065ffc3e1c5bb75c3db0c27fa29b10aec6 /src/declarative/util/qdeclarativetransition_p.h | |
parent | d6d2074ffedd47561a5ca4afe48a7ed816d4e595 (diff) |
Change qtdeclartive tst_examples autotest to use qWaitForWindowExposed.
The QtDeclartive tst_examples autotest has been flaky. After some
investigation I found that it has been using qWaitForWindowActive,
which basically means that window itself or it's child has taken focus.
When running tst_examples locally I found that some tested QML files
stay on screen for maximum time given for qWaitForWindowActive.
This probably happens because not all QML demos take focus. From Git
logs I also found that test case intially used qWaitForWindowShown
(15e48b7387ae302a1b07a57b8374b097dc9c96a4), but that was changed to
qWaitForWindowActive when qWaitForWindowShown was deprecated. Based on
documentation qWaitForWindowExposed should be used instead of
qWaitForWindowShown.
-->
Switch qWaitForWindowActive to qWaitForWindowExposed to decrease
execution time of tst_examples in CI system and make tests to pass more
consistently.
Change-Id: Id859b377e577c44e85216a5acb51e69fe9659699
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/declarative/util/qdeclarativetransition_p.h')
0 files changed, 0 insertions, 0 deletions