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/inboxcrusher/tests/tst_inboxcrusher.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'views/inboxcrusher') diff --git a/views/inboxcrusher/tests/tst_inboxcrusher.qml b/views/inboxcrusher/tests/tst_inboxcrusher.qml index dba4603a..3e756569 100644 --- a/views/inboxcrusher/tests/tst_inboxcrusher.qml +++ b/views/inboxcrusher/tests/tst_inboxcrusher.qml @@ -18,10 +18,10 @@ */ import QtQuick 2.7 -import QtTest 1.0 +import org.kube.test 1.0 import "../qml" -TestCase { +ViewTestCase { width: 400 height: 400 name: "InboxCrusher" @@ -33,4 +33,5 @@ TestCase { function test_start() { verify(view) } + } -- cgit v1.2.3