diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-25 17:54:09 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-25 17:54:09 +0200 |
commit | 3bc8dd514abd6e737c557f3987315401ebf8d452 (patch) | |
tree | 5daafe27dab735a607e1a2e36f83aa8023a9ab12 /views/inboxcrusher/tests/tst_inboxcrusher.qml | |
parent | 5892cf6b29c62cc632e94b22624a0bbbe6c21c54 (diff) | |
download | kube-3bc8dd514abd6e737c557f3987315401ebf8d452.tar.gz kube-3bc8dd514abd6e737c557f3987315401ebf8d452.zip |
Ensure that we shutdown all resources before existing the test.
A lingering resource will also block the test from exiting.
Diffstat (limited to 'views/inboxcrusher/tests/tst_inboxcrusher.qml')
-rw-r--r-- | views/inboxcrusher/tests/tst_inboxcrusher.qml | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | import QtQuick 2.7 | 20 | import QtQuick 2.7 |
21 | import QtTest 1.0 | 21 | import org.kube.test 1.0 |
22 | import "../qml" | 22 | import "../qml" |
23 | 23 | ||
24 | TestCase { | 24 | ViewTestCase { |
25 | width: 400 | 25 | width: 400 |
26 | height: 400 | 26 | height: 400 |
27 | name: "InboxCrusher" | 27 | name: "InboxCrusher" |
@@ -33,4 +33,5 @@ TestCase { | |||
33 | function test_start() { | 33 | function test_start() { |
34 | verify(view) | 34 | verify(view) |
35 | } | 35 | } |
36 | |||
36 | } | 37 | } |