diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-07 16:01:59 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-07 16:01:59 +0200 |
commit | 082029f3dedadaceef1524fec214e053b0a26d10 (patch) | |
tree | ae0013258c3b889a51be084850970fb5ff8eda6d /tests/inspectiontest.cpp | |
parent | e62f6ba8ec1c83196f78044b5dd905eeb80d4707 (diff) | |
download | sink-082029f3dedadaceef1524fec214e053b0a26d10.tar.gz sink-082029f3dedadaceef1524fec214e053b0a26d10.zip |
These jobs now work reliably.
Diffstat (limited to 'tests/inspectiontest.cpp')
-rw-r--r-- | tests/inspectiontest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/inspectiontest.cpp b/tests/inspectiontest.cpp index 3e8a103..2879801 100644 --- a/tests/inspectiontest.cpp +++ b/tests/inspectiontest.cpp | |||
@@ -7,6 +7,7 @@ | |||
7 | #include "resourcecontrol.h" | 7 | #include "resourcecontrol.h" |
8 | #include "resourceconfig.h" | 8 | #include "resourceconfig.h" |
9 | #include "log.h" | 9 | #include "log.h" |
10 | #include "testutils.h" | ||
10 | 11 | ||
11 | /** | 12 | /** |
12 | * Test of inspection system using the dummy resource. | 13 | * Test of inspection system using the dummy resource. |
@@ -22,7 +23,7 @@ private slots: | |||
22 | auto factory = Sink::ResourceFactory::load("sink.dummy"); | 23 | auto factory = Sink::ResourceFactory::load("sink.dummy"); |
23 | QVERIFY(factory); | 24 | QVERIFY(factory); |
24 | ResourceConfig::addResource("sink.dummy.instance1", "sink.dummy"); | 25 | ResourceConfig::addResource("sink.dummy.instance1", "sink.dummy"); |
25 | Sink::Store::removeDataFromDisk(QByteArray("sink.dummy.instance1")).exec().waitForFinished(); | 26 | VERIFYEXEC(Sink::Store::removeDataFromDisk(QByteArray("sink.dummy.instance1"))); |
26 | } | 27 | } |
27 | 28 | ||
28 | void testInspection_data() | 29 | void testInspection_data() |