X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=tests%2Fui%2Ffriendlistitem%2Ftestfriendlistitem.cpp;fp=tests%2Fui%2Ffriendlistitem%2Ftestfriendlistitem.cpp;h=6b8a887c8055806a9b13e84337c8fbe56d1010f9;hb=704b276ec6cb68be3fc8f7d2e0df7385d2824eeb;hp=216c5799eb64cabba471d5bcdb02b4f90361c4f0;hpb=c107835d34ec96dc0c3b4efaf829f038a04d1429;p=situare diff --git a/tests/ui/friendlistitem/testfriendlistitem.cpp b/tests/ui/friendlistitem/testfriendlistitem.cpp index 216c579..6b8a887 100644 --- 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); - 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(); - QCOMPARE(friendListItem->data(ITEM_SIZE_HINT_INDEX).toSize(), QSize(368, 142 + 3 * 22)); QCOMPARE(friendListItem->data(ITEM_EXPANDED_INDEX).toBool(), true); friendListItem->toggleSelection();