From 3bc8dd514abd6e737c557f3987315401ebf8d452 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 25 Jul 2018 17:54:09 +0200 Subject: Ensure that we shutdown all resources before existing the test. A lingering resource will also block the test from exiting. --- views/accounts/tests/tst_accountsview.qml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'views/accounts') diff --git a/views/accounts/tests/tst_accountsview.qml b/views/accounts/tests/tst_accountsview.qml index 8d7bc29d..468a0716 100644 --- a/views/accounts/tests/tst_accountsview.qml +++ b/views/accounts/tests/tst_accountsview.qml @@ -22,17 +22,11 @@ import QtTest 1.0 import org.kube.test 1.0 import "../qml" -TestCase { +ViewTestCase { id: testCase - width: 400 - height: 400 name: "AccountsView" when: windowShown - function cleanup() { - TestStore.shutdownResources(); - } - function visitChildren(item) { console.warn(item) for (var i = 0; i < item.children.length; i++) { -- cgit v1.2.3