summaryrefslogtreecommitdiffstats
path: root/tests/auto/qaccessibility
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-03-19 10:01:23 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-03-19 10:01:23 (GMT)
commit3b45cff46eefcbe341f2e1adc3e864229c217226 (patch)
treed319bd3d0d5e3c398e8e43a4e3584d62aa8fe569 /tests/auto/qaccessibility
parent13bccd4ade76dd8a9c1cc067cc2b8da69c11def2 (diff)
downloadQt-3b45cff46eefcbe341f2e1adc3e864229c217226.zip
Qt-3b45cff46eefcbe341f2e1adc3e864229c217226.tar.gz
Qt-3b45cff46eefcbe341f2e1adc3e864229c217226.tar.bz2
stabilize tst_QAccessibility::comboBoxTest
Diffstat (limited to 'tests/auto/qaccessibility')
-rw-r--r--tests/auto/qaccessibility/tst_qaccessibility.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qaccessibility/tst_qaccessibility.cpp b/tests/auto/qaccessibility/tst_qaccessibility.cpp
index 133cb33..e5a332a 100644
--- a/tests/auto/qaccessibility/tst_qaccessibility.cpp
+++ b/tests/auto/qaccessibility/tst_qaccessibility.cpp
@@ -3923,9 +3923,8 @@ void tst_QAccessibility::comboBoxTest()
acc = QAccessible::queryAccessibleInterface(cb);
- QRect accRect = acc->rect(0);
for (int i = 1; i < acc->childCount(); ++i) {
- QVERIFY(accRect.contains(acc->rect(i)));
+ QTRY_VERIFY(acc->rect(0).contains(acc->rect(i)));
}
QCOMPARE(acc->doAction(QAccessible::Press, 2), true);
QTest::qWait(400);