diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-06 08:51:53 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-06 09:27:05 (GMT) |
commit | b743da8cff8b72a371214c1959e34d8cf9086aa3 (patch) | |
tree | c046e287098eb686a7db88eab4d491d7eb73c6c5 /tests/auto/qcombobox | |
parent | 52e1c36f13a41883231880fab3f0160b02d3878e (diff) | |
download | Qt-b743da8cff8b72a371214c1959e34d8cf9086aa3.zip Qt-b743da8cff8b72a371214c1959e34d8cf9086aa3.tar.gz Qt-b743da8cff8b72a371214c1959e34d8cf9086aa3.tar.bz2 |
Fixed QComboBox test on slow window manager
Diffstat (limited to 'tests/auto/qcombobox')
-rw-r--r-- | tests/auto/qcombobox/tst_qcombobox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qcombobox/tst_qcombobox.cpp b/tests/auto/qcombobox/tst_qcombobox.cpp index 67c9ac9..bd11fa4 100644 --- a/tests/auto/qcombobox/tst_qcombobox.cpp +++ b/tests/auto/qcombobox/tst_qcombobox.cpp @@ -2092,7 +2092,7 @@ void tst_QComboBox::task190205_setModelAdjustToContents() #endif // box should be resized to the same size as correctBox - QCOMPARE(box.size(), correctBox.size()); + QTRY_COMPARE(box.size(), correctBox.size()); } void tst_QComboBox::task248169_popupWithMinimalSize() @@ -2199,7 +2199,7 @@ void tst_QComboBox::noScrollbar() QVERIFY(!comboBox.view()->horizontalScrollBar()->isVisible()); QVERIFY(!comboBox.view()->verticalScrollBar()->isVisible()); } - + { QTableWidget *table = new QTableWidget(2,2); QComboBox comboBox; |