summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/controls/data/tst_tableview.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_tableview.qml b/tests/auto/controls/data/tst_tableview.qml
index 475d2dd9f..cd83ef3d6 100644
--- a/tests/auto/controls/data/tst_tableview.qml
+++ b/tests/auto/controls/data/tst_tableview.qml
@@ -71,6 +71,7 @@ TestCase {
var label = findAChild(table.currentRowItem, "label")
verify(label !== undefined)
compare(label.text, data.expected.toString());
+ table.destroy();
}
function test_usingcppqobjectmodel() {
@@ -89,6 +90,7 @@ TestCase {
var label = findAChild(table.currentRowItem, "label")
verify(label !== undefined)
compare(label.text, valuefrommodel.toString());
+ table.destroy();
}
function test_usingcppqabstractitemmodel() {
@@ -110,6 +112,7 @@ TestCase {
var label = findAChild(table.currentRowItem, "label")
verify(label !== undefined)
compare(label.text, valuefrommodel.toString())
+ table.destroy();
}
function test_usingcpplistmodel_data() {
@@ -134,6 +137,7 @@ TestCase {
var label = findAChild(table.currentRowItem, "label")
verify(label !== undefined)
compare(label.text, data.expected.toString());
+ table.destroy();
}
// In TableView, drawn text = table.currentRowItem.children[1].children[1].itemAt(0).children[0].children[0].text