diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-03-19 10:01:23 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-03-19 10:01:23 (GMT) |
commit | 3b45cff46eefcbe341f2e1adc3e864229c217226 (patch) | |
tree | d319bd3d0d5e3c398e8e43a4e3584d62aa8fe569 /tests | |
parent | 13bccd4ade76dd8a9c1cc067cc2b8da69c11def2 (diff) | |
download | Qt-3b45cff46eefcbe341f2e1adc3e864229c217226.zip Qt-3b45cff46eefcbe341f2e1adc3e864229c217226.tar.gz Qt-3b45cff46eefcbe341f2e1adc3e864229c217226.tar.bz2 |
stabilize tst_QAccessibility::comboBoxTest
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qaccessibility/tst_qaccessibility.cpp | 3 |
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); |