on xenial help sign in
assert we are actually testint contentHeight == height case
commit2a8a13e1d93fcb2821c9a7d7c508ccb2dba77fc4 authorAlbert Astals <albert.astals@canonical.com> dateWed 25 Sep 2013, 10:29 (13 years ago) parent17b1d02
1 file changed+2
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+2
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+2
@@ -1673,6 +1673,8 @@ private Q_SLOTS:
16731673 verifyItem(0, 50., 392., false);
16741674 verifyItem(1, 442., 100., false);
16751675
1676+ QCOMPARE(lvwph->contentHeight(), lvwph->height());
1677+
16761678 QTest::mousePress(view, Qt::LeftButton, Qt::NoModifier, QPoint(0, 0));
16771679 QTest::qWait(100);
16781680 QTest::mouseMove(view, QPoint(0, 5));