diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-12-22 13:21:28 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-12-22 14:29:38 +0000 |
commit | c996c22d3b24a56ab93f9f1f6fdf5347b16c0b40 (patch) | |
tree | 706b5a27d14f909e62d866b386a486646db3997e /tests | |
parent | f9e62a1c8abdd59272744b760f93377764bbcaaa (diff) |
tst_customization: comment out Tumbler for now
Due to unclear auto test failurs, Tumbler does not yet have deferred
execution enabled for its content item. Because of this, the test is
getting full of skips and expect fail's for Tumbler. Just leave it out
for now and restore later when Tumbler is fixed.
Change-Id: Iab9465e002572d15e5bda6dbd53b71594f593703
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/customization/tst_customization.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/auto/customization/tst_customization.cpp b/tests/auto/customization/tst_customization.cpp index 8dd50f65..24635a61 100644 --- a/tests/auto/customization/tst_customization.cpp +++ b/tests/auto/customization/tst_customization.cpp @@ -101,7 +101,7 @@ static const ControlInfo ControlInfos[] = { { "ToolButton", QStringList() << "background" << "contentItem" }, { "ToolSeparator", QStringList() << "background" << "contentItem" }, { "ToolTip", QStringList() << "background" << "contentItem" }, - { "Tumbler", QStringList() << "background" << "contentItem" } + // { "Tumbler", QStringList() << "background" << "contentItem" } ### TODO: fix and enable deferred execution }; class tst_customization : public QQmlDataTest @@ -291,9 +291,6 @@ void tst_customization::creation() QFETCH(QString, type); QFETCH(QStringList, delegates); - if (!qstrcmp(QTest::currentDataTag(), "empty:Tumbler")) - QSKIP("TODO: fix crash with contentItem-less Tumbler"); - QQuickStyle::setStyle(testFile("styles/" + style)); QString error; @@ -329,7 +326,6 @@ void tst_customization::creation() } QEXPECT_FAIL("identified:ComboBox", "ComboBox::popup with an ID is created at construction time", Continue); - QEXPECT_FAIL("override:Tumbler", "TODO", Abort); QVERIFY2(qt_createdQObjects()->isEmpty(), qPrintable("unexpectedly created: " + qt_createdQObjects->join(", "))); QVERIFY2(qt_destroyedQObjects()->isEmpty(), qPrintable("unexpectedly destroyed: " + qt_destroyedQObjects->join(", ") + " were unexpectedly destroyed")); @@ -396,10 +392,8 @@ void tst_customization::override() // delegates, no item should get un-parented during the creation process. An item being // unparented means that a delegate got destroyed, so there must be an internal ID in one // of the delegates in the tested style. - if (!identify && nonDeferred.isEmpty()) { - QEXPECT_FAIL("Default:Tumbler", "TODO: remove internal ID", Continue); + if (!identify && nonDeferred.isEmpty()) QCOMPARE(qt_unparentedItemCount, 0); - } // <control>-<style>-override QString controlName = type.toLower() + "-" + style + "-override"; @@ -432,7 +426,6 @@ void tst_customization::override() QEXPECT_FAIL("identified:ComboBox", "ComboBox::popup with an ID is created at construction time", Continue); QEXPECT_FAIL("overidentified:ComboBox", "ComboBox::popup with an ID is created at construction time", Continue); - QEXPECT_FAIL("simple:Tumbler", "TODO: remove internal ID", Abort); QVERIFY2(qt_createdQObjects()->isEmpty(), qPrintable("unexpectedly created: " + qt_createdQObjects->join(", "))); if (!nonDeferred.isEmpty()) { |