From 8c3b19bc0afe94de49e008e7292a8aeed9cc4cfa Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 18 Aug 2015 13:19:37 +0200 Subject: tst_delaybutton: remove workaround for crash. QTBUG-44664 is fixed now. Change-Id: I0645d4522f093057606b53228e99c1d20668f2d2 Reviewed-by: Gabriel de Dietrich --- tests/auto/extras/data/tst_delaybutton.qml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/tests/auto/extras/data/tst_delaybutton.qml b/tests/auto/extras/data/tst_delaybutton.qml index ee95a09a..6c86ece4 100644 --- a/tests/auto/extras/data/tst_delaybutton.qml +++ b/tests/auto/extras/data/tst_delaybutton.qml @@ -55,8 +55,7 @@ TestCase { verify(button.__style) verify(!button.checked) verify(!button.pressed) - // QTBUG-44664 -// button.destroy() + button.destroy() } SignalSpy { @@ -94,8 +93,7 @@ TestCase { verify(!button.pressed) compare(activationSpy.count, 1) - // QTBUG-44664 -// button.destroy() + button.destroy() } SignalSpy { @@ -115,8 +113,7 @@ TestCase { tryCompare(button, "progress", 1.0) verify(progressSpy.count > 0) - // QTBUG-44664 -// button.destroy() + button.destroy() } SignalSpy { @@ -171,8 +168,7 @@ TestCase { verify(!button.checked) compare(checkSpy.count, checkCount) - // QTBUG-44664 -// button.destroy() + button.destroy() } function test_programmaticCheck() { @@ -189,8 +185,7 @@ TestCase { button.checked = false; compare(button.progress, 0); - // QTBUG-44664 -// button.destroy(); + button.destroy(); } function test_largeText() { @@ -198,7 +193,6 @@ TestCase { var button = Qt.createQmlObject("import QtQuick.Extras 1.4; DelayButton { " + "anchors.centerIn: parent; text: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' }", testcase, ""); verify(button, "DelayButton: failed to create an instance"); - // QTBUG-44664 -// button.destroy(); + button.destroy(); } } -- cgit v1.2.1