Stabilize tst_qabstractitemview
authorMarc Mutz <marc.mutz@kdab.com>
Tue, 10 Dec 2013 17:30:08 +0000 (18:30 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 11 Dec 2013 08:55:39 +0000 (09:55 +0100)
commit7fef5fe2932401294dea8edac7a64f4e5864c98f
tree976d79153c03c04d4ab2cd497605eb7f1e59e5f0
parent2f284d3632cb786446b0b95bf30afdaaf2c1a7ff
Stabilize tst_qabstractitemview

Attempt to fix

 FAIL! : tst_QAbstractItemView::task200665_itemEntered() Compared values are not the same
    Actual (spy.count()): 0
    Expected (1) : 1
    Loc: [tst_qabstractitemview.cpp(1292)]

which might have been introduced by removing the absolute qWait(200) in favor
of qWaitForWindowExposed() in afe8e368, so trying to compensate with a
QTRY_COMPARE.

Change-Id: Id437acd810b54e005daaf66ffffd4dd586075ab6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
tests/auto/widgets/itemviews/qabstractitemview/tst_qabstractitemview.cpp