diff --git a/tests/auto/qtdesktop/data/tst_button.qml b/tests/auto/qtdesktop/data/tst_button.qml index 94e627a960d3370686ed26049fc21fac7e07f263..e971c5cc0752558a4c340fea220753b4fd25a754 100644 --- a/tests/auto/qtdesktop/data/tst_button.qml +++ b/tests/auto/qtdesktop/data/tst_button.qml @@ -48,10 +48,6 @@ TestCase { width:400 height:400 - function cleanupTestCase() { - wait(100) //wait for a short while to make sure no leaked textures - } - function test_defaultbutton() { var tmp = Qt.createQmlObject('import QtDesktop 1.0; Button {id: button1}', testCase, ''); compare(tmp.defaultbutton, false); diff --git a/tests/auto/qtdesktop/data/tst_shortcuts.qml b/tests/auto/qtdesktop/data/tst_shortcuts.qml index 2b1ea40e7a7f91b972bd1fb8c050e6a210af358a..522078677d6c308432832eee43df898080dc8b57 100644 --- a/tests/auto/qtdesktop/data/tst_shortcuts.qml +++ b/tests/auto/qtdesktop/data/tst_shortcuts.qml @@ -65,10 +65,6 @@ TestCase { rootObject.forceActiveFocus(); } - function cleanupTestCase() { - wait(100) //wait for a short while to make sure no leaked textures - } - function test_shortcut_data() { return [ { key: Qt.Key_A, modifier: Qt.NoModifier, expected: "a pressed" },