on xenial help sign in
assert we are actually testint contentHeight == height case
2a8a13eAlbert Astals
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+2
@@ -1673,6 +1673,8 @@ private Q_SLOTS:
1673 verifyItem(0, 50., 392., false);
1673 verifyItem(0, 50., 392., false);
1674 verifyItem(1, 442., 100., false);
1674 verifyItem(1, 442., 100., false);
1675
1675
1676+ QCOMPARE(lvwph->contentHeight(), lvwph->height());
1677+
1676 QTest::mousePress(view, Qt::LeftButton, Qt::NoModifier, QPoint(0, 0));
1678 QTest::mousePress(view, Qt::LeftButton, Qt::NoModifier, QPoint(0, 0));
1677 QTest::qWait(100);
1679 QTest::qWait(100);
1678 QTest::mouseMove(view, QPoint(0, 5));
1680 QTest::mouseMove(view, QPoint(0, 5));