on xenial help sign in
Skip unstable LVWPH tests.
commitfca47802e25bf2713181fed477a09128f5e051f2 authorMichał Sawicz <michal.sawicz@canonical.com> dateMon 3 Mar 2014, 10:58 (13 years ago) parent4d2ac0d
2 files changed+6−5
tests/plugins/DashViews/listviewwithpageheadertest.cpp+2−2 tests/plugins/DashViews/listviewwithpageheadertestsection.cpp+4−3
tests/plugins/DashViews/listviewwithpageheadertest.cpp+2−2
@@ -1281,9 +1281,8 @@ private Q_SLOTS:
12811281
12821282 void testShowHeaderHalfShown()
12831283 {
1284−#if (QT_VERSION < QT_VERSION_CHECK(5, 1, 0))
12851284 QSKIP("This test is extremely unstable in 5.0.x");
1286−#endif
1285+
12871286 changeContentY(20);
12881287
12891288 QTRY_COMPARE(lvwph->m_visibleItems.count(), 4);
@@ -1851,6 +1850,7 @@ private Q_SLOTS:
18511850
18521851 void testHeaderPositionBug1240118()
18531852 {
1853+ QSKIP("This test is unstable.");
18541854 scrollToBottom();
18551855 lvwph->showHeader();
18561856 QTRY_VERIFY(!lvwph->m_contentYAnimation->isRunning());
tests/plugins/DashViews/listviewwithpageheadertestsection.cpp+4−3
@@ -1486,9 +1486,8 @@ private Q_SLOTS:
14861486
14871487 void testShowHeaderHalfShown()
14881488 {
1489−#if (QT_VERSION < QT_VERSION_CHECK(5, 1, 0))
1490− QSKIP("This test is extremely unstable in 5.0.x");
1491−#endif
1489+ QSKIP("This test is extremely unstable.");
1490+
14921491 changeContentY(20);
14931492
14941493 QTRY_COMPARE(lvwph->m_visibleItems.count(), 3);
@@ -2096,6 +2095,8 @@ private Q_SLOTS:
20962095
20972096 void testDownAndUp()
20982097 {
2098+ QSKIP("This test is unstable.");
2099+
20992100 QMetaObject::invokeMethod(model, "removeItems", Q_ARG(QVariant, 1), Q_ARG(QVariant, 5));
21002101
21012102 QTRY_COMPARE(lvwph->m_visibleItems.count(), 1);