projects
/
situare
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into new_panels_with_context_buttons
[situare]
/
tests
/
ui
/
friendlistitem
/
testfriendlistitem.cpp
diff --git
a/tests/ui/friendlistitem/testfriendlistitem.cpp
b/tests/ui/friendlistitem/testfriendlistitem.cpp
index
216c579
..
6b8a887
100644
(file)
--- a/
tests/ui/friendlistitem/testfriendlistitem.cpp
+++ b/
tests/ui/friendlistitem/testfriendlistitem.cpp
@@
-103,12
+103,7
@@
void TestFriendListItem::toggleSelection()
QVERIFY(subItems);
QCOMPARE(subItems->count(), 3);
QVERIFY(subItems);
QCOMPARE(subItems->count(), 3);
- QCOMPARE(subItems->at(0)->textRect(), QRect(0, 0, 250, 66));
- QCOMPARE(subItems->at(1)->textRect(), QRect(0, 0, 250, 22));
- QCOMPARE(subItems->at(2)->textRect(), QRect(0, 0, 250, 44));
-
friendListItem->toggleSelection();
friendListItem->toggleSelection();
- QCOMPARE(friendListItem->data(ITEM_SIZE_HINT_INDEX).toSize(), QSize(368, 142 + 3 * 22));
QCOMPARE(friendListItem->data(ITEM_EXPANDED_INDEX).toBool(), true);
friendListItem->toggleSelection();
QCOMPARE(friendListItem->data(ITEM_EXPANDED_INDEX).toBool(), true);
friendListItem->toggleSelection();