summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-08-18 13:19:37 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-08-27 11:49:56 +0000
commit8c3b19bc0afe94de49e008e7292a8aeed9cc4cfa (patch)
treed7d0d50437fa20d8cd270c47fbad8c665f6c3c30
parente660a4cbddc046802af8ef63fe40af45b7d80d9c (diff)
downloadqtquickcontrols-8c3b19bc0afe94de49e008e7292a8aeed9cc4cfa.tar.gz
tst_delaybutton: remove workaround for crash.
QTBUG-44664 is fixed now. Change-Id: I0645d4522f093057606b53228e99c1d20668f2d2 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
-rw-r--r--tests/auto/extras/data/tst_delaybutton.qml18
1 files 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();
}
}