diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-07-28 13:11:21 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-07-28 13:12:29 (GMT) |
commit | 14eee3f6bb93f7b31f07c019b6a5262f8d2a3ecf (patch) | |
tree | 20b732d00ae1d7a7a0d4298a855f635a52960604 /tests/auto/qlistview/tst_qlistview.cpp | |
parent | 26b46c24f4b8dcac6f55cb01b53187be53389e4b (diff) | |
download | Qt-14eee3f6bb93f7b31f07c019b6a5262f8d2a3ecf.zip Qt-14eee3f6bb93f7b31f07c019b6a5262f8d2a3ecf.tar.gz Qt-14eee3f6bb93f7b31f07c019b6a5262f8d2a3ecf.tar.bz2 |
tst_qlistview: use QTRY_COMPARE
Diffstat (limited to 'tests/auto/qlistview/tst_qlistview.cpp')
-rw-r--r-- | tests/auto/qlistview/tst_qlistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qlistview/tst_qlistview.cpp b/tests/auto/qlistview/tst_qlistview.cpp index 330f803..5112ee0 100644 --- a/tests/auto/qlistview/tst_qlistview.cpp +++ b/tests/auto/qlistview/tst_qlistview.cpp @@ -1653,8 +1653,8 @@ void tst_QListView::task254449_draggingItemToNegativeCoordinates() //we'll make sure the item is repainted delegate.numPaints = 0; QApplication::processEvents(); + QTRY_COMPARE(delegate.numPaints, 1); QCOMPARE(list.visualRect(index).topLeft(), topLeft); - QCOMPARE(delegate.numPaints, 1); } |