diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-08 23:28:52 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-08 23:28:52 +0100 |
commit | ee4db9ecf6150c7d002bc9a356cadf178cd5cb74 (patch) | |
tree | 8cf8c03374eac68b7164fb56d0da5420241a54dd /tests/modelinteractivitytest.cpp | |
parent | 5fb9a6a9024eaf7b94f20eefcffce928adeaed78 (diff) | |
download | sink-ee4db9ecf6150c7d002bc9a356cadf178cd5cb74.tar.gz sink-ee4db9ecf6150c7d002bc9a356cadf178cd5cb74.zip |
Avoid shutdowns where we can.
Diffstat (limited to 'tests/modelinteractivitytest.cpp')
-rw-r--r-- | tests/modelinteractivitytest.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/modelinteractivitytest.cpp b/tests/modelinteractivitytest.cpp index 14c9fd0..7b7d131 100644 --- a/tests/modelinteractivitytest.cpp +++ b/tests/modelinteractivitytest.cpp | |||
@@ -46,15 +46,13 @@ private Q_SLOTS: | |||
46 | void initTestCase() | 46 | void initTestCase() |
47 | { | 47 | { |
48 | Sink::Log::setDebugOutputLevel(Sink::Log::Warning); | 48 | Sink::Log::setDebugOutputLevel(Sink::Log::Warning); |
49 | DummyResource::removeFromDisk("org.kde.dummy.instance1"); | ||
50 | ResourceConfig::addResource("org.kde.dummy.instance1", "org.kde.dummy"); | 49 | ResourceConfig::addResource("org.kde.dummy.instance1", "org.kde.dummy"); |
50 | Sink::Store::removeDataFromDisk(QByteArray("org.kde.dummy.instance1")).exec().waitForFinished(); | ||
51 | } | 51 | } |
52 | 52 | ||
53 | void cleanup() | 53 | void cleanup() |
54 | { | 54 | { |
55 | Sink::Store::shutdown(QByteArray("org.kde.dummy.instance1")).exec().waitForFinished(); | 55 | Sink::Store::removeDataFromDisk(QByteArray("org.kde.dummy.instance1")).exec().waitForFinished(); |
56 | DummyResource::removeFromDisk("org.kde.dummy.instance1"); | ||
57 | Sink::Store::start(QByteArray("org.kde.dummy.instance1")).exec().waitForFinished(); | ||
58 | } | 56 | } |
59 | 57 | ||
60 | void init() | 58 | void init() |